Searched refs:tmpParentDir (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 69 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_multiLevel() local 72 subdirs[0] = new File(tmpParentDir, "patient0"); in testMkdirsRWX_multiLevel() 88 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_singleLevel() local 89 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_singleLevel() 102 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_preExisting() local 103 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_preExisting() 137 File tmpParentDir = createTempDir("foo"); in testCreateTempDir_parentFile() local 138 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile() 141 assertEquals(tmpParentDir.getAbsolutePath(), childDir.getParent()); in testCreateTempDir_parentFile() 157 File tmpParentDir = createTempDir("foo"); in testCreateTempFile_parentDir() local [all …]
|
D | ZipUtilTest.java | 98 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip() local 102 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractZip() 106 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip() 110 File extractedParentDir = new File(extractedDir, tmpParentDir.getName()); in testCreateAndExtractZip() 128 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip_fromFiles() local 132 File file1 = new File(tmpParentDir, "foo.txt"); in testCreateAndExtractZip_fromFiles() 133 File file2 = new File(tmpParentDir, "bar.txt"); in testCreateAndExtractZip_fromFiles() 169 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractFileFromZip() local 173 File childDir = new File(tmpParentDir, "foochild"); in testCreateAndExtractFileFromZip() 177 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractFileFromZip() [all …]
|