Module org.junit.jupiter.api
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 byIndicativeSentences
, if this notation has some not declared parameters, it will use the default values instead.- Since:
- 5.7
- See Also:
DisplayName
,DisplayNameGenerator
,DisplayNameGenerator.IndicativeSentences
-
-
Field Summary
Fields Modifier and Type Fields Description static Class<? extends DisplayNameGenerator>
DEFAULT_GENERATOR
static String
DEFAULT_SEPARATOR
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends DisplayNameGenerator>
generator
Custom display name generator.String
separator
Custom separator for indicative sentences generator.
-
-
-
Field Detail
-
DEFAULT_SEPARATOR
static final String DEFAULT_SEPARATOR
-
-
-
DEFAULT_GENERATOR
static final Class<? extends DisplayNameGenerator> DEFAULT_GENERATOR
-
-
Element Detail
-
separator
String separator
Custom separator for indicative sentences generator.- Default:
- ""
-
-
-
generator
Class<? extends DisplayNameGenerator> generator
Custom display name generator.- Default:
- org.junit.jupiter.api.DisplayNameGenerator.Standard.class
-
-