Home
last modified time | relevance | path

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

12

/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/
DDataStoreTest.kt46 val failure = in throwsErrorAddElementTwice() constant
66 val failure = assertThrows<IllegalStateException> { DataStore.getResult(TEST_SCENARIO) } in getsElementThrowErrorDoesNotExist() constant
80 val failure = in replacesElementThrowErrorDoesNotExist() constant
DCachedResultWriterTest.kt48 val failure = in writeToStoreFailsWhenWriteTwice() constant
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTraceMonitorRuleTest.kt74 val failure = in executesWithStartFailure() constant
86 val failure = in executesStartFailureMonitor2() constant
98 val failure = in executesWithStopFailure() constant
110 val failure = in executesStopFailureMonitor2() constant
DTransitionExecutionRuleTest.kt89 val failure = in throwsTransitionFailure() constant
100 val failure = in throwsTransitionFailureEmptyTransitions() constant
111 val failure = in throwsAssertionFailure() constant
154 val failure = in throwErrorCreateInvalidTagWithSpace() constant
165 val failure = in throwErrorCreateInvalidTagDuplicate() constant
176 val failure = in throwErrorCreateInvalidTagWithUnderscore() constant
DSetupTeardownRuleTest.kt62 val failure = in throwsSetupFailureAndExecutesTeardown() constant
74 val failure = in throwsTeardownFailure() 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/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/health/runners/longevity/host/src/android/host/test/longevity/listener/
DErrorTerminator.java30 public void testFailure(Failure failure) { in testFailure()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTestMetricRuleTest.java98 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testValidListener_testFails() local
124 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testMultipleListeners_allValid() local
164 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testMultipleListeners_lifoOrder() local
296 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
/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()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt90 val failure: Result<Any> = runCatching { this.isEmpty() } in internalWmCheck() constant
124 val failure: Result<Any> = runCatching { this.isEmpty() } in internalLayersCheck() constant
145 val failure: Result<Any> = runCatching { flicker.assertLayers { this.isEmpty() } } in exceptionMessageCheck() constant
166 val failure: Result<Any?> = runCatching { actual?.isHigher(expected?.region ?: Region()) } in validateVisibleRegion() constant
DFullTestRun.kt107 val failure: Result<Any> = runCatching { this.isEmpty() } in doEvaluate() constant
160 val failure: Result<Any> = runCatching { this.isEmpty() } in doEvaluate() constant
212 val failure: Result<Any?> = runCatching { in validateVisibleRegion() constant
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DLegacyFlickerDecoratorTest.kt205 val failure = failures[idx] in <lambda>() constant
228 val failure = failures.first() in <lambda>() constant
DFlickerServiceCachedTestCaseTest.kt137 val failure = assertThrows<Throwable> { test.execute(mockDescription) } in reportsFailingResultMetric() constant
195 val failure = in skippedIfNonBlocking() constant
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaselineProfileCollector.java67 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DPerfettoListener.java70 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DBaseMetricListener.java179 public final void testFailure(Failure failure) throws Exception { in testFailure()
305 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DScreenshotOnFailureCollector.java109 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DBaseCollectionListener.java96 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
DLogcatCollector.java110 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail()
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DAnnotationTestRuleHelper.java191 Throwable failure = runAndReturnFailure(); in assertFailsWithTypeAndMessage() local
216 Throwable failure = runAndReturnFailure(); in assertSkippedWithMessage() local
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTestMetricRule.java189 Failure failure = new Failure(description, t); in failed() local
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java284 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local
311 Failure failure = failureCaptor.getValue(); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubjectTest.kt128 val failure = in <lambda>() constant

12