Home
last modified time | relevance | path

Searched refs:failIfRequested (Results 1 – 2 of 2) sorted by relevance

/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sample/
DSampleTest.java91 failIfRequested(failBeforeClass, "@BeforeClass"); in beforeClassMethod()
97 failIfRequested(failBefore, "@Before"); in beforeMethod()
103 failIfRequested(failTest, "@Test"); in testMethod()
109 failIfRequested(failAfter, "@After"); in afterMethod()
115 failIfRequested(failAfterClass, "@AfterClass"); in afterClassMethod()
120 public static void failIfRequested(BooleanOption option, String location) { in failIfRequested() method in SampleTest
139 failIfRequested(failBeforeRule, String.format(mTag, "%s starting")); in starting()
145 failIfRequested(failAfterRule, String.format(mTag, "%s finished")); in finished()
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/sample/
DSampleMicrobenchmark.java46 SampleTest.failIfRequested(failNoMetricBefore, "@NoMetricBefore"); in noMetricBefore()
52 SampleTest.failIfRequested(failNoMetricAfter, "@NoMetricAfter"); in noMetricAfter()