Class RepetitionInfoParameterResolver.DefaultRepetitionInfo
- java.lang.Object
-
- org.junit.jupiter.engine.extension.RepetitionInfoParameterResolver.DefaultRepetitionInfo
-
- All Implemented Interfaces:
RepetitionInfo
- Enclosing class:
- RepetitionInfoParameterResolver
private static class RepetitionInfoParameterResolver.DefaultRepetitionInfo extends java.lang.Object implements RepetitionInfo
-
-
Field Summary
Fields Modifier and Type Field Description private intcurrentRepetitionprivate inttotalRepetitions
-
Constructor Summary
Constructors Constructor Description DefaultRepetitionInfo(int currentRepetition, int totalRepetitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentRepetition()Get the current repetition of the corresponding@RepeatedTestmethod.intgetTotalRepetitions()Get the total number of repetitions of the corresponding@RepeatedTestmethod.java.lang.StringtoString()
-
-
-
Method Detail
-
getCurrentRepetition
public int getCurrentRepetition()
Description copied from interface:RepetitionInfoGet the current repetition of the corresponding@RepeatedTestmethod.- Specified by:
getCurrentRepetitionin interfaceRepetitionInfo
-
getTotalRepetitions
public int getTotalRepetitions()
Description copied from interface:RepetitionInfoGet the total number of repetitions of the corresponding@RepeatedTestmethod.- Specified by:
getTotalRepetitionsin interfaceRepetitionInfo- See Also:
RepeatedTest.value()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-