Home
last modified time | relevance | path

Searched refs:testCount (Results 1 – 25 of 43) 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()
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()
DNameMangleListener.java112 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
114 mListener.testRunStarted(mangledName, testCount); in testRunStarted()
DInvocationToJUnitResultForwarder.java95 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
97 Log.i(LOG_TAG, String.format("Running %s: %d tests", runName, testCount)); in testRunStarted()
DStubTestRunListener.java80 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
/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/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/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/
DRustTestBase.java71 int testCount = 0; in parseTestListCount() local
75 testCount = Integer.parseInt(matcher.group(1)); in parseTestListCount()
88 return testCount; in parseTestListCount()
DRustBinaryHostTest.java141 int testCount = 0; in runSingleRustFile() local
148 testCount = parseTestListCount(listResult.getStdout().split("\n")); in runSingleRustFile()
160 listener.testRunStarted(runName, testCount, 0, startTimeMs); in runSingleRustFile()
DRustBinaryTest.java170 int testCount = 0; in runTest() local
173 testCount = parseTestListCount(testList); in runTest()
181 listener.testRunStarted(new File(fullPath).getName(), testCount, 0, startTimeMs); in runTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
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()
DNativeCodeCoverageListener.java98 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
99 super.testRunStarted(runName, testCount); in testRunStarted()
DInstrumentationSerialTest.java134 public void testRunStarted(String runName, int testCount) { in runTest()
140 String runName, int testCount, int attemptNumber) { in runTest()
/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/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java432 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
434 testRunStarted(runName, testCount, 0); in testRunStarted()
438 public void testRunStarted(String runName, int testCount, int attempt) { in testRunStarted() argument
440 testRunStarted(runName, testCount, attempt, System.currentTimeMillis()); in testRunStarted()
444 public void testRunStarted(String runName, int testCount, int attempt, long startTime) { in testRunStarted() argument
446 super.testRunStarted(mRunName, testCount, attempt, 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/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java103 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
104 super.testRunStarted(runName, testCount); in testRunStarted()
105 mListener.testRunStarted(runName, testCount); in testRunStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java501 final int testCount = 4; in testRun_aggregateRunFailures() local
503 testList.add(new TestObject("run1", testCount, false, true)); in testRun_aggregateRunFailures()
532 EasyMock.eq(testCount), in testRun_aggregateRunFailures()
896 final int testCount = 5; in testRun_fullPass() local
898 testList.add(new TestObject("run1", testCount, false)); in testRun_fullPass()
923 EasyMock.eq(testCount), in testRun_fullPass()
926 for (int i = 0; i < testCount; i++) { in testRun_fullPass()
946 final int testCount = 4; in testRun_partialRun() local
948 testList.add(new TestObject("run1", testCount, true)); in testRun_partialRun()
974 EasyMock.eq(testCount), in testRun_partialRun()
[all …]
/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/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/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.java84 String testCount = getMandatoryAttribute(name, "tests", attributes); in startElement() local
85 mMetrics.setNumTests(Integer.parseInt(testCount)); in startElement()

12