private static class RepetitionInfoParameterResolver.DefaultRepetitionInfo extends java.lang.Object implements RepetitionInfo
| Modifier and Type | Field and Description |
|---|---|
private int |
currentRepetition |
private int |
totalRepetitions |
| Constructor and Description |
|---|
DefaultRepetitionInfo(int currentRepetition,
int totalRepetitions) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentRepetition()
Get the current repetition of the corresponding
@RepeatedTest method. |
int |
getTotalRepetitions()
Get the total number of repetitions of the corresponding
@RepeatedTest method. |
java.lang.String |
toString() |
private final int currentRepetition
private final int totalRepetitions
DefaultRepetitionInfo(int currentRepetition,
int totalRepetitions)
public int getCurrentRepetition()
RepetitionInfo@RepeatedTest method.getCurrentRepetition in interface RepetitionInfopublic int getTotalRepetitions()
RepetitionInfo@RepeatedTest method.getTotalRepetitions in interface RepetitionInfoRepeatedTest.value()public java.lang.String toString()
toString in class java.lang.Object