Searched refs:runnerForClass (Results 1 – 6 of 6) sorted by relevance
55 Runner runner = (new HealthRunnerBuilder(new Bundle())).runnerForClass(SampleTest.class); in testDefaultsToJUnit4()64 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_valid()74 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notClass()83 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notRunner()
70 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() method in HealthRunnerBuilder
240 when(builder.runnerForClass(IterationSuite.TestOne.class)) in testThrowingErrorReportingRunnerCauses()242 when(builder.runnerForClass(IterationSuite.TestTwo.class)) in testThrowingErrorReportingRunnerCauses()
119 when(builder.runnerForClass(BasicScenario.class)).thenThrow(new Throwable("empty")); in testRejectInvalidTests_badRunnerBuilder()
84 runner = builder.runnerForClass(scenario); in constructClassRunners()
155 runner = builder.runnerForClass(scenario); in constructClassRunners()