Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DLongevityClassRunner.java98 protected Statement withBeforeClasses(Statement statement) { in withBeforeClasses() argument
99 return statement; in withBeforeClasses()
108 protected Statement withAfterClasses(Statement statement) { in withAfterClasses() argument
110 statement, getTestClass().getAnnotatedMethods(AfterClass.class), null); in withAfterClasses()
118 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument
123 ? statement in withBefores()
124 : addRunBefores(statement, allBeforeMethods, target); in withBefores()
132 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument
134 statement, in withAfters()
143 Statement statement, List<FrameworkMethod> befores, Object target) { in addRunBefores() argument
[all …]
DScheduledScenarioRunner.java110 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument
117 statement.evaluate(); in withAfters()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java246 Statement statement = in testAfterClassMethodsHandling_marksFailure() local
256 statement.evaluate(); in testAfterClassMethodsHandling_marksFailure()
279 Statement statement = in testRunAfterClassMethodsHandling_marksPassed() local
288 statement.evaluate(); in testRunAfterClassMethodsHandling_marksPassed()
299 Statement statement = in testAfterClass_runAsAfterForPassingTest() local
304 statement.evaluate(); in testAfterClass_runAsAfterForPassingTest()
325 Statement statement = mRunner.withAfterClasses(FAILING_STATEMENT); in testAfterClass_runAsAfterClassForFailingTest() local
327 statement.evaluate(); in testAfterClass_runAsAfterClassForFailingTest()