Home
last modified time | relevance | path

Searched refs:fromDataName (Results 1 – 3 of 3) sorted by relevance

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestLogTest.java34 assertNull(TestLogType.fromDataName(null)); in testTestLogType_fromDataName()
35 assertNull(TestLogType.fromDataName("")); in testTestLogType_fromDataName()
36 assertNull(TestLogType.fromDataName("kmsg-foo_bar_test")); in testTestLogType_fromDataName()
39 TestLogType.fromDataName("logcat-foo_bar_test")); in testTestLogType_fromDataName()
41 TestLogType.fromDataName("bug-foo_bar_test")); in testTestLogType_fromDataName()
50 TestLog log = TestLog.fromDataName("logcat-baz_test", "http://logs/baz_test"); in testFromDataName()
56 assertNull(TestLog.fromDataName("kmsg-baz_test", null)); in testFromDataName_unrecognizedDataName()
60 assertNull(TestLog.fromDataName(null, "http://logs/baz_test")); in testFromDataName_nullDataName()
64 assertNull(TestLog.fromDataName("logcat-bar_test", null)); in testFromDataName_nullUrl()
68 assertNull(TestLog.fromDataName(null, null)); in testFromDataName_allNull()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestLog.java50 static TestLogType fromDataName(String dataName) { in fromDataName() method in TestLog.TestLogType
82 static TestLog fromDataName(String dataName, String url) { in fromDataName() method in TestLog
83 TestLogType logType = TestLogType.fromDataName(dataName); in fromDataName()
DCtsXmlResultReporter.java245 TestLog log = TestLog.fromDataName(dataName, logFile.getUrl()); in testLogSaved()