Searched refs:LongevityClassRunner (Results 1 – 8 of 8) sorted by relevance
84 private LongevityClassRunner mRunner;117 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testBeforeClassMethodsAddedAsBeforeMethods()171 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testAfterClassMethodsAddedAsAfterMethods()182 LongevityClassRunner.RunAfterClassMethodsOnTestFailure); in testAfterClassMethodsAddedAsAfterMethods()197 instanceof LongevityClassRunner.RunAfterMethods); in testAfterClassMethodsAddedAsAfterMethods()238 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testAfterClassMethodsHandling_marksFailure()270 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testRunAfterClassMethodsHandling_marksPassed()296 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testAfterClass_runAsAfterForPassingTest()321 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testAfterClass_runAsAfterClassForFailingTest()344 mRunner = spy(new LongevityClassRunner(NoOpTest.class)); in testAfterClassRunOnlyOnce_passingTest()[all …]
120 List<LongevityClassRunner> runners = new ArrayList<>(); in testReportingIteration_notSet()123 LongevityClassRunner runner = in testReportingIteration_notSet()124 (LongevityClassRunner) invocation.callRealMethod(); in testReportingIteration_notSet()133 Assert.assertEquals(runners.get(0).getIteration(), LongevityClassRunner.ITERATION_NOT_SET); in testReportingIteration_notSet()134 Assert.assertEquals(runners.get(1).getIteration(), LongevityClassRunner.ITERATION_NOT_SET); in testReportingIteration_notSet()135 Assert.assertEquals(runners.get(2).getIteration(), LongevityClassRunner.ITERATION_NOT_SET); in testReportingIteration_notSet()155 List<LongevityClassRunner> runners = new ArrayList<>(); in testReportingIteration_set()158 LongevityClassRunner runner = in testReportingIteration_set()159 (LongevityClassRunner) invocation.callRealMethod(); in testReportingIteration_set()
273 LongevityClassRunner.FILTER_OPTION, in testIgnoredScenario_doesIdle()
47 public class LongevityClassRunner extends BlockJUnit4ClassRunner { class62 public LongevityClassRunner(Class<?> klass) throws InitializationError { in LongevityClassRunner() method in LongevityClassRunner67 LongevityClassRunner(Class<?> klass, Bundle args) throws InitializationError { in LongevityClassRunner() method in LongevityClassRunner204 LongevityClassRunner.this.mTestAttempted = true; in evaluate()208 LongevityClassRunner.this.mTestFailed = false; in evaluate()237 if (LongevityClassRunner.this.hasTestFailed()) { in evaluate()
178 LongevityClassRunner suiteRunner = getSuiteRunner(runner); in runChild()220 protected LongevityClassRunner getSuiteRunner(Runner runner) { in getSuiteRunner()223 return new LongevityClassRunner( in getSuiteRunner()
31 public class ScenarioRunner extends LongevityClassRunner {
135 protected LongevityClassRunner getSuiteRunner(Runner runner) { in getSuiteRunner()
53 public class ScheduledScenarioRunner extends LongevityClassRunner {