/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 46 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 48 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 49 assertEquals(1, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState() 51 assertEquals(1, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 52 assertEquals(0, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState() 62 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 64 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 65 assertEquals(1, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState_failed() 68 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 69 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testGetNumTestsInState_failed() [all …]
|
D | CollectingTestListenerTest.java | 107 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)).isEqualTo(2); 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() 150 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.FAILURE)).isEqualTo(1); in testReRun_overlap() 153 assertThat(runResult.getNumTestsInState(TestStatus.PASSED)).isEqualTo(0); in testReRun_overlap() 154 assertThat(runResult.getNumTestsInState(TestStatus.FAILURE)).isEqualTo(1); in testReRun_overlap() 201 assertThat(mCollectingTestListener.getNumTestsInState(TestStatus.INCOMPLETE)).isEqualTo(1); in testSingleRun_incomplete() 261 int testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState() 264 testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
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/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 300 assertEquals(0, result.getNumTestsInState(TestStatus.FAILURE)); in testAssumptionFailures_Ignore_Reporting() 301 assertEquals(1, result.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE)); in testAssumptionFailures_Ignore_Reporting() 302 assertEquals(1, result.getNumTestsInState(TestStatus.IGNORED)); in testAssumptionFailures_Ignore_Reporting() 405 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testMetricReporting() 543 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testMetricReporting_badKey()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 152 public int getNumTestsInState(TestStatus status) { in getNumTestsInState() method in TestRunResult 185 return getNumTests() - getNumTestsInState(TestStatus.INCOMPLETE); in getNumCompleteTests() 195 return getNumTestsInState(TestStatus.FAILURE); in getNumAllFailedTests() 428 int count = getNumTestsInState(status); in getTextSummary()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 371 public int getNumTestsInState(TestStatus status) { in getNumTestsInState() method in CollectingTestListener 397 return getNumTestsInState(TestStatus.FAILURE); in getNumAllFailedTests() 463 mStatusCounts[s.ordinal()] += result.getNumTestsInState(s); in computeMergedResults()
|
D | XmlResultReporter.java | 154 NS, ATTR_FAILURES, Integer.toString(getNumTestsInState(TestStatus.FAILURE))); in printTestResults()
|
D | EmailResultReporter.java | 245 getNumTestsInState(TestStatus.PASSED), getNumAllFailedTests())); in generateEmailBody()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 134 mPassedTests += moduleResult.getNumTestsInState(TestStatus.PASSED); in invocationEnded() 136 mSkippedTests += moduleResult.getNumTestsInState(TestStatus.IGNORED); in invocationEnded() 137 mAssumeFailureTests += moduleResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE); in invocationEnded()
|
D | XmlSuiteResultFormatter.java | 298 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 268 testRunResult.getNumTestsInState(TestStatus.PASSED), in getTestRunSummary() 270 testRunResult.getNumTestsInState(TestStatus.IGNORED))); in getTestRunSummary()
|
/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/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryResultHelper.java | 38 if (moduleResults.getNumTestsInState(status) > 0) { in shouldRunModule()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceStressTest.java | 176 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
|
D | TestDeviceFuncTest.java | 868 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 373 listener.getNumTestsInState(TestStatus.PASSED)); in testRun_rerun()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 680 != runResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE)); in runDeviceTests()
|