DisplayName, DisplayNameGenerator, DisplayNameGeneration
| Modifier and Type | Field and Description |
|---|---|
| private static final DisplayNameGenerator | indicativeSentencesGenerator
Pre-defined display name generator instance producing indicative sentences. |
| private static final DisplayNameGenerator | replaceUnderscoresGenerator
Pre-defined display name generator instance replacing underscores. |
| private static final DisplayNameGenerator | simpleGenerator
Pre-defined simple display name generator instance. |
| private static final DisplayNameGenerator | standardGenerator
Pre-defined standard display name generator instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Supplier | createDisplayNameSupplier(Supplier<List<Class<?>>> enclosingInstanceTypesSupplier, Class<?> testClass, JupiterConfiguration configuration, BiFunction<DisplayNameGenerator, List<Class<?>>, String> generatorFunction)
|
| pack-priv static Supplier | |
| private static Supplier | createDisplayNameSupplierForMethod(Supplier<List<Class<?>>> enclosingInstanceTypesSupplier, Class<?> testClass, Method testMethod, JupiterConfiguration configuration)
|
| pack-priv static Supplier | createDisplayNameSupplierForNestedClass(Supplier<List<Class<?>>> enclosingInstanceTypesSupplier, Class<?> testClass, JupiterConfiguration configuration)
|
| pack-priv static String | |
| pack-priv static String | determineDisplayNameForMethod(Supplier<List<Class<?>>> enclosingInstanceTypes, Class<?> testClass, Method testMethod, JupiterConfiguration configuration)
|
| private static Optional | |
| pack-priv static void | validateAnnotation(AnnotatedElement element, Supplier<String> elementDescription, Supplier<@Nullable TestSource> sourceProvider, DiscoveryIssueReporter reporter)
|
| indicativeSentencesGenerator | back to summary |
|---|---|
| private static final DisplayNameGenerator indicativeSentencesGenerator Pre-defined display name generator instance producing indicative sentences. | |
| replaceUnderscoresGenerator | back to summary |
|---|---|
| private static final DisplayNameGenerator replaceUnderscoresGenerator Pre-defined display name generator instance replacing underscores. | |
| simpleGenerator | back to summary |
|---|---|
| private static final DisplayNameGenerator simpleGenerator Pre-defined simple display name generator instance. | |
| standardGenerator | back to summary |
|---|---|
| private static final DisplayNameGenerator standardGenerator Pre-defined standard display name generator instance. | |
| DisplayNameUtils | back to summary |
|---|---|
| private DisplayNameUtils() | |
| createDisplayNameSupplier | back to summary |
|---|---|
| private static Supplier | |
| createDisplayNameSupplierForClass | back to summary |
|---|---|
| pack-priv static Supplier | |
| createDisplayNameSupplierForMethod | back to summary |
|---|---|
| private static Supplier | |
| createDisplayNameSupplierForNestedClass | back to summary |
|---|---|
| pack-priv static Supplier | |
| determineDisplayName | back to summary |
|---|---|
| pack-priv static String determineDisplayName(AnnotatedElement element, Supplier<String> displayNameSupplier) | |
| determineDisplayNameForMethod | back to summary |
|---|---|
| pack-priv static String determineDisplayNameForMethod(Supplier<List<Class<?>>> enclosingInstanceTypes, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) | |
| findDisplayNameGenerator | back to summary |
|---|---|
| private static Optional | |
| validateAnnotation | back to summary |
|---|---|
| pack-priv static void validateAnnotation(AnnotatedElement element, Supplier<String> elementDescription, Supplier<@Nullable TestSource> sourceProvider, DiscoveryIssueReporter reporter) | |