/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 134 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun() 156 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun() 260 listener.testRunStarted(TEST_PACKAGE_VALUE, 0); in testRun_rerunEmpty() 286 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun() 297 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun() 307 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_rerun() 324 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun() 332 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_rerun() 351 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerunCoverage() 362 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerunCoverage() [all …]
|
D | InstrumentationFileTestTest.java | 100 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_singleSuccessfulTest() 130 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_singleSuccessfulTest() 161 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest() 180 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest() 215 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest() 224 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest() 259 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_serialReRunOfTwoFailedToCompleteTests() 276 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_serialReRunOfTwoFailedToCompleteTests() 293 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_serialReRunOfTwoFailedToCompleteTests() 322 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_serialReRunOfTwoFailedToCompleteTests() [all …]
|
D | DeviceTestCaseTest.java | 107 listener.testRunStarted(MockTest.class.getName(), 2); in testRun_suite() 132 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_includeFilter() 154 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_excludeFilter() 176 listener.testRunStarted(MockAnnotatedTest.class.getName(), 1); in testRun_includeAnnotationFiltering() 193 listener.testRunStarted(MockAnnotatedTest.class.getName(), 2); in testRun_checkAnnotation() 224 listener.testRunStarted(MockAnnotatedTest.class.getName(), 1); in testRun_excludeAnnotationFiltering() 243 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_singleTest() 264 listener.testRunStarted(MockAbortTest.class.getName(), 1); in testRun_deviceNotAvail() 290 listener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2)); in testRun_testcaseCollectMode() 311 listener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(1)); in testRun_testcaseCollectMode_singleMethod() [all …]
|
D | FakeTestTest.java | 140 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(0)); in testRun_empty() 152 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simplePass() 165 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simpleFail() 179 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(3)); in testRun_basicSequence() 195 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(4)); in testRun_basicParens() 212 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(8)); in testRun_recursiveParens() 237 mListener.testRunStarted(EasyMock.eq(name1), EasyMock.eq(2)); in testMultiRun() 244 mListener.testRunStarted(EasyMock.eq(name2), EasyMock.eq(2)); in testMultiRun() 251 mListener.testRunStarted(EasyMock.eq(name3), EasyMock.eq(0)); in testMultiRun()
|
D | NoisyDryRunTestTest.java | 62 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun() 68 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseCommands", in testRun() 93 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_withKeystore() 99 mMockListener.testRunStarted( in testRun_withKeystore() 118 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_invalidCmdFile() 137 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_invalidCmdLine() 143 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseCommands", in testRun_invalidCmdLine()
|
D | GTestXmlResultParserTest.java | 82 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile() 111 mockRunListener.testRunStarted(TEST_MODULE_NAME, 84); in testParseLargerFile() 142 mockRunListener.testRunStarted(TEST_MODULE_NAME, 7); in testParseWithFailures() 180 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseWithEmptyFile() 204 mockRunListener.testRunStarted(TEST_MODULE_NAME, 7); in testParseUnexpectedNumberTest() 236 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile_badXmltag() 276 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseWithEmptyFile_AdditionalOutput()
|
D | GTestResultParserTest.java | 40 mockRunListener.testRunStarted(TEST_MODULE_NAME, 11); in testParseSimpleFile() 66 mockRunListener.testRunStarted(TEST_MODULE_NAME, 53); in testParseSimpleFileNoTimes() 92 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseNoTests() 109 mockRunListener.testRunStarted(TEST_MODULE_NAME, 268); in testParseLargerFile() 138 mockRunListener.testRunStarted(TEST_MODULE_NAME, 13); in testParseWithFailures() 199 mockRunListener.testRunStarted(TEST_MODULE_NAME, 10); in testParseWithErrors() 251 mockRunListener.testRunStarted(TEST_MODULE_NAME, 11); in testParseNonAlignedTag() 277 mockRunListener.testRunStarted(TEST_MODULE_NAME, 18); in testParseSimpleFile_AltFormat() 325 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseSimpleFile_LinkError()
|
D | HostTestTest.java | 463 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2)); in testRun_testcase() 483 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2)); in testRun_MetricTestCase() 508 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2)); in testRun_LogMetricTestCase() 541 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2)); in testRun_MetricTestCase_withOption() 569 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2)); in testRun_testSuite() 588 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2)); in testRun_testHierarchySuite() 607 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(1)); in testRun_testMethod() 694 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2)); in testRun_multipleClass() 700 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2)); in testRun_multipleClass() 739 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(1)); in testRun_deviceTest() [all …]
|
D | InstrumentationSerialTestTest.java | 68 listener.testRunStarted(packageName, 1); in testRun() 87 mMockListener.testRunStarted(packageName, 1); in testRun() 116 listener.testRunStarted(packageName, 1); in testRun_runFailure() 133 mMockListener.testRunStarted(packageName, 1); in testRun_runFailure()
|
D | TfTestLauncherTest.java | 126 mMockListener.testRunStarted("temporaryFiles", 1); in testRun() 127 mMockListener.testRunStarted("StdErr", 1); in testRun() 135 mMockListener.testRunStarted("elapsed-time", 1); in testRun() 152 mMockListener.testRunStarted("temporaryFiles", 1); in testTestTmpDirClean_success() 173 mMockListener.testRunStarted("temporaryFiles", 1); in testTestTmpDirClean_failExtraFile() 194 mMockListener.testRunStarted("temporaryFiles", 1); in testTestTmpDirClean_failMultipleFiles()
|
D | GoogleBenchmarkTestTest.java | 125 mMockInvocationListener.testRunStarted(test1, 3); in testRun() 126 mMockInvocationListener.testRunStarted(test2, 2); in testRun() 207 mMockInvocationListener.testRunStarted(test1, 3); in testRun_withModuleName() 208 mMockInvocationListener.testRunStarted(test2, 2); in testRun_withModuleName() 246 mMockInvocationListener.testRunStarted(reportName, 3); in testRun_withRunReportName() 282 mMockInvocationListener.testRunStarted(test1, 3); in testRun_exceptionDuringExecShell()
|
D | CodeCoverageListenerTest.java | 94 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in test() 107 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testFailure_noCoverageMetric() 124 mCodeCoverageListener.testRunStarted(RUN_NAME, TEST_COUNT); in testFailure_unableToPullFile()
|
D | GTestListTestParserTest.java | 40 mockRunListener.testRunStarted(TEST_MODULE_NAME, 23); in testParseSimpleList() 66 mockRunListener.testRunStarted(TEST_MODULE_NAME, 127); in testParseMultiClassList() 106 mockRunListener.testRunStarted(TEST_MODULE_NAME, 2); in testParseSimpleList_withSpecialChar()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 49 mListener.testRunStarted("run1", numTests); in testRegularExecution() 64 mListener.testRunStarted("run1", numTests); in testRun_missingTests() 82 mListener.testRunStarted("run1", numTests); in testInternalRerun() 90 mListener.testRunStarted("run1", numTests - 1); in testInternalRerun() 106 mListener.testRunStarted("run1", numTests); in testMultiTestRun() 114 mListener.testRunStarted("run2", numTests); in testMultiTestRun()
|
D | TestSuiteStub.java | 81 listener.testRunStarted(mModule, 3); in testAttempt() 140 listener.testRunStarted(mModule, 3); in run() 147 listener.testRunStarted(mModule, mShardedTestToRun.size() + 1); in run() 149 listener.testRunStarted(mModule, mShardedTestToRun.size()); in run()
|
D | ModuleDefinitionTest.java | 118 listener.testRunStarted(mRunName, mNumTest); in run() 230 mMockListener.testRunStarted(MODULE_NAME, 0); in testRun() 252 mMockListener.testRunStarted(MODULE_NAME, 0); in testRun_disabledPreparation() 278 mMockListener.testRunStarted(MODULE_NAME, 0); in testRun_disabledTearDown() 314 mMockListener.testRunStarted(EasyMock.eq(MODULE_NAME), EasyMock.eq(1)); in testRun_failPreparation() 352 mMockListener.testRunStarted(MODULE_NAME, testCount); in testRun_fullPass() 397 mMockListener.testRunStarted(MODULE_NAME, testCount); in testRun_partialRun() 476 listener.testRunStarted("test", 1); in testModuleController_fullBypass() 520 listener.testRunStarted("test", 1); in testModuleController_skipTestCases() 539 mMockListener.testRunStarted(EasyMock.anyObject(), EasyMock.anyInt()); in testModuleController_skipTestCases() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 64 mMockListener.testRunStarted("run1", 1); in testBufferAndReplay() 73 mShardListener.testRunStarted("run1", 1); in testBufferAndReplay() 88 mMockListener.testRunStarted("run1", 1); in testBufferAndReplay_withModule() 93 mMockListener.testRunStarted("run2", 1); in testBufferAndReplay_withModule() 100 mMockListener.testRunStarted("run3", 1); in testBufferAndReplay_withModule() 111 mShardListener.testRunStarted("run1", 1); in testBufferAndReplay_withModule() 115 mShardListener.testRunStarted("run2", 1); in testBufferAndReplay_withModule() 122 mShardListener.testRunStarted("run3", 1); in testBufferAndReplay_withModule() 173 mockListener.testRunStarted("run1", 1); in testLogOrderingForSharding() 200 shardedInvocation.testRunStarted("run1", 1); in testLogOrderingForSharding()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 99 result.testRunStarted("run", 0); in testMultiRun() 106 result.testRunStarted("run", 0); in testMultiRun() 145 result.testRunStarted("run", 1); in testLogSavedFile_runLogs() 203 result1.testRunStarted("fake run", 3); in testMergeRetriedRunResults_fullMergeLogicCheck() 213 result2.testRunStarted("fake run", 2); in testMergeRetriedRunResults_fullMergeLogicCheck() 221 result3.testRunStarted("fake run", 2); in testMergeRetriedRunResults_fullMergeLogicCheck() 262 result1.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces() 267 result2.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces() 273 result3.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces() 278 result4.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces() [all …]
|
D | ConsoleResultReporterTest.java | 53 reporter.testRunStarted("Test Run", 0); in testGetInvocationSummary_test_run_metrics() 74 reporter.testRunStarted("Test Run", 1); in testGetInvocationSummary_test_metrics() 123 reporter.testRunStarted("Test Run 1", 3); in testGetInvocationSummary_all() 158 reporter.testRunStarted("Test Run 2", 4); in testGetInvocationSummary_all() 179 reporter.testRunStarted("Test Run 3", 0); in testGetInvocationSummary_all() 185 reporter.testRunStarted("Test Run 4", 0); in testGetInvocationSummary_all()
|
D | CollectingTestListenerTest.java | 76 mCollectingTestListener.testRunStarted("foo", 1); in testRunFailed() 89 mCollectingTestListener.testRunStarted("foo1", 1); in testRunFailed_counting() 92 mCollectingTestListener.testRunStarted("foo2", 1); in testRunFailed_counting() 94 mCollectingTestListener.testRunStarted("foo3", 1); in testRunFailed_counting() 164 mCollectingTestListener.testRunStarted("run", 1); in testSingleRun_incomplete() 270 mCollectingTestListener.testRunStarted(runName, 1); in injectTestRun()
|
D | MetricsXMLResultReporterTest.java | 81 mResultReporter.testRunStarted("run", 1); in testRunMetrics() 108 mResultReporter.testRunStarted("run", 1); in testTestMetrics() 133 mResultReporter.testRunStarted("run", 1); in testTestFailMetrics()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollectorTest.java | 79 mFilePuller.testRunStarted("fakeRun", 5); in testNoMatchingKey() 97 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingKey() 119 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingKeyPattern() 135 mFilePuller.testRunStarted("fakeRun", 5); in testPatternNotMatching() 158 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingDirectory()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 111 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 3); in testRun() 141 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 3); in testRun_collectOnly() 171 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 1); in testRun_method() 193 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 1); in testRun_method_collectOnly() 214 mListener.testRunStarted(TestJUnitParamsClass.class.getName(), 2); in testRun_excludeFilter_paramMethod() 241 mListener.testRunStarted(TestJUnitParamsClassWithIgnored.class.getName(), 1); in testRun_ignored()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageListener.java | 51 public void testRunStarted(String runName, int testCount) { in testRunStarted() method in CodeCoverageListener 52 super.testRunStarted(runName, testCount); in testRunStarted()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | NameMangleListener.java | 112 public void testRunStarted(String runName, int testCount) { in testRunStarted() method in NameMangleListener 114 mListener.testRunStarted(mangledName, testCount); in testRunStarted()
|