Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java46 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 …]
DCollectingTestListenerTest.java107 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/
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/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java300 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/
DTestRunResult.java152 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/
DCollectingTestListener.java371 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()
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.java134 mPassedTests += moduleResult.getNumTestsInState(TestStatus.PASSED); in invocationEnded()
136 mSkippedTests += moduleResult.getNumTestsInState(TestStatus.IGNORED); in invocationEnded()
137 mAssumeFailureTests += moduleResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE); in invocationEnded()
DXmlSuiteResultFormatter.java298 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java268 testRunResult.getNumTestsInState(TestStatus.PASSED), in getTestRunSummary()
270 testRunResult.getNumTestsInState(TestStatus.IGNORED))); in getTestRunSummary()
/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/src/com/android/tradefed/testtype/suite/retry/
DRetryResultHelper.java38 if (moduleResults.getNumTestsInState(status) > 0) { in shouldRunModule()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceStressTest.java176 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
DTestDeviceFuncTest.java868 return TestAppConstants.UI_TOTAL_TESTS == uilistener.getNumTestsInState(TestStatus.PASSED); in runUITests()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java373 listener.getNumTestsInState(TestStatus.PASSED)); in testRun_rerun()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java680 != runResult.getNumTestsInState(TestStatus.ASSUMPTION_FAILURE)); in runDeviceTests()