Class OrdererSupport

java.lang.Object
org.antublue.test.engine.internal.support.OrdererSupport

public class OrdererSupport extends Object
Class to implement OrderSupport
  • Method Details

    • orderTestClasses

      public static void orderTestClasses(List<Class<?>> testClasses)
      Method to order a list of Classes
      Parameters:
      testClasses - testClasses
    • getOrderAnnotation

      public static int getOrderAnnotation(Class<?> clazz)
      Method to get the order annotation value
      Parameters:
      clazz - clazz
      Returns:
      the order annotation value
    • orderTestMethods

      public static List<Method> orderTestMethods(List<Method> testMethods, org.junit.platform.commons.support.HierarchyTraversalMode hierarchyTraversalMode)
      Method to order test methods within the hierarchy, keeping the groups by component type / declaring class
      Parameters:
      testMethods - testMethods
      hierarchyTraversalMode - hierarchyTraversalMode
      Returns:
      the list of methods ordered