Class Alphanumeric

All Implemented Interfaces:
Comparator<Description>, Ordering.Factory

public final class Alphanumeric extends Sorter implements Ordering.Factory
A sorter that orders tests alphanumerically by test name.
Since:
4.13
  • Field Details

  • Constructor Details

    • Alphanumeric

      public Alphanumeric()
  • Method Details

    • create

      public Ordering create(Ordering.Context context)
      Description copied from interface: Ordering.Factory
      Creates 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:
      create in interface Ordering.Factory