Home
last modified time | relevance | path

Searched defs:failure (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DWindowManagerStateSubjectTest.kt49 var failure = assertThrows(AssertionError::class.java) { in canDetectAboveAppWindowVisibility_isInvisible() variable
82 var failure = assertThrows(FlickerSubjectException::class.java) { in canDetectWindowCoversAtLeastRegion_largerRegion() variable
107 var failure = assertThrows(FlickerSubjectException::class.java) { in canDetectWindowCoversAtMostRegion_smallerRegion() variable
151 val failure = assertThrows(FlickerSubjectException::class.java) { in canFailWithReasonForVisibilityChecks_windowNotFound() constant
162 val failure = assertThrows(FlickerSubjectException::class.java) { in canFailWithReasonForVisibilityChecks_windowNotVisible() constant
181 val failure = assertThrows(FlickerSubjectException::class.java) { in canFailWithReasonForZOrderChecks_windowNotOnTop() constant
DWindowManagerTraceSubjectTest.kt77 val failure = assertThrows(FlickerSubjectException::class.java) { in testCanInspectAppWindowOnTop() constant
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sample/
DPrintListener.java52 public void testFailure(Failure failure) throws Exception { in testFailure()
57 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure()
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/
DErrorTerminator.java30 public void testFailure(Failure failure) { in testFailure()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DGcaEventLogCollectorTest.java93 Failure failure = in testGcaEventLogCollectionOnTestEnd_includeFailure() local
148 Failure failure = in testGcaEventLogCollectOnTestEnd_skipFailure() local
201 Failure failure = in testGcaEventLogCollectionOnTestRunEnd_runEndOnly() local
DStubTestMetricListener.java43 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/
DAssertions.kt57 val failure = assertions.mapNotNull { in invoke() constant
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java173 public void testFailure(Failure failure) throws Exception { in testFailure()
186 private void formatError(String type, Failure failure) throws Exception { in formatError()
253 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure()
DAtestRunListener.java95 public void testFailure(Failure failure) { in testFailure()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java168 public final void testFailure(Failure failure) throws Exception { in testFailure()
255 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DBaseCollectionListener.java88 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DScreenshotOnFailureCollector.java109 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DLogcatCollector.java111 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DSimpleperfListener.java132 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DGcaEventLogCollector.java147 public void onTestFail(DataRecord runData, Description description, Failure failure) { in onTestFail()
DPerfettoListener.java232 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java249 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local
276 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local