Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFakeTestsZipFolderTest.java19 import com.android.tradefed.util.FakeTestsZipFolder.ItemType;
33 private Map<String, ItemType> mFiles;
38 mFiles = new HashMap<String, ItemType>(); in setUp()
39 mFiles.put("app/AndroidCommonTests.apk", ItemType.FILE); in setUp()
40 mFiles.put("app/GalleryTests.apk", ItemType.FILE); in setUp()
41 mFiles.put("testinfo", ItemType.DIRECTORY); in setUp()
54 ItemType type = mFiles.get(fileName); in testFakeTestsZipFolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestFilePushSetupTest.java24 import com.android.tradefed.util.FakeTestsZipFolder.ItemType;
45 private Map<String, ItemType> mFiles;
57 mFiles = new HashMap<String, ItemType>(); in setUp()
58 mFiles.put("app/AndroidCommonTests.apk", ItemType.FILE); in setUp()
59 mFiles.put("app/GalleryTests.apk", ItemType.FILE); in setUp()
60 mFiles.put("testinfo", ItemType.DIRECTORY); in setUp()
61 mFiles.put(ALT_FILENAME1, ItemType.FILE); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFakeTestsZipFolder.java33 public enum ItemType { enum in FakeTestsZipFolder
37 private Map<String, ItemType> mItems;
49 public FakeTestsZipFolder(Map<String, ItemType> items) { in FakeTestsZipFolder()
69 ItemType type = mItems.get(fileName); in createItems()
70 if (ItemType.DIRECTORY.equals(type)) { in createItems()