/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/ |
D | KernelTargetTestTest.java | 99 TestDescription testDescription = new TestDescription(TEST_NAME_1, TEST_NAME_1); in test_exitCodeSkip() local 100 mKernelTargetTest.checkCommandResult(mCommandResult, mListener, testDescription); in test_exitCodeSkip() 101 Mockito.verify(mListener, Mockito.times(1)).testIgnored(eq(testDescription)); in test_exitCodeSkip() 114 TestDescription testDescription = new TestDescription(TEST_NAME_1, TEST_NAME_1); in test_mismatchedExitCodeSkip() local 115 mKernelTargetTest.checkCommandResult(mCommandResult, mListener, testDescription); in test_mismatchedExitCodeSkip() 116 Mockito.verify(mListener, Mockito.never()).testIgnored(eq(testDescription)); in test_mismatchedExitCodeSkip() 128 TestDescription testDescription = new TestDescription(TEST_NAME_1, TEST_NAME_1); in test_noExitCodeSkip() local 129 mKernelTargetTest.checkCommandResult(mCommandResult, mListener, testDescription); in test_noExitCodeSkip() 130 Mockito.verify(mListener, Mockito.never()).testIgnored(eq(testDescription)); in test_noExitCodeSkip() 191 TestDescription testDescription = new TestDescription(TEST_NAME_1, TEST_NAME_1); [all …]
|
D | ExecutableTargetTestTest.java | 100 TestDescription testDescription = new TestDescription(testName1, testName1); in testRun_cmdSuccess() local 101 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess() 104 Mockito.eq(testDescription), in testRun_cmdSuccess() 194 TestDescription testDescription = new TestDescription(testName1, testName1); in testRun_cmdFailed() local 195 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdFailed() 196 Mockito.verify(mListener, Mockito.times(1)).testFailed(testDescription, ERROR_MESSAGE); in testRun_cmdFailed() 199 Mockito.eq(testDescription), in testRun_cmdFailed() 238 TestDescription testDescription = new TestDescription(testName1, testName1); in testRun_addExcludeFilter() local 246 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addExcludeFilter() 249 Mockito.eq(testDescription), in testRun_addExcludeFilter() [all …]
|
D | KUnitModuleTestTest.java | 176 for (TestDescription testDescription : testDescriptions) { in test_success() 177 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in test_success() 180 Mockito.eq(testDescription), in test_success()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | KTapResultParser.java | 322 TestDescription testDescription = new TestDescription(testRunName, testName); in applyAggregatedTopLevelToListener() local 323 listener.testStarted(testDescription); in applyAggregatedTopLevelToListener() 325 listener.testFailed(testDescription, fullKTapResult); in applyAggregatedTopLevelToListener() 327 listener.testEnded(testDescription, new HashMap<String, Metric>()); in applyAggregatedTopLevelToListener() 335 TestDescription testDescription = new TestDescription(testRunName, testName); in applyTestResultToListener() local 336 listener.testStarted(testDescription); in applyTestResultToListener() 340 listener.testFailed(testDescription, test.createDiagnosticTrace()); in applyTestResultToListener() 346 listener.testFailed(testDescription, test.createDiagnosticTrace()); in applyTestResultToListener() 358 listener.testIgnored(testDescription); in applyTestResultToListener() 361 listener.testEnded(testDescription, new HashMap<String, Metric>()); in applyTestResultToListener()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParser.java | 112 TestDescription testDescription = in reportToListeners() local 121 if (!testDescription.getTestName().startsWith("test_")) { in reportToListeners() 135 listener.testStarted(testDescription, record.getBeginTime()); in reportToListeners() 138 listener.testIgnored(testDescription); in reportToListeners() 141 listener.testFailed(testDescription, failureDescription); in reportToListeners() 144 testDescription, in reportToListeners()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | MetricFilePostProcessor.java | 97 TestDescription testDescription, in processTestMetricsAndLogs() argument 104 mMetricUtil.storeTestMetrics(testDescription, testMetrics); in processTestMetricsAndLogs() 113 writeMetricFile(filteredTestMetrics, testDescription.toString()); in processTestMetricsAndLogs()
|
D | AggregatePostProcessor.java | 68 TestDescription testDescription, in processTestMetricsAndLogs() argument 73 String fullTestName = testDescription.toString(); in processTestMetricsAndLogs()
|
D | IPostProcessor.java | 67 TestDescription testDescription, in processTestMetricsAndLogs() argument
|
D | BasePostProcessor.java | 90 TestDescription testDescription, in processTestMetricsAndLogs() argument
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporter.java | 223 TestDescription testDescription = entry.getKey(); in convertMetricsToJson() local 227 testDescription.getClassName(), testDescription.getTestName()); in convertMetricsToJson()
|
D | LUCIResultReporter.java | 184 TestDescription testDescription = entry.getKey(); in convertMetricsToJson() local 191 String testId = String.join(SEPARATOR, testDescription.getClassName(), in convertMetricsToJson() 192 testDescription.getTestName()); in convertMetricsToJson()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | MetricUtility.java | 87 public void storeTestMetrics(TestDescription testDescription, in storeTestMetrics() argument 98 .join(testDescription.getClassName(), testDescription.getTestName()) in storeTestMetrics()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 345 BaseTestSuite suite, TestRunResult moduleResult, String testDescription) { in addExcludeToConfig() argument 347 if (testDescription != null) { in addExcludeToConfig() 348 filter = String.format("%s %s", filter, testDescription); in addExcludeToConfig()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/ |
D | PtsBotTest.java | 548 TestDescription testDescription = new TestDescription(profile, testName); in runPtsBotTest() local 550 listener.testStarted(testDescription); in runPtsBotTest() 641 testDescription, in runPtsBotTest() 649 listener.testEnded(testDescription, Collections.emptyMap()); in runPtsBotTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/ |
D | StatsdGenericPostProcessor.java | 95 TestDescription testDescription, in processTestMetricsAndLogs() argument 98 return processStatsdReportsFromLogs(testLogs, testDescription.toString()); in processTestMetricsAndLogs()
|
D | PerfettoGenericPostProcessor.java | 183 TestDescription testDescription, in processTestMetricsAndLogs() argument
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | MetricFilePostProcessorTest.java | 53 public void storeTestMetrics(TestDescription testDescription, in storeTestMetrics() argument
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 769 TestDescription testDescription = in runJUnit4Tests() local 771 listener.testStarted(testDescription); in runJUnit4Tests() 772 listener.testIgnored(testDescription); in runJUnit4Tests() 773 listener.testEnded(testDescription, new HashMap<String, Metric>()); in runJUnit4Tests()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 1578 TestDescription testDescription = new TestDescription(EMPTY_CONFIG, EMPTY_CONFIG); in testRun_coverageOptionsCopied() local 1589 verify(mMockListener).testStarted(testDescription, 0); in testRun_coverageOptionsCopied() 1590 verify(mMockListener).testEnded(testDescription, 5, new HashMap<String, Metric>()); in testRun_coverageOptionsCopied()
|