Class OrdererSupport
java.lang.Object
org.antublue.test.engine.internal.support.OrdererSupport
Class to implement OrderSupport
-
Method Summary
Modifier and TypeMethodDescriptionstatic intgetOrderAnnotation(Class<?> clazz) Method to get the order annotation valuestatic voidorderTestClasses(List<Class<?>> testClasses) Method to order a list of ClassesorderTestMethods(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
-
Method Details
-
orderTestClasses
Method to order a list of Classes- Parameters:
testClasses- testClasses
-
getOrderAnnotation
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- testMethodshierarchyTraversalMode- hierarchyTraversalMode- Returns:
- the list of methods ordered
-