/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | CollectingTestListenerTest.java | 107 assertEquals(2, mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)); in testTwoRuns() 134 assertEquals(2, mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)); in testReRun() 137 assertEquals(2, runResult.getNumTestsInState(TestStatus.PASSED)); in testReRun() 150 assertEquals(0, mCollectingTestListener.getNumTestsInState(TestStatus.PASSED)); in testReRun_overlap() 151 assertEquals(1, mCollectingTestListener.getNumTestsInState(TestStatus.FAILURE)); in testReRun_overlap() 154 assertEquals(0, runResult.getNumTestsInState(TestStatus.PASSED)); in testReRun_overlap() 155 assertEquals(1, runResult.getNumTestsInState(TestStatus.FAILURE)); in testReRun_overlap() 167 assertEquals(1, mCollectingTestListener.getNumTestsInState(TestStatus.INCOMPLETE)); in testSingleRun_incomplete() 231 int testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState() 234 testsPassed = mCollectingTestListener.getNumTestsInState(TestStatus.PASSED); in testGetNumTestsInState()
|
D | TestRunResultTest.java | 45 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 47 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 48 assertEquals(1, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState() 50 assertEquals(1, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState() 51 assertEquals(0, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState() 61 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 63 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 64 assertEquals(1, result.getNumTestsInState(TestStatus.INCOMPLETE)); in testGetNumTestsInState_failed() 67 assertEquals(0, result.getNumTestsInState(TestStatus.PASSED)); in testGetNumTestsInState_failed() 68 assertEquals(1, result.getNumTestsInState(TestStatus.FAILURE)); in testGetNumTestsInState_failed() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 57 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testRegularExecution() 72 assertEquals(1, mListener.getNumTestsInState(TestStatus.PASSED)); in testRun_missingTests() 99 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testInternalRerun() 122 assertEquals(numTests * 2, mListener.getNumTestsInState(TestStatus.PASSED)); in testMultiTestRun()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 263 getNumTestsInState(TestStatus.PASSED); in getNumTotalTests() 273 public int getNumTestsInState(TestStatus status) { in getNumTestsInState() method in CollectingTestListener 278 mStatusCounts[s.ordinal()] += result.getNumTestsInState(s); in getNumTestsInState() 348 return getNumTestsInState(TestStatus.FAILURE); in getNumAllFailedTests()
|
D | TestRunResult.java | 136 public int getNumTestsInState(TestStatus status) { in getNumTestsInState() method in TestRunResult 158 return getNumTests() - getNumTestsInState(TestStatus.INCOMPLETE); in getNumCompleteTests() 168 return getNumTestsInState(TestStatus.FAILURE); in getNumAllFailedTests() 322 int count = getNumTestsInState(status); in getTextSummary()
|
D | ConsoleResultReporter.java | 103 testRunResult.getNumTestsInState(TestStatus.PASSED), in getTestRunSummary() 105 testRunResult.getNumTestsInState(TestStatus.IGNORED))); in getTestRunSummary()
|
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 | 136 mPassedTests += moduleResult.getNumTestsInState(TestStatus.PASSED); in invocationEnded() 138 mSkippedTests += moduleResult.getNumTestsInState(TestStatus.IGNORED); in invocationEnded() 139 mAssumeFailureTests += moduleResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE); in invocationEnded()
|
D | XmlSuiteResultFormatter.java | 257 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults()
|
/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 | 807 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 356 listener.getNumTestsInState(TestStatus.PASSED)); in testRun_rerun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 532 != runResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE)); in runDeviceTests()
|