Home
last modified time | relevance | path

Searched refs:PASSED (Results 1 – 25 of 37) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java69 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()
DTestRunResultTest.java46 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 …]
DTestResultTest.java37 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()
DCountingTestResultListenerTest.java42 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()
DConsoleResultReporterTest.java55 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()
DTestResultListenerTest.java57 Truth.assertThat(mResults).containsEntry(mTest, createTestResult(TestStatus.PASSED)); in testPassed()
78 Truth.assertThat(mResults).containsEntry(mTest, createTestResult(TestStatus.PASSED)); in missingTestEnded()
DPassingTestFileReporterTest.java60 mResultReporter.testResult(mTest, createTestResult(TestResult.TestStatus.PASSED)); in testPassed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java375 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()
DModuleListenerTest.java61 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/
DTestResult.java218 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/
DXmlSuiteResultFormatter.java298 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/
DConsoleResultReporter.java83 if (mSuppressPassedTest && TestStatus.PASSED.equals(result.getStatus())) { in testResult()
132 sb.append(results[TestStatus.PASSED.ordinal()]); in invocationEnded()
DPassingTestFileReporter.java41 if (result.getStatus() == TestStatus.PASSED) { in testResult()
DTestResultListener.java118 mCurrentResult.setStatus(TestStatus.PASSED); in reportTestFinish()
/tools/repohooks/
Dpre-upload.py74 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/
DGameQualificationResultReporter.java268 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/
DBaseHostJUnit4Test.java663 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/
DClusterCommandScheduler.java192 result.getNumTestsInState(TestStatus.PASSED), in updateInvocationStatus()
335 Integer.toString(getNumTestsInState(TestStatus.PASSED))) in invocationComplete()
/tools/tradefederation/core/tests/res/testtype/
Dgtest_output3.txt6 [ PASSED ] 0 tests.
Dgtest_output7.txt35 [ PASSED ] 11 tests.
Dgtest_output11.txt34 [ PASSED ] 11 tests.
Dgtest_output1.txt34 [ PASSED ] 11 tests.
Dgtest_output6.txt38 [ PASSED ] 8 tests.
Dgtest_output5.txt50 [ PASSED ] 12 tests.
/tools/metalava/
Dbuild.gradle.kts93 TestLogEvent.PASSED, in <lambda>()

12