public class OrderingTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Order
annotation.
Test are run in order of the value of the Order
annotation, from low values to high,
with un-annotated tests given a value of 0.
For example:
{@code
public static class Test {Constructor and Description |
---|
OrderingTestRunner(java.lang.Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<org.junit.runners.model.FrameworkMethod> |
computeTestMethods() |
collectInitializationErrors, createTest, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout