blob: 415253ebc62d79f1da363564be3cbf0c2c5b0aca [file] [log] [blame]
package org.junit.tests.manipulation;
import static java.util.Collections.reverseOrder;
import org.junit.runner.manipulation.Ordering;
import org.junit.runner.manipulation.Sorter;
/**
* A sorter that orders tests reverse alphanumerically by test name.
*/
public final class ReverseAlphanumericSorter implements Ordering.Factory {
public Ordering create(Ordering.Context context) {
return new Sorter(reverseOrder(Comparators.alphanumeric()));
}
}