Class Alphanumeric
java.lang.Object
org.junit.runner.manipulation.Ordering
org.junit.runner.manipulation.Sorter
org.junit.runner.manipulation.Alphanumeric
- All Implemented Interfaces:
Comparator<Description>, Ordering.Factory
A sorter that orders tests alphanumerically by test name.
- Since:
- 4.13
-
Nested Class Summary
Nested classes/interfaces inherited from class Ordering
Ordering.Context, Ordering.Factory -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Ordering.Context context) Creates an Ordering instance using the given context.Methods inherited from class Sorter
apply, compare, orderItemsMethods inherited from class Ordering
definedBy, definedBy, shuffledByMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Alphanumeric
public Alphanumeric()
-
-
Method Details
-
create
Description copied from interface:Ordering.FactoryCreates an Ordering instance using the given context. Implementations of this method that do not need to use the context can return the same instance every time.- Specified by:
createin interfaceOrdering.Factory
-