Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java133 public TestObject(String runName, int numTest, boolean shouldThrow) { in TestObject() argument
134 mRunName = runName; in TestObject()
140 String runName, int numTest, boolean shouldThrow, boolean deviceUnresponsive) { in TestObject() argument
141 this(runName, numTest, shouldThrow); in TestObject()
146 String runName, in TestObject() argument
151 this(runName, numTest, shouldThrow, deviceUnresponsive); in TestObject()
223 String runName = mBaseRunName + j; in run() local
225 listener.testRunStarted(runName, mNumTest); in run()
227 listener.testRunStarted(runName, mIncludeFilters.size() / mRepeatedRun); in run()
231 TestDescription test = new TestDescription(runName + "class", "test" + i); in run()
[all …]
/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/python/
DPythonBinaryHostTest.java314 String runName = pyFile.getName(); in runSinglePythonFile() local
315 PythonForwarder forwarder = new PythonForwarder(listener, runName); in runSinglePythonFile()
326 String.format(PYTHON_LOG_STDOUT_FORMAT, runName), LogDataType.TEXT, data); in runSinglePythonFile()
335 testLogFile(listener, String.format(PYTHON_LOG_STDERR_FORMAT, runName), stderrFile); in runSinglePythonFile()
347 String.format(PYTHON_LOG_TEST_OUTPUT_FORMAT, runName), in runSinglePythonFile()
388 String.format(PYTHON_LOG_TEST_OUTPUT_FORMAT, runName)); in runSinglePythonFile()
391 reportFailure(listener, runName, message.toString()); in runSinglePythonFile()
415 ITestInvocationListener listener, String runName, String errorMessage) { in reportFailure() argument
416 listener.testRunStarted(runName, 0); in reportFailure()
441 public void testRunStarted(String runName, int testCount) { in testRunStarted() argument
[all …]
/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/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/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/
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/test_framework/com/android/tradefed/testtype/
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()
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()
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()
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()
DGoogleBenchmarkTest.java177 String runName = (mReportRunName == null ? rootEntry : mReportRunName); in doRunAllTestsInSubdirectory() local
198 GoogleBenchmarkResultParser resultParser = createResultParser(runName, listener); in doRunAllTestsInSubdirectory()
199 listener.testRunStarted(runName, numTests); in doRunAllTestsInSubdirectory()
309 GoogleBenchmarkResultParser createResultParser(String runName, in createResultParser() argument
311 return new GoogleBenchmarkResultParser(runName, listener); in createResultParser()
DGTestBase.java532 IShellOutputReceiver createResultParser(String runName, ITestInvocationListener listener) { in createResultParser() argument
535 GTestListTestParser resultParser = new GTestListTestParser(runName, listener); in createResultParser()
539 GTestResultParser resultParser = new GTestResultParser(runName, listener); in createResultParser()
544 erasePrependedFileName(mExcludeFilters, runName); in createResultParser()
545 erasePrependedFileName(mIncludeFilters, runName); in createResultParser()
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()
DUiAutomatorRunner.java295 public void setRunName(String runName) { in setRunName() argument
296 mRunName = runName; in setRunName()
316 String runName = mRunName == null ? mPackageName : mRunName; in run() local
317 mParser = new InstrumentationResultParser(runName, listeners); in run()
/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()
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()
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()
/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
278 runBuilder.setTestRecordId(runName); 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
258 runName, mExpectedTestCount, mExpectedTestCount + testCount); in testRunStarted()
261 mTestRunName = runName; in testRunStarted()
/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()
/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()

123