Home
last modified time | relevance | path

Searched refs:testRunStarted (Results 1 – 25 of 175) sorted by relevance

1234567

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java151 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun()
173 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun()
289 listener.testRunStarted(TEST_PACKAGE_VALUE, 0); in testRun_rerunEmpty()
315 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun()
326 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun()
336 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_rerun()
353 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_rerun()
361 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 0, 1); in testRun_rerun()
380 listener.testRunStarted(TEST_PACKAGE_VALUE, 3); in testRun_rerun_Parameterized()
393 listener.testRunStarted(TEST_PACKAGE_VALUE, 3); in testRun_rerun_Parameterized()
[all …]
DInstrumentationFileTestTest.java105 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_singleSuccessfulTest()
135 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_singleSuccessfulTest()
170 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest()
189 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest()
224 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest()
233 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_reRunOneFailedToCompleteTest()
267 listener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_serialReRunOfTwoFailedToCompleteTests()
284 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_serialReRunOfTwoFailedToCompleteTests()
301 listener.testRunStarted(TEST_PACKAGE_VALUE, 1); in testRun_serialReRunOfTwoFailedToCompleteTests()
330 mMockListener.testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_serialReRunOfTwoFailedToCompleteTests()
[all …]
DHostTestTest.java551 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2));
571 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2));
596 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2));
629 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2));
657 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2));
678 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(1));
695 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2));
714 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(1));
801 mListener.testRunStarted((String)EasyMock.anyObject(), EasyMock.eq(2));
807 mListener.testRunStarted((String) EasyMock.anyObject(), EasyMock.eq(2));
[all …]
DDeviceTestCaseTest.java107 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 …]
DNoisyDryRunTestTest.java86 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun()
91 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseCommands", in testRun()
114 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_withKeystore()
119 mMockListener.testRunStarted( in testRun_withKeystore()
137 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_invalidCmdFile()
155 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testRun_invalidCmdLine()
160 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseCommands", in testRun_invalidCmdLine()
283 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testLoading_sandboxed()
288 mMockListener.testRunStarted( in testLoading_sandboxed()
335 mMockListener.testRunStarted("com.android.tradefed.testtype.NoisyDryRunTest_parseFile", 1); in testLoading_sandboxed_failed()
[all …]
DInstrumentationSerialTestTest.java67 listener.testRunStarted(packageName, 1); in testRun()
86 mMockListener.testRunStarted(packageName, 0, 1); in testRun()
115 listener.testRunStarted(packageName, 1); in testRun_runFailure()
132 mMockListener.testRunStarted(packageName, 0); in testRun_runFailure()
134 mMockListener.testRunStarted(packageName, 0, 1); in testRun_runFailure()
136 mMockListener.testRunStarted(packageName, 0, 2); in testRun_runFailure()
185 listener.testRunStarted(packageName, 1); in testRun_package()
206 mMockListener.testRunStarted(packageName, 0, 1); in testRun_package()
DGTestResultParserTest.java40 mockRunListener.testRunStarted(TEST_MODULE_NAME, 11); in testParseSimpleFile()
65 mockRunListener.testRunStarted(TEST_MODULE_NAME, 53); in testParseSimpleFileNoTimes()
90 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseNoTests()
106 mockRunListener.testRunStarted(TEST_MODULE_NAME, 268); in testParseLargerFile()
134 mockRunListener.testRunStarted(TEST_MODULE_NAME, 13); in testParseWithFailures()
194 mockRunListener.testRunStarted(TEST_MODULE_NAME, 10); in testParseWithErrors()
245 mockRunListener.testRunStarted(TEST_MODULE_NAME, 11); in testParseNonAlignedTag()
272 mockRunListener.testRunStarted(TEST_MODULE_NAME, 18); in testParseSimpleFile_AltFormat()
327 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseSimpleFile_LinkError()
350 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseSimpleFile_earlyError()
[all …]
DFakeTestTest.java146 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(0)); in testRun_empty()
158 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simplePass()
171 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simpleFail()
185 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(5)); in testRun_basicSequence()
206 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_withLogging()
232 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(4)); in testRun_basicParens()
249 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(8)); in testRun_recursiveParens()
274 mListener.testRunStarted(EasyMock.eq(name1), EasyMock.eq(2)); in testMultiRun()
281 mListener.testRunStarted(EasyMock.eq(name2), EasyMock.eq(2)); in testMultiRun()
288 mListener.testRunStarted(EasyMock.eq(name3), EasyMock.eq(0)); in testMultiRun()
DGTestXmlResultParserTest.java85 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile()
116 mockRunListener.testRunStarted(TEST_MODULE_NAME, 84); in testParseLargerFile()
146 mockRunListener.testRunStarted(TEST_MODULE_NAME, 7); in testParseWithFailures()
183 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseWithEmptyFile()
206 mockRunListener.testRunStarted(TEST_MODULE_NAME, 7); in testParseUnexpectedNumberTest()
239 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile_badXmltag()
278 mockRunListener.testRunStarted(TEST_MODULE_NAME, 0); in testParseWithEmptyFile_AdditionalOutput()
301 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile_skipped()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java99 result.testRunStarted("run", 0); in testMultiRun()
106 result.testRunStarted("run", 0); in testMultiRun()
129 result.testRunStarted("run", 2); in testMultiRun_WithTestCases()
144 result.testRunStarted("run", 1); in testMultiRun_WithTestCases()
187 result.testRunStarted("run", 1); in testLogSavedFile_runLogs()
246 result1.testRunStarted("fake run", 3); in testMergeRetriedRunResults_fullMergeLogicCheck()
256 result2.testRunStarted("fake run", 2); in testMergeRetriedRunResults_fullMergeLogicCheck()
264 result3.testRunStarted("fake run", 2); in testMergeRetriedRunResults_fullMergeLogicCheck()
308 result1.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces()
313 result2.testRunStarted("fake run", 1); in testMergeRetriedRunResults_checkMergingStackTraces()
[all …]
DCollectingTestListenerTest.java78 mCollectingTestListener.testRunStarted("foo", 1); in testRunFailed()
90 mCollectingTestListener.testRunStarted("foo1", 1); in testRunFailed_counting()
93 mCollectingTestListener.testRunStarted("foo2", 1); in testRunFailed_counting()
95 mCollectingTestListener.testRunStarted("foo3", 1); in testRunFailed_counting()
198 mCollectingTestListener.testRunStarted("run", 1); in testSingleRun_incomplete()
294 mCollectingTestListener.testRunStarted("run1", 1); in testSingleRun_multi()
300 mCollectingTestListener.testRunStarted("run1", 3); in testSingleRun_multi()
318 mCollectingTestListener.testRunStarted("run1", 3); in testSingleRun_multi_failureRunFirst()
325 mCollectingTestListener.testRunStarted("run1", 1); in testSingleRun_multi_failureRunFirst()
341 mCollectingTestListener.testRunStarted("run1", 3); in testSingleRun_multi_failureRunFirst_attempts()
[all …]
DConsoleResultReporterTest.java53 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleListenerTest.java53 mListener.testRunStarted("run1", numTests); in testRegularExecution()
68 mListener.testRunStarted("run1", numTests); in testRun_missingTests()
88 mListener.testRunStarted("run1", numTests); in testInternalRerun()
96 mListener.testRunStarted("run1", numTests - 1); in testInternalRerun()
114 mListener.testRunStarted("run1", numTests); in testMultiTestRun()
122 mListener.testRunStarted("run2", numTests); in testMultiTestRun()
144 mListener.testRunStarted("run1", 0, attempt); in testhasRunCrashedAtAttempt()
149 mListener.testRunStarted("run2", 0, attempt); in testhasRunCrashedAtAttempt()
168 mListener.testRunStarted("apexservice_test", 1, 0); in testRetryInvalid()
174 mListener.testRunStarted("apex.test", 0, 1); in testRetryInvalid()
[all …]
DModuleDefinitionTest.java139 listener.testRunStarted(mRunName, mNumTest); in run()
197 listener.testRunStarted(runName, mNumTest); in run()
199 listener.testRunStarted(runName, mIncludeFilters.size() / mRepeatedRun); in run()
346 mMockListener.testRunStarted( in testRun()
375 mMockListener.testRunStarted( in testRun_tearDownException()
416 mMockListener.testRunStarted(MODULE_NAME, testCount); in testRun_aggregateRunFailures()
495 mMockListener.testRunStarted( in testRun_disabledPreparation()
522 mMockListener.testRunStarted( in testRun_disabledTearDown()
560 mMockListener.testRunStarted(EasyMock.eq(MODULE_NAME), EasyMock.eq(1)); in testRun_failPreparation()
597 mMockListener.testRunStarted(EasyMock.eq(MODULE_NAME), EasyMock.eq(1)); in testRun_failPreparation_runtime()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java148 mMockListener.testRunStarted( in testEvents()
173 mTestParser.testRunStarted("run1", 2); in testEvents()
223 mMockListener.testRunStarted( in testRunFail_interleavedWithTest()
237 mTestParser.testRunStarted("run1", 2); in testRunFail_interleavedWithTest()
264 mMockListener.testRunStarted( in testEvents_finaleProto()
288 mFinalTestParser.testRunStarted("run1", 2); in testEvents_finaleProto()
319 mMockListener.testRunStarted( in testRunFail_interleavedWithTest_finalProto()
333 mFinalTestParser.testRunStarted("run1", 2); in testRunFail_interleavedWithTest_finalProto()
358 mMockListener.testRunStarted( in testRun_withAttempts()
367 mMockListener.testRunStarted( in testRun_withAttempts()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardListenerTest.java64 mMockListener.testRunStarted("run1", 1); in testBufferAndReplay()
73 mShardListener.testRunStarted("run1", 1); in testBufferAndReplay()
103 mMockListener.testRunStarted("run1", 1); in testBufferAndReplay_withModule()
108 mMockListener.testRunStarted("run2", 1); in testBufferAndReplay_withModule()
115 mMockListener.testRunStarted("run3", 1); in testBufferAndReplay_withModule()
126 mShardListener.testRunStarted("run1", 1); in testBufferAndReplay_withModule()
130 mShardListener.testRunStarted("run2", 1); in testBufferAndReplay_withModule()
137 mShardListener.testRunStarted("run3", 1); in testBufferAndReplay_withModule()
189 mockListener.testRunStarted("run1", 1); in testLogOrderingForSharding()
216 shardedInvocation.testRunStarted("run1", 1); in testLogOrderingForSharding()
DUnexecutedTestReporterThreadTest.java54 verify(mMockListener, Mockito.times(0)).testRunStarted(Mockito.any(), Mockito.anyInt()); in testNoTests()
63 verify(mMockListener, Mockito.times(1)).testRunStarted(Mockito.any(), Mockito.anyInt()); in testOneTests()
74 verify(mMockListener, Mockito.times(1)).testRunStarted(Mockito.any(), Mockito.anyInt()); in testSeveralTests_oneReporter()
83 listener.testRunStarted("test", 0); in reportNotExecuted()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationSerialTest.java116 public void testRunStarted(String name, int numTests, int attemptNumber) { in runTest()
118 super.testRunStarted(name, 0, 0); in runTest()
129 public void testRunStarted(String runName, int testCount) { in runTest()
130 super.testRunStarted(runName, 0); in runTest()
134 public void testRunStarted( in runTest()
136 super.testRunStarted(runName, 0, attemptNumber); in runTest()
152 listener.testRunStarted(testRun.getName(), 0); in markTestAsFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java120 .testRunStarted(Mockito.anyString(), Mockito.anyInt()); in testPollingRun()
151 .testRunStarted(Mockito.anyString(), Mockito.anyInt()); in testRun_runtimeException()
182 .testRunStarted(Mockito.anyString(), Mockito.anyInt()); in testRun_deviceUnresponsive()
221 .testRunStarted(Mockito.anyString(), Mockito.anyInt()); in testRun_dnae()
261 .testRunStarted( in testRun_dnae_reportNotExecuted()
264 .testRunStarted( in testRun_dnae_reportNotExecuted()
267 .testRunStarted( in testRun_dnae_reportNotExecuted()
270 .testRunStarted( in testRun_dnae_reportNotExecuted()
273 .testRunStarted( in testRun_dnae_reportNotExecuted()
316 .testRunStarted(Mockito.anyString(), Mockito.anyInt()); in testRun_dnae_NotLastDevice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DITestLifeCycleReceiver.java51 public default void testRunStarted(String runName, int testCount) {} in testRunStarted() method
63 public default void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() method
64 testRunStarted(runName, testCount); in testRunStarted()
78 public default void testRunStarted( in testRunStarted() method
80 testRunStarted(runName, testCount); in testRunStarted()
DRetryResultForwarder.java29 public void testRunStarted(String runName, int testCount) { in testRunStarted() method in RetryResultForwarder
30 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
34 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() method in RetryResultForwarder
36 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollectorTest.java68 mFilePuller.testRunStarted("fakeRun", 5); in testNoMatchingKey()
86 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingKey()
108 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingKeyPattern()
131 mFilePuller.testRunStarted("fakeRun", 5); in testMetricFileProcessingFlow()
153 mFilePuller.testRunStarted("fakeRun", 5); in testPatternNotMatching()
176 mFilePuller.testRunStarted("fakeRun", 5); in testPullMatchingDirectory()
DLogcatOnFailureCollectorTest.java99 mMockListener.testRunStarted("runName", 1); in testCollect()
121 mTestListener.testRunStarted("runName", 1); in testCollect()
150 mMockListener.testRunStarted("runName", 1); in testCollect_multiRun()
171 mMockListener.testRunStarted("runName2", 1); in testCollect_multiRun()
192 mTestListener.testRunStarted("runName", 1); in testCollect_multiRun()
198 mTestListener.testRunStarted("runName2", 1); in testCollect_multiRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java76 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries()
87 verify(mMockListener, Mockito.times(1)).testRunStarted(eq("test"), eq(0)); in testRunHostExecutable_doesNotExists()
108 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable()
138 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_dnae()
172 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_search()
201 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(0)); in testRunHostExecutable_notFound()
231 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_failure()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java111 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()

1234567