Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java138 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile() local
139 assertTrue(childDir.exists()); in testCreateTempDir_parentFile()
140 assertTrue(childDir.isDirectory()); in testCreateTempDir_parentFile()
141 assertEquals(tmpParentDir.getAbsolutePath(), childDir.getParent()); in testCreateTempDir_parentFile()
181 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveDelete() local
182 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveDelete()
185 assertFalse(childDir.exists()); in testRecursiveDelete()
197 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveCopy() local
198 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopy()
205 File subFileCopy = new File(destDir, String.format("%s%s%s", childDir.getName(), in testRecursiveCopy()
[all …]
DZipUtilTest.java102 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractZip() local
103 assertTrue(childDir.mkdir()); in testCreateAndExtractZip()
104 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractZip()
111 File extractedChildDir = new File(extractedParentDir, childDir.getName()); in testCreateAndExtractZip()
173 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractFileFromZip() local
174 assertTrue(childDir.mkdir()); in testCreateAndExtractFileFromZip()
175 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractFileFromZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java314 File childDir = FileUtil.createTempDir("test1", subDir); in testPushDir_childDir_filtered() local
315 filter.add(childDir.getName()); in testPushDir_childDir_filtered()
322 assertFalse(cmd.contains(childDir.getName())); in testPushDir_childDir_filtered()