Top Description Fields Constructors Methods
org.junit.jupiter.engine.extension

pack-priv Class RepeatedTestDisplayNameFormatter

extends Object
Class Inheritance
Static Imports
org.junit.jupiter.api.RepeatedTest.CURRENT_REPETITION_PLACEHOLDER, .RepeatedTest.DISPLAY_NAME_PLACEHOLDER, .RepeatedTest.TOTAL_REPETITIONS_PLACEHOLDER

Display name formatter for a @RepeatedTest.
Since
5.0

Field Summary

Modifier and TypeField and Description
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv String
format(int currentRepetition, int totalRepetitions)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

displayNameback to summary
private final String displayName
patternback to summary
private final String pattern

Constructor Detail

RepeatedTestDisplayNameFormatterback to summary
pack-priv RepeatedTestDisplayNameFormatter(String pattern, String displayName)

Method Detail

formatback to summary
pack-priv String format(int currentRepetition, int totalRepetitions)