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.
  • Constructor Details

    • AnnotationTestOrdering

      public AnnotationTestOrdering()
  • Method Details

    • compare

      public int compare(com.carrotsearch.randomizedtesting.TestMethodAndParams o1, com.carrotsearch.randomizedtesting.TestMethodAndParams o2)
      Specified by:
      compare in interface Comparator<com.carrotsearch.randomizedtesting.TestMethodAndParams>