suite()
@RunWith(AllTests.class) public class ProductTests { public static junit.framework.Test suite() { ... } }
67891011121314
public class SuiteMethodBuilder extends RunnerBuilder { @Override public Runner runnerForClass(Class<?> each) throws Throwable { if (hasSuiteMethod(each)) { return new SuiteMethod(each); } return null; }
910111213141516
public class SuiteMethodBuilder extends RunnerBuilder { @Override public Runner runnerForClass(Class<?> each) throws Throwable { if (hasSuiteMethod(each)) return new SuiteMethod(each); return null; }