Home
last modified time | relevance | path

Searched refs:getTestName (Results 1 – 25 of 49) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestDescriptionTest.java80 assertEquals("testName", mDescription.getTestName()); in testCreateDescription()
92 assertEquals("testName", mDescription.getTestName()); in testCreateDescription_noAnnotation()
102 assertEquals("testName[0]", mDescription.getTestName()); in testCreateDescription_parameterized()
106 assertEquals("testName[key=value]", mDescription.getTestName()); in testCreateDescription_parameterized()
110 assertEquals("testName[key=\"quoted value\"]", mDescription.getTestName()); in testCreateDescription_parameterized()
114 assertEquals("testName[key:22]", mDescription.getTestName()); in testCreateDescription_parameterized()
122 mDescription.getTestName()); in testCreateDescription_parameterized()
DXmlResultReporterTest.java128 testId.getTestName(), testId.getClassName()); in testSinglePass()
154 testId.getTestName(), testId.getClassName()); in testSingleFail()
183 testId.getTestName(), testId.getClassName()); in testSingleIgnored()
214 testId.getTestName(), testId.getClassName()); in testSingleAssumptionFailure()
DMetricsXMLResultReporterTest.java94 testId.getTestName(), testId.getClassName()); in testRunMetrics()
121 testId.getTestName(), testId.getClassName()); in testTestMetrics()
147 testId.getTestName(), testId.getClassName()); in testTestFailMetrics()
DJUnitToInvocationResultForwarderTest.java142 assertEquals("testbaseWithAnnotation", desc.getTestName()); in testStartTest_annotations()
/tools/tradefederation/core/javatests/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarderTest.java57 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding()
59 TestDescription td2 = new TestDescription(tid2.getClassName(), tid2.getTestName()); in testForwarding()
87 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding_null()
96 tid2.getTestName(), in testForwarding_null()
126 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding_null_ignored()
128 TestDescription td2 = new TestDescription(tid2.getClassName(), tid2.getTestName()); in testForwarding_null_ignored()
158 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding_initError()
167 tid2.getTestName(), in testForwarding_initError()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java111 public String getTestName() { in getTestName() method in TestDescription
155 return String.format("%s#%s", getClassName(), getTestName()); in toString()
180 return new TestDescription(testId.getClassName(), testId.getTestName()); in createFromTestIdentifier()
191 return new TestIdentifier(desc.getClassName(), desc.getTestName()); in convertToIdentifier()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java81 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), trace); in testAssumptionFailure()
94 testId.getClassName(), testId.getTestName(), endTime, metrics); in testEnded()
101 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), reason); in testFailed()
107 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored()
119 new TestStartedEventInfo(testId.getClassName(), testId.getTestName(), startTime); in testStarted()
DSubprocessResultsReporter.java95 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), trace); in testAssumptionFailure()
103 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), failure); in testAssumptionFailure()
111 new SkippedTestEventInfo(testId.getClassName(), testId.getTestName(), reason); in testSkipped()
128 testId.getTestName(), in testEnded()
138 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), reason); in testFailed()
146 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), failure); in testFailed()
153 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored()
218 new TestStartedEventInfo(testId.getClassName(), testId.getTestName(), startTime); in testStarted()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2StressTest.java99 test.getTestName() + entry.getKey(), in testEnded()
104 parseLog(test.getTestName(), namedTestMetrics); in testEnded()
120 if (!remoteFile.getName().contains(test.getTestName())) { in postScreenshotOnFailure()
122 + "test (%s)", remoteFile.getName(), test.getTestName()); in postScreenshotOnFailure()
DCameraTestMetricsCollectionListener.java82 mFatalErrors.put(test.getTestName(), trace); in testFailed()
83 LogUtil.CLog.d("Test (%s) failed due to fatal error : %s", test.getTestName(), trace); in testFailed()
158 String logName = String.format("meminfo_%s", test.getTestName()); in stopDumping()
169 String logName = String.format("ps_%s", test.getTestName()); in stopDumping()
DTestRunHelper.java60 mListener.testRunStarted(mTestId.getTestName(), numberOfTests); in startTest()
DCameraShotLatencyTest.java70 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded()
DCameraBurstStartupTest.java66 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded()
DCamera2LatencyTest.java66 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java184 assertEquals(DEFAULT_TEST_NAME, mStartedDescCaptor.getValue().getTestName()); in testReportToListenersPassRecord()
188 assertEquals(DEFAULT_TEST_NAME, mEndDescCaptor.getValue().getTestName()); in testReportToListenersPassRecord()
208 assertEquals(DEFAULT_TEST_NAME, mStartedDescCaptor.getValue().getTestName()); in testReportToListenersFailRecord()
211 assertEquals(DEFAULT_TEST_NAME, mFailedDescCaptor.getValue().getTestName()); in testReportToListenersFailRecord()
223 assertEquals(DEFAULT_TEST_NAME, mEndDescCaptor.getValue().getTestName()); in testReportToListenersFailRecord()
263 assertEquals(DEFAULT_TEST_NAME, ((Record) result).getTestName()); in testParseDocumentMapRecordPass()
279 assertEquals(DEFAULT_TEST_NAME, ((Record) result).getTestName()); in testParseDocumentMapRecordFail()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java310 text.append(testId.getTestName()); in createPerformanceReport()
327 testId.getTestName(), in createPerformanceReport()
338 text.append(testId.getTestName()); in createPerformanceReport()
347 text.append(testId.getTestName()); in createPerformanceReport()
352 text.append(testId.getTestName()); in createPerformanceReport()
/tools/tradefederation/core/src/com/android/tradefed/util/
DLocalRunInstructionBuilder.java108 if (testId.getTestName().equals(testId.getTestNameWithoutParams())) { in getCommand()
109 testName.append(String.format("#%s", testId.getTestName())); in getCommand()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DKernelTargetTest.java132 String testName = description.getTestName(); in runBinary()
170 description.getTestName(), in checkCommandResult()
DKUnitModuleTest.java176 description.getTestName(), ktapResults); in runBinary()
181 description.getTestName(), in runBinary()
DExecutableBaseTest.java202 testDescriptions.length == 1 ? testDescriptions[0].getTestName() : moduleId; in run()
209 String testName = description.getTestName(); in run()
265 String testName = description.getTestName(); in shouldSkipCurrentTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java113 new TestDescription(record.getTestClass(), record.getTestName()); in reportToListeners()
121 if (!testDescription.getTestName().startsWith("test_")) { in reportToListeners()
DMoblyYamlResultRecordHandler.java79 public String getTestName() { in getTestName() method in MoblyYamlResultRecordHandler.Record
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java70 if (INVALID_METHODS.contains(testId.getTestName())) { in testStarted()
157 ERROR_MESSAGE_FORMAT, mInvalidMethod.getTestName(), mInvalidMethod); in testEnded()
/tools/tradefederation/contrib/src/com/android/continuous/
DSmokeTest.java97 final String method = test.getTestName(); in mangleTestId()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java587 String.format("%s#%s", testCase.getClassName(), testCase.getTestName()); in addRetriedTestsToFilters()
597 String filter = String.format("%s#%s", testCase.getClassName(), testCase.getTestName()); in excludePassedTests()
636 String.format("%s#%s", testCase.getClassName(), testCase.getTestName()); in excludeNonRetriableFailure()
643 String.format("%s#%s", testCase.getClassName(), testCase.getTestName()); in excludeNonRetriableFailure()

12