Home
last modified time | relevance | path

Searched refs:failureCaptor (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileSuiteTest.java272 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testTimestampScheduling_respectsSuiteTimeout() local
291 verify(mRunNotifier, atLeastOnce()).fireTestFailure(failureCaptor.capture()); in testTimestampScheduling_respectsSuiteTimeout()
292 List<Failure> failures = failureCaptor.getAllValues(); in testTimestampScheduling_respectsSuiteTimeout()
489 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
490 verify(notifier, atLeastOnce()).fireTestFailure(failureCaptor.capture()); in verifyForAssertionFailures()
491 List<Failure> failures = failureCaptor.getAllValues(); in verifyForAssertionFailures()
DScheduledScenarioRunnerTest.java89 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testOverTimeTest_throwsTestTimedOutException() local
108 verify(mRunNotifier, atLeastOnce()).fireTestFailure(failureCaptor.capture()); in testOverTimeTest_throwsTestTimedOutException()
109 List<Failure> failures = failureCaptor.getAllValues(); in testOverTimeTest_throwsTestTimedOutException()
DLongevityClassRunnerTest.java568 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
569 verify(notifier, atLeastOnce()).fireTestFailure(failureCaptor.capture()); in verifyForAssertionFailures()
570 List<Failure> failures = failureCaptor.getAllValues(); in verifyForAssertionFailures()
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java281 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local
282 verify(notifier).fireTestFailure(failureCaptor.capture()); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
284 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
308 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local
309 verify(notifier).fireTestFailure(failureCaptor.capture()); in testStopsEarly_ifBatteryDrainIsAboveThreshold()
311 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryDrainIsAboveThreshold()