Home
last modified time | relevance | path

Searched refs:testDescription (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/
DKernelTargetTestTest.java99 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 …]
DExecutableTargetTestTest.java100 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 …]
DKUnitModuleTestTest.java176 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/
DKTapResultParser.java322 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/
DMoblyYamlResultParser.java112 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/
DMetricFilePostProcessor.java97 TestDescription testDescription, in processTestMetricsAndLogs() argument
104 mMetricUtil.storeTestMetrics(testDescription, testMetrics); in processTestMetricsAndLogs()
113 writeMetricFile(filteredTestMetrics, testDescription.toString()); in processTestMetricsAndLogs()
DAggregatePostProcessor.java68 TestDescription testDescription, in processTestMetricsAndLogs() argument
73 String fullTestName = testDescription.toString(); in processTestMetricsAndLogs()
DIPostProcessor.java67 TestDescription testDescription, in processTestMetricsAndLogs() argument
DBasePostProcessor.java90 TestDescription testDescription, in processTestMetricsAndLogs() argument
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java223 TestDescription testDescription = entry.getKey(); in convertMetricsToJson() local
227 testDescription.getClassName(), testDescription.getTestName()); in convertMetricsToJson()
DLUCIResultReporter.java184 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/
DMetricUtility.java87 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/
DRetryRescheduler.java345 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/
DPtsBotTest.java548 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/
DStatsdGenericPostProcessor.java95 TestDescription testDescription, in processTestMetricsAndLogs() argument
98 return processStatsdReportsFromLogs(testLogs, testDescription.toString()); in processTestMetricsAndLogs()
DPerfettoGenericPostProcessor.java183 TestDescription testDescription, in processTestMetricsAndLogs() argument
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DMetricFilePostProcessorTest.java53 public void storeTestMetrics(TestDescription testDescription, in storeTestMetrics() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java769 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/
DITestSuiteTest.java1578 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()