Package org.junit.jupiter.api
Annotation Type IndicativeSentencesGeneration
@DisplayNameGeneration(IndicativeSentences.class) @Target({ANNOTATION_TYPE,TYPE}) @Retention(RUNTIME) @Documented @Inherited @API(status=EXPERIMENTAL, since="5.7") public @interface IndicativeSentencesGeneration
@IndicativeSentencesGeneration is used to declare a custom parameters
by IndicativeSentences, if this notation has some not declared
parameters, it will use the default values instead.- Since:
- 5.7
- See Also:
DisplayName,DisplayNameGenerator,DisplayNameGenerator.IndicativeSentences
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<? extends DisplayNameGenerator>generatorCustom display name generator.java.lang.StringseparatorCustom separator for indicative sentences generator. -
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<? extends DisplayNameGenerator>DEFAULT_GENERATORstatic java.lang.StringDEFAULT_SEPARATOR
-
Field Details
-
DEFAULT_SEPARATOR
static final java.lang.String DEFAULT_SEPARATOR- See Also:
- Constant Field Values
-
DEFAULT_GENERATOR
-
-
Element Details
-
separator
java.lang.String separatorCustom separator for indicative sentences generator.- Default:
- ""
-
generator
java.lang.Class<? extends DisplayNameGenerator> generatorCustom display name generator.- Default:
- org.junit.jupiter.api.DisplayNameGenerator.Standard.class
-