java.lang.Object
org.junit.jupiter.api.ClassOrderer.DisplayName
- All Implemented Interfaces:
ClassOrderer
- Enclosing interface:
- ClassOrderer
ClassOrderer
that sorts classes alphanumerically based on their
display names using String.compareTo(String)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.jupiter.api.ClassOrderer
ClassOrderer.ClassName, ClassOrderer.DisplayName, ClassOrderer.OrderAnnotation, ClassOrderer.Random
-
Field Summary
Fields inherited from interface org.junit.jupiter.api.ClassOrderer
DEFAULT_ORDER_PROPERTY_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
orderClasses
(ClassOrdererContext context) Sort the classes encapsulated in the suppliedClassOrdererContext
alphanumerically based on their display names.
-
Constructor Details
-
DisplayName
public DisplayName()
-
-
Method Details
-
orderClasses
Sort the classes encapsulated in the suppliedClassOrdererContext
alphanumerically based on their display names.- Specified by:
orderClasses
in interfaceClassOrderer
- Parameters:
context
- theClassOrdererContext
containing the class descriptors to order; nevernull
-