@IndicativeSentencesGeneration is used to register the
IndicativeSentences display name generator and configure it.
The separator for sentence fragments and the display name
generator for sentence fragments are configurable. If this annotation
is declared without any attributes — for example,
@IndicativeSentencesGeneration or @IndicativeSentencesGeneration()
— the default configuration will be used.
This annotation is inherited from superclasses and implemented
interfaces. It is also inherited from enclosing classes for @Nested test classes.
DisplayName, DisplayNameGenerator, DisplayNameGenerator.IndicativeSentences , DisplayNameGeneration
| Modifier and Type | Field and Description |
|---|---|
| public static final Class | |
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public String |
| DEFAULT_GENERATOR | back to summary |
|---|---|
| public static final Class<? extends DisplayNameGenerator> DEFAULT_GENERATOR | |
| DEFAULT_SEPARATOR | back to summary |
|---|---|
| public static final String DEFAULT_SEPARATOR | |
| generator | back to summary |
|---|---|
| public Class Custom display name generator to use for sentence fragments. Defaults to | |
| separator | back to summary |
|---|---|
| public String separator() Custom separator for sentence fragments. Defaults to , . | |