Home
last modified time | relevance | path

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

12

/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()
/tools/tradefederation/core/src/com/android/tradefed/result/
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()
DEventsLoggerListener.java88 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
89 testRunStarted(runName, testCount, 0, System.currentTimeMillis()); in testRunStarted()
93 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
94 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
98 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
102 runName, testCount, attemptNumber)); in testRunStarted()
DResultForwarder.java188 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
191 listener.testRunStarted(runName, testCount); in testRunStarted()
201 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
204 listener.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
214 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
217 listener.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
DSubprocessResultsReporter.java182 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
183 testRunStarted(runName, testCount, 0); in testRunStarted()
188 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
189 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
194 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
196 new TestRunStartedEventInfo(runName, testCount, attemptNumber, startTime); in testRunStarted()
DNameMangleListener.java114 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
116 mListener.testRunStarted(mangledName, testCount); in testRunStarted()
DInvocationToJUnitResultForwarder.java92 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
94 CLog.i("Running %s: %d tests", runName, testCount); in testRunStarted()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java110 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
111 super.testRunStarted(runName, testCount); in testRunStarted()
112 mListener.testRunStarted(runName, testCount); in testRunStarted()
116 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
117 super.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
118 mListener.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
123 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
124 super.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
125 mListener.testRunStarted(runName, testCount, attemptNumber, startTime); 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/test_result_interfaces/com/android/tradefed/result/
DITestLifeCycleReceiver.java52 public default void testRunStarted(String runName, int testCount) {} in testRunStarted() argument
64 public default void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
65 testRunStarted(runName, testCount); in testRunStarted()
80 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
81 testRunStarted(runName, testCount); in testRunStarted()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DForwardingTestListener.java51 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
52 delegate().testRunStarted(runName, testCount); in testRunStarted()
56 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
57 delegate().testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
61 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
62 delegate().testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
DNullTestListener.java44 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
49 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
54 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
/tools/tradefederation/core/javatests/com/android/tradefed/lite/
DDryRunnerTest.java50 assertEquals("Test count should be 3", 3, desc.testCount()); in testFakeExecution()
52 verify(list, Mockito.times(desc.testCount())).testStarted((Description) Mockito.any()); in testFakeExecution()
53 verify(list, Mockito.times(desc.testCount())).testFinished((Description) Mockito.any()); in testFakeExecution()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java338 int testCount = mBinaryPaths.size() + mTestCommands.size(); in split() local
339 if (testCount <= 2) { in split()
346 return splitByShardCount(testCount, shardHint); in split()
365 private Collection<IRemoteTest> splitByShardCount(int testCount, int shardCount) { in splitByShardCount() argument
366 int maxTestCntPerShard = (int) Math.ceil((double) testCount / shardCount); in splitByShardCount()
367 int numFullSizeShards = testCount % maxTestCntPerShard; in splitByShardCount()
376 while (runningTestCount < testCount) { in splitByShardCount()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java498 final int testCount = 4; in testRun_aggregateRunFailures() local
500 testList.add(new TestObject("run1", testCount, false, true)); in testRun_aggregateRunFailures()
545 Mockito.eq(testCount), in testRun_aggregateRunFailures()
889 final int testCount = 5; in testRun_failPreparation_PassAfterModuleRetry() local
891 testList.add(new TestObject("run1", testCount, false)); in testRun_failPreparation_PassAfterModuleRetry()
933 Mockito.eq(testCount), in testRun_failPreparation_PassAfterModuleRetry()
1008 final int testCount = 5; in testRun_fullPass() local
1010 testList.add(new TestObject("run1", testCount, false)); in testRun_fullPass()
1039 Mockito.eq(testCount), in testRun_fullPass()
1042 verify(mMockListener, times(testCount)) in testRun_fullPass()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java515 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
516 super.testRunStarted(runName, testCount); in testRunStarted()
521 public void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
522 super.testRunStarted(runName, testCount, attemptNumber); in testRunStarted()
528 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
529 super.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java196 public final void testRunStarted(String runName, int testCount) { in testRunStarted() argument
197 testRunStarted(runName, testCount, 0, System.currentTimeMillis()); in testRunStarted()
201 public final void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
202 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
207 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
209 mForwarder.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java471 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
473 testRunStarted(runName, testCount, 0); in testRunStarted()
477 public void testRunStarted(String runName, int testCount, int attempt) { in testRunStarted() argument
479 testRunStarted(runName, testCount, attempt, System.currentTimeMillis()); in testRunStarted()
483 public void testRunStarted(String runName, int testCount, int attempt, long startTime) { in testRunStarted() argument
485 super.testRunStarted(mRunName, testCount, attempt, startTime); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java333 public final void testRunStarted(String runName, int testCount) { in testRunStarted() argument
334 testRunStarted(runName, testCount, 0); in testRunStarted()
338 public final void testRunStarted(String runName, int testCount, int attemptNumber) { in testRunStarted() argument
339 testRunStarted(runName, testCount, 0, System.currentTimeMillis()); in testRunStarted()
344 String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
351 onTestRunStart(mRunData, testCount); in testRunStarted()
362 mForwarder.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java262 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
263 testRunStarted(runName, testCount, System.currentTimeMillis()); in testRunStarted()
272 public void testRunStarted(String runName, int testCount, long startTime) { in testRunStarted() argument
278 mExpectedTestCount = testCount; in testRunStarted()
283 runName, mExpectedTestCount, mExpectedTestCount + testCount); in testRunStarted()
284 mExpectedTestCount += testCount; in testRunStarted()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java175 int testCount = foundTests.size(); in runSingleRustFile() local
176 CLog.d("Total test count: %d", testCount); in runSingleRustFile()
178 listener.testRunStarted(file.getName(), testCount, 0, startTimeMs); in runSingleRustFile() local
179 if (testCount > 0) { in runSingleRustFile()
DRustBinaryTest.java226 int testCount = foundTests.size(); in runTest() local
227 CLog.d("Total test count: %d", testCount); in runTest()
230 listener.testRunStarted(name, testCount, 0, startTimeMs); in runTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationListener.java104 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
107 if (testCount == 0 && mExpectedTests != null && !mExpectedTests.isEmpty()) { in testRunStarted()
111 super.testRunStarted(runName, testCount); in testRunStarted()
/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/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java85 String testCount = getMandatoryAttribute(name, "tests", attributes); in startElement() local
86 mMetrics.setNumTests(Integer.parseInt(testCount)); in startElement()

12