/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 133 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/ |
D | XmlSuiteResultFormatterTest.java | 632 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/ |
D | PythonBinaryHostTest.java | 314 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/ |
D | BugreportCollectorTest.java | 311 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/ |
D | RetryLogSaverResultForwarder.java | 35 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/ |
D | BaseDeviceMetricCollector.java | 234 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/ |
D | ArtRunTestTest.java | 177 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/ |
D | ClangCodeCoverageListener.java | 105 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()
|
D | DeviceTestCase.java | 124 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()
|
D | PythonUnitTestResultParser.java | 178 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()
|
D | NativeCodeCoverageListener.java | 98 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()
|
D | NativeBenchmarkTest.java | 183 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()
|
D | GoogleBenchmarkTest.java | 177 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()
|
D | GTestBase.java | 532 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()
|
D | InstrumentationSerialTest.java | 134 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()
|
D | UiAutomatorRunner.java | 295 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/ |
D | ResultForwarder.java | 172 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()
|
D | SubprocessResultsReporter.java | 157 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()
|
D | ConsoleResultReporter.java | 93 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()
|
D | RetryResultForwarder.java | 29 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/ |
D | ITestLifeCycleReceiver.java | 51 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/ |
D | ProtoResultReporter.java | 264 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/ |
D | TestRunResult.java | 237 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/ |
D | RustTestResultParser.java | 76 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/ |
D | JUnitXmlParser.java | 89 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()
|