Package org.elasticsearch.test
Class AnnotationTestOrdering
java.lang.Object
org.elasticsearch.test.AnnotationTestOrdering
- All Implemented Interfaces:
Comparator<com.carrotsearch.randomizedtesting.TestMethodAndParams>
public class AnnotationTestOrdering
extends Object
implements Comparator<com.carrotsearch.randomizedtesting.TestMethodAndParams>
Test case ordering to be used in conjunction with
TestCaseOrdering. Tests are
ordered with respect to ordinals defined with AnnotationTestOrdering.Order annotations placed on individual test methods.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(com.carrotsearch.randomizedtesting.TestMethodAndParams o1, com.carrotsearch.randomizedtesting.TestMethodAndParams o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AnnotationTestOrdering
public AnnotationTestOrdering()
-
-
Method Details
-
compare
public int compare(com.carrotsearch.randomizedtesting.TestMethodAndParams o1, com.carrotsearch.randomizedtesting.TestMethodAndParams o2) - Specified by:
comparein interfaceComparator<com.carrotsearch.randomizedtesting.TestMethodAndParams>
-