Uses of Interface
org.junit.jupiter.api.DisplayNameGenerator
-
Packages that use DisplayNameGenerator 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. -
-
Uses of DisplayNameGenerator in org.junit.jupiter.api
Classes in org.junit.jupiter.api that implement DisplayNameGenerator Modifier and Type Class Description static class
DisplayNameGenerator.IndicativeSentences
DisplayNameGenerator
that generates complete sentences.static class
DisplayNameGenerator.ReplaceUnderscores
DisplayNameGenerator
that replaces underscores with spaces.static class
DisplayNameGenerator.Simple
SimpleDisplayNameGenerator
that removes trailing parentheses for methods with no parameters.static class
DisplayNameGenerator.Standard
StandardDisplayNameGenerator
.Fields in org.junit.jupiter.api declared as DisplayNameGenerator Modifier and Type Field Description (package private) static DisplayNameGenerator
DisplayNameGenerator.IndicativeSentences. INSTANCE
(package private) static DisplayNameGenerator
DisplayNameGenerator.ReplaceUnderscores. INSTANCE
(package private) static DisplayNameGenerator
DisplayNameGenerator.Simple. INSTANCE
(package private) static DisplayNameGenerator
DisplayNameGenerator.Standard. INSTANCE
Fields in org.junit.jupiter.api with type parameters of type DisplayNameGenerator Modifier and Type Field Description static java.lang.Class<? extends DisplayNameGenerator>
IndicativeSentencesGeneration. DEFAULT_GENERATOR
Methods in org.junit.jupiter.api that return DisplayNameGenerator Modifier and Type Method Description static DisplayNameGenerator
DisplayNameGenerator. getDisplayNameGenerator(java.lang.Class<?> generatorClass)
Return theDisplayNameGenerator
instance corresponding to the givenClass
.private static DisplayNameGenerator
DisplayNameGenerator.IndicativeSentences. getGeneratorFor(java.lang.Class<?> testClass)
Get the display name generator to use for the supplied test class.Methods in org.junit.jupiter.api that return types with arguments of type DisplayNameGenerator Modifier and Type Method Description java.lang.Class<? extends DisplayNameGenerator>
generator()
Custom display name generator to use for sentence fragments.java.lang.Class<? extends DisplayNameGenerator>
value()
Custom display name generator. -
Uses of DisplayNameGenerator in org.junit.jupiter.engine.config
Fields in org.junit.jupiter.engine.config with type parameters of type DisplayNameGenerator Modifier and Type Field Description private static InstantiatingConfigurationParameterConverter<DisplayNameGenerator>
DefaultJupiterConfiguration. displayNameGeneratorConverter
Methods in org.junit.jupiter.engine.config that return DisplayNameGenerator Modifier and Type Method Description DisplayNameGenerator
CachingJupiterConfiguration. getDefaultDisplayNameGenerator()
DisplayNameGenerator
DefaultJupiterConfiguration. getDefaultDisplayNameGenerator()
DisplayNameGenerator
JupiterConfiguration. getDefaultDisplayNameGenerator()
-
Uses of DisplayNameGenerator in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor declared as DisplayNameGenerator Modifier and Type Field 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.Methods in org.junit.jupiter.engine.descriptor that return DisplayNameGenerator Modifier and Type Method Description private static DisplayNameGenerator
DisplayNameUtils. getDisplayNameGenerator(java.lang.Class<?> testClass, JupiterConfiguration configuration)
-