Searched refs:tempDir (Results 1 – 13 of 13) sorted by relevance
58 File tempDir = null; in testparseTestMapping() local62 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping()65 File testMappingRootDir = FileUtil.createTempDir("subdir", tempDir); in testparseTestMapping()70 new TestMapping(testMappingFile.toPath(), Paths.get(tempDir.getAbsolutePath())) in testparseTestMapping()79 new TestMapping(testMappingFile.toPath(), Paths.get(tempDir.getAbsolutePath())) in testparseTestMapping()88 new TestMapping(testMappingFile.toPath(), Paths.get(tempDir.getAbsolutePath())) in testparseTestMapping()105 new TestMapping(testMappingFile.toPath(), Paths.get(tempDir.getAbsolutePath())) in testparseTestMapping()120 FileUtil.recursiveDelete(tempDir); in testparseTestMapping()127 File tempDir = null; in testparseTestMapping_BadJson() local130 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping_BadJson()[all …]
234 File tempDir = null; in testLoadTests_testMappingsZip() local238 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZip()240 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZip()255 Arrays.asList(srcDir, new File(tempDir, DISABLED_PRESUBMIT_TESTS)); in testLoadTests_testMappingsZip()256 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip()293 FileUtil.recursiveDelete(tempDir); in testLoadTests_testMappingsZip()303 File tempDir = null; in testLoadTests_testMappingsZipFoundTestsWithKeywords() local308 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZipFoundTestsWithKeywords()310 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZipFoundTestsWithKeywords()325 Arrays.asList(srcDir, new File(tempDir, DISABLED_PRESUBMIT_TESTS)); in testLoadTests_testMappingsZipFoundTestsWithKeywords()[all …]
52 File tempDir = null; in setUp() local54 tempDir = FileUtil.createTempDir("bugreportz"); in setUp()55 File mainEntry = FileUtil.createTempFile("main_entry", ".txt", tempDir); in setUp()56 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in setUp()61 mainEntry.renameTo(new File(tempDir, "main_entry.txt")); in setUp()67 ZipUtil.addToZip(out, new File(tempDir, "main_entry.txt"), new LinkedList<String>()); in setUp()70 FileUtil.recursiveDelete(tempDir); in setUp()158 File tempDir = null; in testBugreportz_noMainFile() local161 tempDir = FileUtil.createTempDir("bugreportz"); in testBugreportz_noMainFile()162 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in testBugreportz_noMainFile()[all …]
117 File tempDir = null; in testExtractTarGzipToTemp() local120 tempDir = TarUtil.extractTarGzipToTemp(tarGzFile, "extract_tar_gz_test"); in testExtractTarGzipToTemp()121 Assert.assertEquals(2, tempDir.list().length); in testExtractTarGzipToTemp()123 FileUtil.recursiveDelete(tempDir); in testExtractTarGzipToTemp()
136 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir() local137 mTempFiles.add(tempDir); in createTempDir()138 return tempDir; in createTempDir()
439 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir() local440 mTempFiles.add(tempDir); in createTempDir()441 return tempDir; in createTempDir()
526 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir() local527 mTempFiles.add(tempDir); in createTempDir()528 return tempDir; in createTempDir()
75 File tempDir = FileUtil.createTempDir("createImageDir"); in createImageDir() local77 new File(tempDir, fileName).createNewFile(); in createImageDir()79 return tempDir; in createImageDir()83 File tempDir = null; in createImageZip() local85 tempDir = createImageDir(fileNames); in createImageZip()89 tempFiles.add(new File(tempDir, fileName)); in createImageZip()94 FileUtil.recursiveDelete(tempDir); in createImageZip()
99 File tempDir = null; in tearDown() local101 tempDir = FileUtil.createTempDir("tf-pulled-dir"); in tearDown()102 if (!device.pullDir(path, tempDir)) { in tearDown()108 zip = ZipUtil.createZip(tempDir); in tearDown()123 FileUtil.recursiveDelete(tempDir); in tearDown()
290 File tempDir = FileUtil.createTempDir("createImageDir"); in createImageDir() local292 FileUtil.writeToFile(content, new File(tempDir, fileName)); in createImageDir()294 return tempDir; in createImageDir()299 File tempDir = null; in createImageZip() local301 tempDir = createImageDir(content, fileNames); in createImageZip()305 tempFiles.add(new File(tempDir, fileName)); in createImageZip()310 FileUtil.recursiveDelete(tempDir); in createImageZip()
521 File tempDir = null; in repackSuperImage() local523 tempDir = FileUtil.createTempDir("RepackSuperImage"); in repackSuperImage()529 tempDir.getAbsolutePath(), in repackSuperImage()550 FileUtil.recursiveDelete(tempDir); in repackSuperImage()
257 for (File tempDir : mTempDirs) { in deleteTempDirs()258 FileUtil.recursiveDelete(tempDir); in deleteTempDirs()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...