Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java91 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractZip() local
92 assertTrue(childDir.mkdir()); in testCreateAndExtractZip()
93 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractZip()
100 File extractedChildDir = new File(extractedParentDir, childDir.getName()); in testCreateAndExtractZip()
162 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractFileFromZip() local
163 assertTrue(childDir.mkdir()); in testCreateAndExtractFileFromZip()
164 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractFileFromZip()
DFileUtilFuncTest.java131 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile() local
132 assertTrue(childDir.exists()); in testCreateTempDir_parentFile()
133 assertTrue(childDir.isDirectory()); in testCreateTempDir_parentFile()
134 assertEquals(tmpParentDir.getAbsolutePath(), childDir.getParent()); in testCreateTempDir_parentFile()
176 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveDelete() local
177 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveDelete()
180 assertFalse(childDir.exists()); in testRecursiveDelete()
191 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveCopy() local
192 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopy()
199 File subFileCopy = new File(destDir, String.format("%s%s%s", childDir.getName(), in testRecursiveCopy()
[all …]