Home
last modified time | relevance | path

Searched refs:runName (Results 1 – 25 of 71) sorted by relevance

123

/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()
DConsoleResultReporter.java93 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
94 super.testRunStarted(runName, testCount); in testRunStarted()
95 mRunInProgress = runName; in testRunStarted()
108 String runName = mRunInProgress != null ? mRunInProgress : "unknown"; in testRunEnded() local
111 sb.append(runName); in testRunEnded()
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()
/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/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java311 String runName = pyFile.getName(); in runSinglePythonFile() local
312 PythonForwarder forwarder = new PythonForwarder(listener, runName); in runSinglePythonFile()
326 testLogFile(listener, String.format(PYTHON_LOG_STDERR_FORMAT, runName), stderrFile); in runSinglePythonFile()
338 String.format(PYTHON_LOG_TEST_OUTPUT_FORMAT, runName), in runSinglePythonFile()
379 String.format(PYTHON_LOG_TEST_OUTPUT_FORMAT, runName)); in runSinglePythonFile()
382 reportFailure(listener, runName, message.toString()); in runSinglePythonFile()
406 ITestInvocationListener listener, String runName, String errorMessage) { in reportFailure() argument
407 listener.testRunStarted(runName, 0); in reportFailure()
432 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
434 testRunStarted(runName, testCount, 0); in testRunStarted()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeCodeCoverageListener.java98 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
99 super.testRunStarted(runName, testCount); in testRunStarted()
100 mCurrentRunName = runName; in testRunStarted()
115 public void logCoverageMeasurements(String runName) { in logCoverageMeasurements() argument
139 testLog(runName + "_native_runtime_coverage", LogDataType.NATIVE_COVERAGE, source); in logCoverageMeasurements()
DNativeBenchmarkTest.java183 String runName = (mReportRunName == null ? rootEntry.getName() : mReportRunName); in doRunAllTestsInSubdirectory() local
194 listener.testRunStarted(runName, 0); in doRunAllTestsInSubdirectory()
199 NativeBenchmarkTestParser resultParser = createResultParser(runName); in doRunAllTestsInSubdirectory()
242 NativeBenchmarkTestParser createResultParser(String runName) { in createResultParser() argument
243 return new NativeBenchmarkTestParser(runName); in createResultParser()
DClangCodeCoverageListener.java105 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
106 mCurrentRunName = runName; in testRunStarted()
107 super.testRunStarted(runName, testCount); in testRunStarted()
148 private void logCoverageMeasurement(String runName) in logCoverageMeasurement() argument
191 FileUtil.createTempFile(runName + "_clang_runtime_coverage", ".profdata"); in logCoverageMeasurement()
206 testLog(runName + "_clang_runtime_coverage", LogDataType.CLANG_COVERAGE, source); in logCoverageMeasurement()
DInstrumentationSerialTest.java134 public void testRunStarted(String runName, int testCount) { in runTest()
135 super.testRunStarted(runName, 0); in runTest()
140 String runName, int testCount, int attemptNumber) { in runTest()
141 super.testRunStarted(runName, 0, attemptNumber); in runTest()
DDeviceTestCase.java124 String runName = this.getClass().getName(); in run() local
128 CLog.v("Skipping empty test case %s", runName); in run()
131 listener.testRunStarted(runName, testMethodNames.size()); in run()
133 TestDescription testId = new TestDescription(runName, methodName); in run()
139 listener.testRunStarted(runName, 1); in run()
140 TestDescription testId = new TestDescription(runName, getName()); in run()
DNativeStressTestParser.java56 public NativeStressTestParser(String runName) { in NativeStressTestParser() argument
57 mTestRunName = runName; in NativeStressTestParser()
DJUnitRunUtil.java41 public static boolean runTest(ITestInvocationListener listener, Test junitTest, String runName) in runTest() argument
46 listener.testRunStarted(runName, junitTest.countTestCases()); in runTest()
DPythonUnitTestResultParser.java178 public PythonUnitTestResultParser(ITestInvocationListener listener, String runName) { in PythonUnitTestResultParser() argument
179 this(Arrays.asList(listener), runName); in PythonUnitTestResultParser()
187 Collection<ITestInvocationListener> listeners, String runName) { in PythonUnitTestResultParser() argument
188 this(listeners, runName, new LinkedHashSet<>(), new LinkedHashSet<>()); in PythonUnitTestResultParser()
197 String runName, in PythonUnitTestResultParser() argument
201 mRunName = runName; in PythonUnitTestResultParser()
DInstrumentationListener.java77 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
81 super.testRunStarted(runName, mExpectedTests.size()); in testRunStarted()
83 super.testRunStarted(runName, testCount); in testRunStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DArtRunTestTest.java177 String runName = "ArtRunTest_abi"; in testRunSingleTest() local
179 mMockInvocationListener.testRunStarted(runName, 1); in testRunSingleTest()
180 TestDescription testId = new TestDescription(runName, RUN_TEST_NAME); in testRunSingleTest()
215 String runName = "ArtRunTest_abi"; in testRunSingleTest_unexpectedOutput() local
217 mMockInvocationListener.testRunStarted(runName, 1); in testRunSingleTest_unexpectedOutput()
218 TestDescription testId = new TestDescription(runName, RUN_TEST_NAME); in testRunSingleTest_unexpectedOutput()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java632 private TestRunResult createResultWithLog(String runName, int count, LogDataType type) { in createResultWithLog() argument
634 fakeRes.testRunStarted(runName, count); in createResultWithLog()
637 new TestDescription("com.class." + runName, runName + ".method" + i); in createResultWithLog()
640 runName + "log" + i, new LogFile("path", "http:url/" + runName, type)); in createResultWithLog()
648 String runName, int passed, int failed, int assumptionFailures, int testIgnored) { in createFakeResult() argument
650 runName, passed, failed, assumptionFailures, testIgnored, false, false); in createFakeResult()
654 String runName, in createFakeResult() argument
662 fakeRes.testRunStarted(runName, passed + failed); in createFakeResult()
665 new TestDescription("com.class." + runName, runName + ".method" + i); in createFakeResult()
671 new TestDescription("com.class." + runName, runName + ".failed" + i); in createFakeResult()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestResultParser.java76 public RustTestResultParser(ITestInvocationListener listener, String runName) { in RustTestResultParser() argument
77 this(Arrays.asList(listener), runName); in RustTestResultParser()
87 public RustTestResultParser(Collection<ITestInvocationListener> listeners, String runName) { in RustTestResultParser() argument
89 mCurrentTestFile = runName; in RustTestResultParser()
DRustBinaryHostTest.java158 String runName = file.getName(); in runSingleRustFile() local
160 listener.testRunStarted(runName, testCount, 0, startTimeMs); in runSingleRustFile()
178 String.format(RUST_LOG_STDERR_FORMAT, runName), LogDataType.TEXT, data); in runSingleRustFile()
181 new RustTestResultParser(listener, runName).processNewLines(lines); in runSingleRustFile()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DDefaultRemoteAndroidTestRunner.java40 String runName, Collection<ITestRunListener> listeners) { in createParser() argument
42 (InstrumentationResultParser) super.createParser(runName, listeners); in createParser()
/tools/tradefederation/core/src/com/android/tradefed/util/
DJUnitXmlParser.java89 String runName = (mRunName != null) ? mRunName : testSuiteName; in startElement() local
90 mTestListener.testRunStarted(runName, testCount); in startElement()
203 public JUnitXmlParser(String runName, ITestInvocationListener listener) { in JUnitXmlParser() argument
204 mRunName = runName; in JUnitXmlParser()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DBugreportCollectorTest.java311 private TestDescription injectTestRun(String runName, String testName, String metricValue) { in injectTestRun() argument
312 return injectTestRun(runName, testName, metricValue, false); in injectTestRun()
322 String runName, String testName, String metricValue, boolean shouldFail) { in injectTestRun() argument
328 mCollector.testRunStarted(runName, 1); in injectTestRun()
340 ITestInvocationListener listener, String runName, String testName) { in setListenerTestRunExpectations() argument
341 setListenerTestRunExpectations(listener, runName, testName, false); in setListenerTestRunExpectations()
346 ITestInvocationListener listener, String runName, String testName, boolean shouldFail) { in setListenerTestRunExpectations() argument
347 listener.testRunStarted(EasyMock.eq(runName), EasyMock.eq(1)); in setListenerTestRunExpectations()
/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
247 mRunName = runName; in testRunStarted()
254 mForwarder.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java132 public TestObject(String runName, int numTest, boolean shouldThrow) { in TestObject() argument
133 mRunName = runName; in TestObject()
139 String runName, int numTest, boolean shouldThrow, boolean deviceUnresponsive) { in TestObject() argument
140 this(runName, numTest, shouldThrow); in TestObject()
145 String runName, in TestObject() argument
150 this(runName, numTest, shouldThrow, deviceUnresponsive); in TestObject()
220 String runName = mBaseRunName + j; in run() local
222 listener.testRunStarted(runName, mNumTest); in run()
224 listener.testRunStarted(runName, mIncludeFilters.size() / mRepeatedRun); in run()
228 TestDescription test = new TestDescription(runName + "class", "test" + i); in run()
[all …]

123