@Test public void shouldNamedChildrenAfterTheirSuites() throws InitializationError { JunitSuiteRunner testee = new JunitSuiteRunner(ValidTestWithTwoDescriptions.class); List<Runner> actual = testee.getChildren(); assertEquals(createSuiteDescription("a thing"), actual.get(0).getDescription()); assertEquals(createSuiteDescription("another thing"), actual.get(1).getDescription()); }
@Override protected List<Runner> getChildren() { return fRunners; }
JunitSuiteRunner extends ParentRunner<Runner> { @Override protected List<Runner> getChildren() { return fRunners; } }
JunitSuiteRunner extends ParentRunner<Runner> { @Override protected List<Runner> getChildren() { return fRunners; } JunitSuiteRunner(Class<?> testClass); }
JunitSuiteRunner extends ParentRunner<Runner> { @Override protected List<Runner> getChildren() { return fRunners; } JunitSuiteRunner(Class<?> testClass);  }
JunitSuiteRunner extends ParentRunner<Runner> { @Override protected List<Runner> getChildren() { return fRunners; } JunitSuiteRunner(Class<?> testClass);   }