Searched refs:tmpParentDir (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 59 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_multiLevel() local 62 subdirs[0] = new File(tmpParentDir, "patient0"); in testMkdirsRWX_multiLevel() 79 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_singleLevel() local 80 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_singleLevel() 92 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_preExisting() local 93 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_preExisting() 130 File tmpParentDir = createTempDir("foo"); in testCreateTempDir_parentFile() local 131 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile() 134 assertEquals(tmpParentDir.getAbsolutePath(), childDir.getParent()); in testCreateTempDir_parentFile() 152 File tmpParentDir = createTempDir("foo"); in testCreateTempFile_parentDir() local [all …]
|
D | ZipUtilTest.java | 87 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip() local 91 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractZip() 95 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip() 99 File extractedParentDir = new File(extractedDir, tmpParentDir.getName()); in testCreateAndExtractZip() 117 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip_fromFiles() local 121 File file1 = new File(tmpParentDir, "foo.txt"); in testCreateAndExtractZip_fromFiles() 122 File file2 = new File(tmpParentDir, "bar.txt"); in testCreateAndExtractZip_fromFiles() 158 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractFileFromZip() local 162 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractFileFromZip() 166 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractFileFromZip() [all …]
|