Searched refs:TestLogType (Results 1 - 3 of 3) sorted by relevance

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
H A DTestLogTest.java18 import com.android.cts.tradefed.result.TestLog.TestLogType;
34 assertNull(TestLogType.fromDataName(null));
35 assertNull(TestLogType.fromDataName(""));
36 assertNull(TestLogType.fromDataName("kmsg-foo_bar_test"));
38 assertEquals(TestLogType.LOGCAT,
39 TestLogType.fromDataName("logcat-foo_bar_test"));
40 assertEquals(TestLogType.BUGREPORT,
41 TestLogType.fromDataName("bug-foo_bar_test"));
45 assertEquals("logcat", TestLogType.LOGCAT.getAttrValue());
46 assertEquals("bugreport", TestLogType
[all...]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
H A DTestLog.java35 public enum TestLogType { enum in class:TestLog
46 * Returns the TestLogType from an ILogSaver data name or null
50 static TestLogType fromDataName(String dataName) {
55 for (TestLogType type : values()) {
65 private TestLogType(String dataNamePrefix) { method in class:TestLog.TestLogType
75 private final TestLogType mLogType;
83 TestLogType logType = TestLogType.fromDataName(dataName);
109 TestLogType logType = TestLogType
[all...]
H A DTest.java20 import com.android.cts.tradefed.result.TestLog.TestLogType;
248 mTestLogs = new ArrayList<>(TestLogType.values().length);

Completed in 189 milliseconds