Home
last modified time | relevance | path

Searched refs:getClassName (Results 1 – 25 of 56) sorted by relevance

123

/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java77 Log.v(getClassName(2), message); in v()
89 Log.v(getClassName(2), String.format(format, args)); in v()
99 Log.d(getClassName(2), message); in d()
111 Log.d(getClassName(2), String.format(format, args)); in d()
121 Log.i(getClassName(2), message); in i()
133 Log.i(getClassName(2), String.format(format, args)); in i()
143 Log.w(getClassName(2), message); in w()
154 Log.w(getClassName(2), getStackTraceString(t)); in w()
166 Log.w(getClassName(2), String.format(format, args)); in w()
176 Log.e(getClassName(2), message); in e()
[all …]
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationResultForwarder.java57 .setClassName(desc.getClassName()) in testFailure()
74 .setClassName(desc.getClassName()) in testAssumptionFailure()
92 .setClassName(description.getClassName()) in testStarted()
107 .setClassName(description.getClassName()) in testFinished()
122 .setClassName(description.getClassName()) in testIgnored()
137 .setClassName(description.getClassName()) in testRunStarted()
DIsolationFilter.java70 String className = desc.getClassName(); in checkFilters()
127 classObj = Class.forName(desc.getClassName()); in getPackageName()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DAndroidJUnitTestTest.java153 mMockRemoteRunner.addInstrumentationArg("class", TEST1.getClassName()); in testRun_includeAndExcludeFilterClass()
157 mAndroidJUnitTest.addIncludeFilter(TEST1.getClassName()); in testRun_includeAndExcludeFilterClass()
246 mMockRemoteRunner.addInstrumentationArg("class", TEST1.getClassName()); in testRun_includeAndExcludeFilters()
252 mAndroidJUnitTest.addIncludeFilter(TEST1.getClassName()); in testRun_includeAndExcludeFilters()
321 mMockRemoteRunner.addInstrumentationArg("class", TEST1.getClassName()); in testRun_testFileAndFilters()
337 mAndroidJUnitTest.addIncludeFilter(TEST1.getClassName()); in testRun_testFileAndFilters()
373 mAndroidJUnitTest.addIncludeFilter(TEST1.getClassName()); in testRun_testFileAndFilters_fails()
DInstrumentationSerialTestTest.java106 assertEquals(test.getClassName(), mockITest.getClassName()); in testRun()
165 assertEquals(test.getClassName(), mockITest.getClassName()); in testRun_runFailure()
228 assertEquals(test.getClassName(), mockITest.getClassName()); in testRun_package()
DHostTestTest.java1603 assertEquals(Junit4MalformedTestClass.class.getName(), captured.getValue().getClassName()); in testRun_Junit4Test_malformed()
1734 mListener.testRunStarted(test.getClassName(), 1); in testRun_junit_suite_split_by_method()
2148 mListener.testRunStarted(tid.getClassName(), 1); in testSplit_excludeFilter_shardUnit_Method()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java291 event.getClassName(), event.getMethodName()); in executeTests()
298 event.getClassName(), event.getMethodName()); in executeTests()
304 event.getClassName(), event.getMethodName()); in executeTests()
310 event.getClassName(), event.getMethodName()); in executeTests()
316 event.getClassName(), event.getMethodName()); in executeTests()
321 event.getClassName(), event.getTestCount()); in executeTests()
DHostTest.java369 checkRunner.getDescription().getClassName())) { in countTestCases()
625 runJUnit4Tests(listener, checkRunner, desc.getClassName()); in runTestCases()
627 listener.testRunStarted(desc.getClassName(), 0); in runTestCases()
711 new TestDescription(d.getClassName(), "No Tests"); in runJUnit4Tests()
723 checkRunner.getDescription().getClassName())) { in runJUnit4Tests()
972 String className = getClassName(je.getName()); in getClasses()
1319 private String getClassName(String name) { in getClassName() method in HostTest
DUiAutomatorTest.java449 test.getClassName(), test.getTestName())); in captureFailureLog()
468 test.getClassName(), test.getTestName())); in testEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java50 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), trace); in testAssumptionFailure()
63 testId.getClassName(), testId.getTestName(), endTime, metrics); in testEnded()
70 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), reason); in testFailed()
76 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored()
88 new TestStartedEventInfo(testId.getClassName(), testId.getTestName(), startTime); in testStarted()
DSubprocessResultsReporter.java94 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), trace); in testAssumptionFailure()
110 testId.getClassName(), in testEnded()
121 new FailedTestEventInfo(testId.getClassName(), testId.getTestName(), reason); in testFailed()
128 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored()
193 new TestStartedEventInfo(testId.getClassName(), testId.getTestName(), startTime); in testStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java195 assertEquals(DEFAULT_TEST_CLASS, mStartedDescCaptor.getValue().getClassName()); in testReportToListenersPassRecord()
199 assertEquals(DEFAULT_TEST_CLASS, mEndDescCaptor.getValue().getClassName()); in testReportToListenersPassRecord()
225 assertEquals(DEFAULT_TEST_CLASS, mStartedDescCaptor.getValue().getClassName()); in testReportToListenersFailRecord()
228 assertEquals(DEFAULT_TEST_CLASS, mFailedDescCaptor.getValue().getClassName()); in testReportToListenersFailRecord()
240 assertEquals(DEFAULT_TEST_CLASS, mEndDescCaptor.getValue().getClassName()); in testReportToListenersFailRecord()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java103 public String getClassName() { in getClassName() method in TestDescription
149 return String.format("%s#%s", getClassName(), getTestName()); in toString()
174 return new TestDescription(testId.getClassName(), testId.getTestName()); in createFromTestIdentifier()
185 return new TestIdentifier(desc.getClassName(), desc.getTestName()); in convertToIdentifier()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarderTest.java52 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding()
54 TestDescription td2 = new TestDescription(tid2.getClassName(), tid2.getTestName()); in testForwarding()
86 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding_null()
125 TestDescription td1 = new TestDescription(tid1.getClassName(), tid1.getTestName()); in testForwarding_initError()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java59 assertEquals("className", mDescription.getClassName()); in testCreateDescription()
71 assertEquals("className", mDescription.getClassName()); in testCreateDescription_noAnnotation()
81 assertEquals("className", mDescription.getClassName()); in testCreateDescription_parameterized()
DMetricsXMLResultReporterTest.java91 testId.getTestName(), testId.getClassName()); in testRunMetrics()
118 testId.getTestName(), testId.getClassName()); in testTestMetrics()
144 testId.getTestName(), testId.getClassName()); in testTestFailMetrics()
DXmlResultReporterTest.java133 testId.getTestName(), testId.getClassName()); in testSinglePass()
158 testId.getTestName(), testId.getClassName()); in testSingleFail()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java97 description.getClassName(), in testStarted()
107 description.getClassName(), in testFinished()
139 description.getClassName(), in testIgnored()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java98 getClassName(je.getName())))); in getJUnitClasses()
110 s.map(je -> HostUtils.getClassName(je.getName())) in getJUnitClasses()
251 private static String getClassName(String name) { in getClassName() method
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java323 if (format.get(cr.getKey().getClassName()) == null) { in serializeTestCases()
324 format.put(cr.getKey().getClassName(), new LinkedHashMap<>()); in serializeTestCases()
326 Map<String, TestResult> methodResult = format.get(cr.getKey().getClassName()); in serializeTestCases()
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/
DClassName.kt31 className = getClassName(withoutComments)
143 fun getClassName(source: String): String? { in getClassName() method
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java264 classObj = cl.loadClass(desc.getClassName()); in shouldRun()
275 String className = desc.getClassName(); in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java274 testCase.getClassName(), testCase.getTestNameWithoutParams()); in addRetriedTestsToFilters()
280 String.format("%s#%s", testCase.getClassName(), testCase.getTestName()); in addRetriedTestsToFilters()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandConfigBuilder.java128 Class.forName(configObjDef.getClassName()) in createConfigObject()
138 "Failed to add a config object '%s'", configObjDef.getClassName()), in createConfigObject()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1827 private static String getClassName(String name) { in getClassName() method in ConfigurationFactoryTest
1848 String className = getClassName(je.getName()); in getClassInContribJar()

123