Searched refs:tempDir (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 36 File tempDir = new File(System.getProperty("java.io.tmpdir")); 37 String[] files = tempDir.list(); 39 File f = new File(tempDir, files[i]); 45 new File(tempDir, files[i]).delete();
|
D | FileTest.java | 399 File tempDir = createTemporaryDirectory(); in test_canonicalCachesAreOff() local 400 File f1 = new File(tempDir, "testCannonCachesOff1"); in test_canonicalCachesAreOff() 402 File f2 = new File(tempDir, "testCannonCachesOff2"); in test_canonicalCachesAreOff() 404 File symlinkFile = new File(tempDir, "symlink"); in test_canonicalCachesAreOff()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 56 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_create"); in testOpen_create() local 58 Path newFile = tempDir.resolve("newFile"); in testOpen_create() 69 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_existing"); in testOpen_existing() local 70 Path newFile = tempDir.resolve("newFile"); in testOpen_existing() 95 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_nonexistent"); in testOpen_nonexistent() local 97 Path nonExistent = tempDir.resolve("nonExistentFile"); in testOpen_nonexistent() 687 Path tempDir = Files.createTempFile("ASFCTest_test_force", ""); in testForce() local 689 AsynchronousFileChannel afc = AsynchronousFileChannel.open(tempDir, in testForce()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 72 File tempDir = File.createTempFile("tempDir", ""); in setUp() local 73 assertTrue(tempDir.delete()); in setUp() 74 assertTrue(tempDir.mkdirs()); in setUp() 77 createClassLoaderForResource(tempDir, "parameter-metadata-test.jar"); in setUp() 81 createClassLoaderForResource(tempDir, metadataVariationsResourcePath); in setUp()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 37 private File tempDir; field in MemoryMappedFileTest 42 tempDir = TestIoUtils.createTemporaryDirectory("MemoryMappedFileTest"); in setUp() 665 File file = File.createTempFile("bytes", null, tempDir); in createFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 459 String tempDir = addTrailingSlash(System.getProperty("java.io.tmpdir")); in test_createTempFileLjava_lang_StringLjava_lang_String() local 463 tempDir, fileLocation); in test_createTempFileLjava_lang_StringLjava_lang_String()
|