/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | CollectingTestListenerTest.java | 69 assertThat(runResult.getTestResults().get(test).getStatus()).isEqualTo(TestStatus.PASSED); in testSingleRun() 107 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)).isEqualTo(2); in testTwoRuns() 117 assertThat(runResult1.getTestResults().get(test1).getStatus()).isEqualTo(TestStatus.PASSED); in testTwoRuns() 118 assertThat(runResult2.getTestResults().get(test2).getStatus()).isEqualTo(TestStatus.PASSED); in testTwoRuns() 132 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)).isEqualTo(2); in testReRun() 135 assertThat(runResult.getNumTestsInState(TestStatus.PASSED)).isEqualTo(2); in testReRun() 149 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)).isEqualTo(0); in testReRun_overlap() 153 assertThat(runResult.getNumTestsInState(TestStatus.PASSED)).isEqualTo(0); in testReRun_overlap() 261 int testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState() 264 testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState()
|
D | TestRunResultTest.java | 46 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 48 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 51 assertEquals(1, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 62 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 64 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 68 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 72 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 290 assertEquals(TestStatus.PASSED, test1Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck() 291 assertEquals(TestStatus.PASSED, test2Result.getStatus()); in testMergeRetriedRunResults_fullMergeLogicCheck() 346 assertEquals(TestStatus.PASSED, testResult.getStatus()); in testMergeRetriedRunResults_checkMergingStackTraces() [all …]
|
D | TestResultTest.java | 37 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_singleRes() 40 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_singleRes() 49 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_multiRes_aggPass() 54 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_multiRes_aggPass() 78 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_multiRes() 91 testResults.add(createResult(TestStatus.PASSED, null, 2, 5)); in testMerge_multiRes_allPass() 92 testResults.add(createResult(TestStatus.PASSED, null, 6, 7)); in testMerge_multiRes_allPass() 95 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_multiRes_allPass()
|
D | CountingTestResultListenerTest.java | 42 mResultListener.testResult(mTest, createTestResult(TestStatus.PASSED)); in testPassed() 44 assertThat(mResultListener.getResultCounts()[TestStatus.PASSED.ordinal()]).isEqualTo(1); in testPassed() 52 assertThat(mResultListener.getResultCounts()[TestStatus.PASSED.ordinal()]).isEqualTo(0); in testFailed() 60 mResultListener.testResult(mTest, createTestResult(TestStatus.PASSED)); in duplicateResults() 62 assertThat(mResultListener.getResultCounts()[TestStatus.PASSED.ordinal()]).isEqualTo(1); in duplicateResults() 75 mResultListener.testResult(mTest, createTestResult(TestStatus.PASSED)); in hasFailedTests()
|
D | ConsoleResultReporterTest.java | 55 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testPassed() 62 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testPassed_suppressedPassed() 89 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testSummary()
|
D | TestResultListenerTest.java | 57 Truth.assertThat(mResults).containsEntry(mTest, createTestResult(TestStatus.PASSED)); in testPassed() 78 Truth.assertThat(mResults).containsEntry(mTest, createTestResult(TestStatus.PASSED)); in missingTestEnded()
|
D | PassingTestFileReporterTest.java | 60 mResultReporter.testResult(mTest, createTestResult(TestResult.TestStatus.PASSED)); in testPassed()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapperTest.java | 375 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun() 432 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase).getStatus()); // became pass in testRun_withMultipleRun_becomePass() 434 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun_becomePass() 491 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase).getStatus()); // became pass in testRun_withMultipleRun_AllBecomePass() 492 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun_AllBecomePass() 493 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun_AllBecomePass() 579 TestStatus.PASSED, runResult.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver() 627 assertEquals(TestStatus.PASSED, runResult1.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryMultiTestsForOneRun() 628 assertEquals(TestStatus.PASSED, runResult1.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryMultiTestsForOneRun() 631 assertEquals(TestStatus.PASSED, runResult2.getTestResults().get(fakeTestCase4).getStatus()); in testRun_retryMultiTestsForOneRun()
|
D | ModuleListenerTest.java | 61 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testRegularExecution() 78 assertEquals(1, mListener.getNumTestsInState(TestStatus.PASSED)); in testRun_missingTests() 105 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testInternalRerun() 130 assertEquals(numTests * 2, mListener.getNumTestsInState(TestStatus.PASSED)); in testMultiTestRun()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestResult.java | 218 case PASSED: in merge() 248 mergedResult.setStatus(TestStatus.PASSED); in merge() 276 mergedResult.setStatus(TestStatus.PASSED); in merge()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 298 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults() 439 case PASSED: in getTestStatusCompatibilityString() 451 return TestStatus.PASSED; in getStatusFromString()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ConsoleResultReporter.java | 83 if (mSuppressPassedTest && TestStatus.PASSED.equals(result.getStatus())) { in testResult() 132 sb.append(results[TestStatus.PASSED.ordinal()]); in invocationEnded()
|
D | PassingTestFileReporter.java | 41 if (result.getStatus() == TestStatus.PASSED) { in testResult()
|
D | TestResultListener.java | 118 mCurrentResult.setStatus(TestStatus.PASSED); in reportTestFinish()
|
/tools/repohooks/ |
D | pre-upload.py | 74 PASSED = COLOR.color(COLOR.GREEN, 'PASSED') variable in Output 155 self.PASSED if self.success else self.FAILED,
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 268 testRunResult.getNumTestsInState(TestStatus.PASSED), in getTestRunSummary() 277 if (mSuppressPassedTest && TestStatus.PASSED.equals(entry.getValue().getStatus())) { in getTestRunSummary()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 663 if (!TestStatus.PASSED.equals(resultEntry.getValue().getStatus())) { in runDeviceTests() 813 if (!TestStatus.PASSED.equals(testStatus) in printTestResult()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandScheduler.java | 192 result.getNumTestsInState(TestStatus.PASSED), in updateInvocationStatus() 335 Integer.toString(getNumTestsInState(TestStatus.PASSED))) in invocationComplete()
|
/tools/tradefederation/core/tests/res/testtype/ |
D | gtest_output3.txt | 6 [ PASSED ] 0 tests.
|
D | gtest_output7.txt | 35 [ PASSED ] 11 tests.
|
D | gtest_output11.txt | 34 [ PASSED ] 11 tests.
|
D | gtest_output1.txt | 34 [ PASSED ] 11 tests.
|
D | gtest_output6.txt | 38 [ PASSED ] 8 tests.
|
D | gtest_output5.txt | 50 [ PASSED ] 12 tests.
|
/tools/metalava/ |
D | build.gradle.kts | 93 TestLogEvent.PASSED, in <lambda>()
|