Home
last modified time | relevance | path

Searched refs:tempDir (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java36 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();
DFileTest.java399 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/
DAsynchronousFileChannelTest.java56 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/
DParameterTest.java72 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/
DMemoryMappedFileTest.java37 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/
DFileTest.java459 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()