| Package | Description |
|---|---|
| org.junit.jupiter.api |
JUnit Jupiter API for writing tests.
|
| org.junit.jupiter.engine.config |
Configuration specific to the JUnit Jupiter test engine.
|
| org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DisplayNameGenerator.IndicativeSentences
DisplayNameGenerator that generates complete sentences. |
static class |
DisplayNameGenerator.ReplaceUnderscores
DisplayNameGenerator that replaces underscores with spaces. |
static class |
DisplayNameGenerator.Simple
Simple
DisplayNameGenerator that removes trailing parentheses
for methods with no parameters. |
static class |
DisplayNameGenerator.Standard
Standard
DisplayNameGenerator. |
| Modifier and Type | Field and Description |
|---|---|
(package private) static DisplayNameGenerator |
DisplayNameGenerator.Standard.INSTANCE |
(package private) static DisplayNameGenerator |
DisplayNameGenerator.Simple.INSTANCE |
(package private) static DisplayNameGenerator |
DisplayNameGenerator.ReplaceUnderscores.INSTANCE |
(package private) static DisplayNameGenerator |
DisplayNameGenerator.IndicativeSentences.INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class<? extends DisplayNameGenerator> |
IndicativeSentencesGeneration.DEFAULT_GENERATOR |
| Modifier and Type | Method and Description |
|---|---|
static DisplayNameGenerator |
DisplayNameGenerator.getDisplayNameGenerator(java.lang.Class<?> generatorClass)
Return the
DisplayNameGenerator instance corresponding to the
given Class. |
private static DisplayNameGenerator |
DisplayNameGenerator.IndicativeSentences.getGeneratorFor(java.lang.Class<?> testClass)
Get the display name generator to use for the supplied test class.
|
| Modifier and Type | Field and Description |
|---|---|
private static InstantiatingConfigurationParameterConverter<DisplayNameGenerator> |
DefaultJupiterConfiguration.displayNameGeneratorConverter |
| Modifier and Type | Method and Description |
|---|---|
DisplayNameGenerator |
CachingJupiterConfiguration.getDefaultDisplayNameGenerator() |
DisplayNameGenerator |
DefaultJupiterConfiguration.getDefaultDisplayNameGenerator() |
DisplayNameGenerator |
JupiterConfiguration.getDefaultDisplayNameGenerator() |
| Modifier and Type | Field and Description |
|---|---|
private static DisplayNameGenerator |
DisplayNameUtils.indicativeSentencesGenerator
Pre-defined display name generator instance producing indicative sentences.
|
private static DisplayNameGenerator |
DisplayNameUtils.replaceUnderscoresGenerator
Pre-defined display name generator instance replacing underscores.
|
private static DisplayNameGenerator |
DisplayNameUtils.simpleGenerator
Pre-defined simple display name generator instance.
|
private static DisplayNameGenerator |
DisplayNameUtils.standardGenerator
Pre-defined standard display name generator instance.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.util.Optional<DisplayNameGenerator> |
DisplayNameUtils.findDisplayNameGenerator(java.lang.Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.function.Supplier<java.lang.String> |
DisplayNameUtils.createDisplayNameSupplier(java.lang.Class<?> testClass,
JupiterConfiguration configuration,
java.util.function.Function<DisplayNameGenerator,java.lang.String> generatorFunction) |