Home
last modified time | relevance | path

Searched refs:testCount (Results 1 – 25 of 42) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java504 final int testCount = 4; in testRun_aggregateRunFailures() local
506 testList.add(new TestObject("run1", testCount, false, true)); in testRun_aggregateRunFailures()
535 EasyMock.eq(testCount), in testRun_aggregateRunFailures()
899 final int testCount = 5; in testRun_fullPass() local
901 testList.add(new TestObject("run1", testCount, false)); in testRun_fullPass()
926 EasyMock.eq(testCount), in testRun_fullPass()
929 for (int i = 0; i < testCount; i++) { in testRun_fullPass()
949 final int testCount = 4; in testRun_partialRun() local
951 testList.add(new TestObject("run1", testCount, true)); in testRun_partialRun()
977 EasyMock.eq(testCount), in testRun_partialRun()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/retry/
DRetryLogSaverResultForwarder.java35 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
36 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
40 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
42 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
46 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
48 super.testRunStarted(runName, testCount, mAttemptNumber, startTime); in testRunStarted()
DResultAggregator.java199 public void testRunStarted(String name, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
225 super.testRunStarted(name, testCount, attemptNumber, startTime); in testRunStarted()
226 mDetailedForwarder.testRunStarted(name, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java373 count += checkRunner.testCount(); in countTestCases()
376 count += checkRunner.testCount(); in countTestCases()
664 int testCount = junitTest.countTestCases(); in runJUnit3Tests() local
665 listener.testRunStarted(className, testCount); in runJUnit3Tests()
667 for (int i = 0; i < testCount; i++) { in runJUnit3Tests()
678 if (testCount > 0) { in runJUnit3Tests()
698 listener.testRunStarted(className, checkRunner.testCount()); in runJUnit4Tests()
728 listener.testRunStarted(className, checkRunner.testCount()); in runJUnit4Tests()
849 for (int i = 0; i < suite.testCount(); i++) { in getTestMethods()
DInstrumentationListener.java77 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
79 if (testCount == 0 && !mExpectedTests.isEmpty()) { in testRunStarted()
83 super.testRunStarted(runName, testCount); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/
DResultForwarder.java172 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
175 listener.testRunStarted(runName, testCount); in testRunStarted()
185 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
188 listener.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
198 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
201 listener.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
DSubprocessResultsReporter.java157 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
158 testRunStarted(runName, testCount, 0); in testRunStarted()
163 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
164 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
169 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
171 new TestRunStartedEventInfo(runName, testCount, attemptNumber, startTime); in testRunStarted()
DRetryResultForwarder.java29 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
30 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
34 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
36 super.testRunStarted(runName, testCount, mAttemptNumber); in testRunStarted()
DBugreportCollector.java483 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
484 mListener.testRunStarted(runName, testCount); in testRunStarted()
485 mCollector.testRunStarted(runName, testCount); in testRunStarted()
DNameMangleListener.java112 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
114 mListener.testRunStarted(mangledName, testCount); in testRunStarted()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java441 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
443 testRunStarted(runName, testCount, 0); in testRunStarted()
447 public void testRunStarted(String runName, int testCount, int attempt) { in testRunStarted() argument
449 testRunStarted(runName, testCount, attempt, System.currentTimeMillis()); in testRunStarted()
453 public void testRunStarted(String runName, int testCount, int attempt, long startTime) { in testRunStarted() argument
455 super.testRunStarted(mRunName, testCount, attempt, startTime); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java234 public final void testRunStarted(String runName, int testCount) { in testRunStarted() argument
235 testRunStarted(runName, testCount, 0); in testRunStarted()
239 public final void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
240 testRunStarted(runName, testCount, 0, System.currentTimeMillis()); in testRunStarted()
245 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
254 mForwarder.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java237 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
238 testRunStarted(runName, testCount, System.currentTimeMillis()); in testRunStarted()
247 public void testRunStarted(String runName, int testCount, long startTime) { in testRunStarted() argument
253 mExpectedTestCount = testCount; in testRunStarted()
258 runName, mExpectedTestCount, mExpectedTestCount + testCount); in testRunStarted()
259 mExpectedTestCount += testCount; in testRunStarted()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DITestLifeCycleReceiver.java51 public default void testRunStarted(String runName, int testCount) {} in testRunStarted() argument
63 public default void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
64 testRunStarted(runName, testCount); in testRunStarted()
79 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
80 testRunStarted(runName, testCount); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java264 public final void testRunStarted(String runName, int testCount) { in testRunStarted() argument
265 testRunStarted(runName, testCount, 0); in testRunStarted()
269 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
270 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
274 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
279 runBuilder.setNumExpectedChildren(testCount); in testRunStarted()
/tools/tradefederation/contrib/src/com/android/example/
DRebootTest.java49 for (int testCount = 0; testCount < mNumDeviceReboots; testCount++) { in run()
51 String.format("RebootLoop #%d", testCount)); in run()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java136 public final void testRunStarted(String runName, int testCount) { in testRunStarted() argument
137 mForwarder.testRunStarted(runName, testCount); in testRunStarted()
141 public final void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
142 mForwarder.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java84 public TestRunStartedEventInfo(String runName, int testCount) { in TestRunStartedEventInfo() argument
86 mTestCount = testCount; in TestRunStartedEventInfo()
91 public TestRunStartedEventInfo(String runName, int testCount, int attempt, long startTime) { in TestRunStartedEventInfo() argument
93 mTestCount = testCount; in TestRunStartedEventInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/
DDryRunnerTest.java49 assertEquals("Test count should be 3", 3, desc.testCount()); in testFakeExecution()
51 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution()
53 Mockito.verify(list, Mockito.times(desc.testCount())) in testFakeExecution()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java184 int testCount = foundTests.size(); in runTest() local
185 CLog.d("Total test count: %d", testCount); in runTest()
187 listener.testRunStarted(new File(fullPath).getName(), testCount, 0, startTimeMs); in runTest()
DRustBinaryHostTest.java141 int testCount = foundTests.size(); in runSingleRustFile() local
142 CLog.d("Total test count: %d", testCount); in runSingleRustFile()
144 listener.testRunStarted(file.getName(), testCount, 0, startTimeMs); in runSingleRustFile() local
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java122 int testCount = 1; in run() local
125 testCount++; in run()
128 listener.testRunStarted("BatteryCharging", testCount); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java221 private TestRunResult createTestRunResult(String runName, int testCount, int failCount) { in createTestRunResult() argument
223 result.testRunStarted(runName, testCount); in createTestRunResult()
224 for (int i = 0; i < testCount - failCount; i++) { in createTestRunResult()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java177 int testCount = 1; in getInvocationSummary() local
182 sb.append(testCount); in getInvocationSummary()
190 testCount++; in getInvocationSummary()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java332 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
333 super.testRunStarted(runName, testCount); in testRunStarted()
334 mListener.testRunStarted(runName, testCount); in testRunStarted()

12