Home
last modified time | relevance | path

Searched refs:FAILURE (Results 1 – 25 of 31) sorted by relevance

12

/tools/test/connectivity/acts/tests/google/bt/pts/
Dcmd_input.py29 FAILURE = "CMD {} threw exception: {}" variable
98 self.log.info(FAILURE.format(cmd, err))
105 self.log.info(FAILURE.format(cmd, err))
112 self.log.info(FAILURE.format(cmd, err))
123 self.log.info(FAILURE.format(cmd, err))
131 self.log.info(FAILURE.format(cmd, err))
139 self.log.info(FAILURE.format(cmd, err))
147 self.log.info(FAILURE.format(cmd, err))
155 self.log.info(FAILURE.format(cmd, err))
165 self.log.info(FAILURE.format(cmd, err))
[all …]
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
Dcmd_input.py57 FAILURE = "CMD {} threw exception: {}" variable
212 self.log.error(FAILURE.format(cmd, err))
225 self.log.error(FAILURE.format(cmd, err))
236 self.log.error(FAILURE.format(cmd, err))
265 self.log.error(FAILURE.format(cmd, err))
294 self.log.error(FAILURE.format(cmd, err))
325 self.log.error(FAILURE.format(cmd, err))
341 self.log.error(FAILURE.format(cmd, err))
358 self.log.error(FAILURE.format(cmd, err))
375 self.log.error(FAILURE.format(cmd, err))
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java50 testResults.add(createResult(TestStatus.FAILURE, "failed", 6, 7)); in testMerge_multiRes_aggPass()
64 testResults.add(createResult(TestStatus.FAILURE, "failed", 2, 5)); in testMerge_allFailed_aggPass()
65 testResults.add(createResult(TestStatus.FAILURE, "failed", 6, 7)); in testMerge_allFailed_aggPass()
69 assertEquals(TestStatus.FAILURE, finalRes.getStatus()); in testMerge_allFailed_aggPass()
79 testResults.add(createResult(TestStatus.FAILURE, "failed", 6, 7)); in testMerge_multiRes()
82 assertEquals(TestStatus.FAILURE, finalRes.getStatus()); in testMerge_multiRes()
DCountingTestResultListenerTest.java45 assertThat(mResultListener.getResultCounts()[TestStatus.FAILURE.ordinal()]).isEqualTo(0); in testPassed()
50 mResultListener.testResult(mTest, createTestResult(TestStatus.FAILURE)); in testFailed()
53 assertThat(mResultListener.getResultCounts()[TestStatus.FAILURE.ordinal()]).isEqualTo(1); in testFailed()
71 mResultListener.testResult(mTest, createTestResult(TestStatus.FAILURE)); in hasFailedTests()
DConsoleResultReporterTest.java68 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed()
79 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed_suppressPassed()
DPassingTestFileReporterTest.java69 mResultReporter.testResult(mTest, createTestResult(TestResult.TestStatus.FAILURE)); in testFailed()
DTestResultListenerTest.java66 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed()
DCollectingTestListenerTest.java150 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.FAILURE)).isEqualTo(1); in testReRun_overlap()
154 assertThat(runResult.getNumTestsInState(TestStatus.FAILURE)).isEqualTo(1); in testReRun_overlap()
DTestRunResultTest.java69 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testGetNumTestsInState_failed()
73 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testGetNumTestsInState_failed()
292 assertEquals(TestStatus.FAILURE, test3Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck()
/tools/tradefederation/core/src/com/android/tradefed/result/
DXmlResultReporter.java60 private static final String FAILURE = "failure"; field in XmlResultReporter
154 NS, ATTR_FAILURES, Integer.toString(getNumTestsInState(TestStatus.FAILURE))); in printTestResults()
182 String result = testResult.getStatus().equals(TestStatus.FAILURE) ? FAILURE : ERROR; in print()
DConsoleResultReporter.java86 if (mDisplayFailureSummary && TestStatus.FAILURE.equals(result.getStatus())) { in testResult()
134 if (results[TestStatus.FAILURE.ordinal()] > 0) { in invocationEnded()
136 sb.append(results[TestStatus.FAILURE.ordinal()]); in invocationEnded()
DCountingTestResultListener.java64 || results[TestStatus.FAILURE.ordinal()] > 0; in hasFailedTests()
DTestResultListener.java58 mCurrentResult.setStatus(TestStatus.FAILURE); in testFailed()
DEmailResultReporter.java254 if (TestStatus.FAILURE.equals(tr.getStatus())) { in generateEmailBody()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestResult.java221 case FAILURE: in merge()
261 mergedResult.setStatus(TestStatus.FAILURE); in merge()
267 mergedResult.setStatus(TestStatus.FAILURE); in merge()
DTestRunResult.java113 return getTestsInState(Arrays.asList(TestStatus.FAILURE)); in getFailedTests()
195 return getNumTestsInState(TestStatus.FAILURE); in getNumAllFailedTests()
299 updateTestResult(test, TestStatus.FAILURE, FailureDescription.create(trace)); in testFailed()
303 updateTestResult(test, TestStatus.FAILURE, failure); in testFailed()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryResultHelper.java56 statusesToRun.add(TestStatus.FAILURE); in getStatusesToRun()
DResultsPlayer.java170 case FAILURE: in forwardTestResults()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java184 mTestStatus = TestStatus.FAILURE; in testFailed()
195 mTestStatus = TestStatus.FAILURE; in testFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java300 assertEquals(0, result.getNumTestsInState(TestStatus.FAILURE)); in testAssumptionFailures_Ignore_Reporting()
405 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testMetricReporting()
407 if (TestStatus.FAILURE.equals(entry.getValue().getStatus())) { in testMetricReporting()
543 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testMetricReporting_badKey()
545 if (TestStatus.FAILURE.equals(entry.getValue().getStatus())) { in testMetricReporting_badKey()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java124 info.mHasTelephonySupport = !TestStatus.FAILURE.equals(testResult.getStatus()); in getSimInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java373 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase).getStatus()); in testRun_withMultipleRun()
374 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun()
433 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun_becomePass()
577 TestStatus.FAILURE, runResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
630 TestStatus.FAILURE, runResult2.getTestResults().get(fakeTestCase3).getStatus()); in testRun_retryMultiTestsForOneRun()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java186 if (TestStatus.FAILURE.equals(entry.getValue().getStatus())) { in getFailedTestCases()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java441 case FAILURE: in getTestStatusCompatibilityString()
453 return TestStatus.FAILURE; in getStatusFromString()
657 if (TestStatus.FAILURE.equals(status)) { in handleTestCaseLevel()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java258 case FAILURE: in forwardTestResults()

12