Home
last modified time | relevance | path

Searched refs:getNumTestsInState (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java107 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()
DTestRunResultTest.java45 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/
DModuleListenerTest.java57 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/
DCollectingTestListener.java263 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()
DTestRunResult.java136 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()
DConsoleResultReporter.java103 testRunResult.getNumTestsInState(TestStatus.PASSED), in getTestRunSummary()
105 testRunResult.getNumTestsInState(TestStatus.IGNORED))); in getTestRunSummary()
DXmlResultReporter.java154 NS, ATTR_FAILURES, Integer.toString(getNumTestsInState(TestStatus.FAILURE))); in printTestResults()
DEmailResultReporter.java245 getNumTestsInState(TestStatus.PASSED), getNumAllFailedTests())); in generateEmailBody()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java136 mPassedTests += moduleResult.getNumTestsInState(TestStatus.PASSED); in invocationEnded()
138 mSkippedTests += moduleResult.getNumTestsInState(TestStatus.IGNORED); in invocationEnded()
139 mAssumeFailureTests += moduleResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE); in invocationEnded()
DXmlSuiteResultFormatter.java257 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceStressTest.java176 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
DTestDeviceFuncTest.java807 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java356 listener.getNumTestsInState(TestStatus.PASSED)); in testRun_rerun()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java532 != runResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE)); in runDeviceTests()