Home
last modified time | relevance | path

Searched refs:LongevityClassRunner (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java84 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 …]
DLongevitySuiteTest.java120 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()
DScheduledScenarioRunnerTest.java273 LongevityClassRunner.FILTER_OPTION, in testIgnoredScenario_doesIdle()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DLongevityClassRunner.java47 public class LongevityClassRunner extends BlockJUnit4ClassRunner { class
62 public LongevityClassRunner(Class<?> klass) throws InitializationError { in LongevityClassRunner() method in LongevityClassRunner
67 LongevityClassRunner(Class<?> klass, Bundle args) throws InitializationError { in LongevityClassRunner() method in LongevityClassRunner
204 LongevityClassRunner.this.mTestAttempted = true; in evaluate()
208 LongevityClassRunner.this.mTestFailed = false; in evaluate()
237 if (LongevityClassRunner.this.hasTestFailed()) { in evaluate()
DLongevitySuite.java178 LongevityClassRunner suiteRunner = getSuiteRunner(runner); in runChild()
220 protected LongevityClassRunner getSuiteRunner(Runner runner) { in getSuiteRunner()
223 return new LongevityClassRunner( in getSuiteRunner()
DScenarioRunner.java31 public class ScenarioRunner extends LongevityClassRunner {
DProfileSuite.java135 protected LongevityClassRunner getSuiteRunner(Runner runner) { in getSuiteRunner()
DScheduledScenarioRunner.java53 public class ScheduledScenarioRunner extends LongevityClassRunner {