Package be.sddevelopment.commons.testing
Class ReplaceUnderscoredCamelCasing
- java.lang.Object
-
- org.junit.jupiter.api.DisplayNameGenerator.Standard
-
- org.junit.jupiter.api.DisplayNameGenerator.Simple
-
- org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
-
- be.sddevelopment.commons.testing.naming.ReplaceUnderscoredCamelCasing
-
- All Implemented Interfaces:
org.junit.jupiter.api.DisplayNameGenerator
public class ReplaceUnderscoredCamelCasing extends org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
Description of file/class
- Version:
- $Id: $Id
- Author:
- Stijn Dejongh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.junit.jupiter.api.DisplayNameGenerator
org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences, org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores, org.junit.jupiter.api.DisplayNameGenerator.Simple, org.junit.jupiter.api.DisplayNameGenerator.Standard
-
-
Constructor Summary
Constructors Constructor Description ReplaceUnderscoredCamelCasing()
Constructor for ReplaceUnderscoredCamelCasing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateDisplayNameForClass(Class<?> testClass)
String
generateDisplayNameForMethod(Class<?> testClass, Method testMethod)
String
generateDisplayNameForNestedClass(Class<?> nestedClass)
-
-
-
Method Detail
-
generateDisplayNameForClass
public String generateDisplayNameForClass(Class<?> testClass)
- Specified by:
generateDisplayNameForClass
in interfaceorg.junit.jupiter.api.DisplayNameGenerator
- Overrides:
generateDisplayNameForClass
in classorg.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
-
generateDisplayNameForNestedClass
public String generateDisplayNameForNestedClass(Class<?> nestedClass)
- Specified by:
generateDisplayNameForNestedClass
in interfaceorg.junit.jupiter.api.DisplayNameGenerator
- Overrides:
generateDisplayNameForNestedClass
in classorg.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
-
generateDisplayNameForMethod
public String generateDisplayNameForMethod(Class<?> testClass, Method testMethod)
- Specified by:
generateDisplayNameForMethod
in interfaceorg.junit.jupiter.api.DisplayNameGenerator
- Overrides:
generateDisplayNameForMethod
in classorg.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
-
-