diff options
author | David Srbecky <dsrbecky@google.com> | 2021-02-24 21:50:58 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-24 21:50:58 +0000 |
commit | 5cb7d97d73027edb2274ac39e8a958bab5e2e7b3 (patch) | |
tree | fb060599e56a1ce3ccfa4cacd193406f14ba84db /src/main/java/org/junit/runner/manipulation/Alphanumeric.java | |
parent | f7adff9d456ec1fd10bfe84951d4756d78dbba6f (diff) | |
parent | 138b64feb682b90292d36002f3aff9869d6a9e4b (diff) | |
download | junit-5cb7d97d73027edb2274ac39e8a958bab5e2e7b3.tar.gz |
Merge changes from topic "revert-1601635-AIQYZOHWTP" am: 565f36d281 am: 23e304a839 am: 91c5e5ff9d am: 138b64feb6
Original change: https://android-review.googlesource.com/c/platform/external/junit/+/1605377
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic05d8452bb92220507ec751aa85c8e657f77cc79
Diffstat (limited to 'src/main/java/org/junit/runner/manipulation/Alphanumeric.java')
-rw-r--r-- | src/main/java/org/junit/runner/manipulation/Alphanumeric.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/org/junit/runner/manipulation/Alphanumeric.java b/src/main/java/org/junit/runner/manipulation/Alphanumeric.java deleted file mode 100644 index 8388d21..0000000 --- a/src/main/java/org/junit/runner/manipulation/Alphanumeric.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.junit.runner.manipulation; - -import java.util.Comparator; - -import org.junit.runner.Description; - -/** - * A sorter that orders tests alphanumerically by test name. - * - * @since 4.13 - */ -public final class Alphanumeric extends Sorter implements Ordering.Factory { - - public Alphanumeric() { - super(COMPARATOR); - } - - public Ordering create(Context context) { - return this; - } - - private static final Comparator<Description> COMPARATOR = new Comparator<Description>() { - public int compare(Description o1, Description o2) { - return o1.getDisplayName().compareTo(o2.getDisplayName()); - } - }; -} |