/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 94 String tmpDir = System.getProperty("java.io.tmpdir"); in test_ConstructorLjava_lang_StringLjava_lang_String() local 95 if (!tmpDir.endsWith(File.separator)) { in test_ConstructorLjava_lang_StringLjava_lang_String() 96 tmpDir += File.separator; in test_ConstructorLjava_lang_StringLjava_lang_String() 99 String dirName = tmpDir; in test_ConstructorLjava_lang_StringLjava_lang_String() 101 File f = new File(tmpDir, fileName); in test_ConstructorLjava_lang_StringLjava_lang_String() 102 tmpDir += "input.tst"; in test_ConstructorLjava_lang_StringLjava_lang_String() 103 assertEquals(tmpDir, f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String() 116 assertEquals(tmpDir, f.getPath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | ConnectionTest.java | 52 File tmpDir = new File(tmp); in getConnectionURL() local 53 if (tmpDir.isDirectory()) { in getConnectionURL() 55 dbFile = File.createTempFile("OldJDBCDriverTest", ".db", tmpDir); in getConnectionURL()
|
D | OldSQLTest.java | 39 File tmpDir = new File(tmp); in getSQLiteConnection() local 40 if (tmpDir.isDirectory()) { in getSQLiteConnection() 41 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); in getSQLiteConnection()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 57 File tmpDir = new File(tmp); in loadDriver() local 58 if (tmpDir.isDirectory()) { in loadDriver() 59 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); in loadDriver()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldFilePreferencesImplTest.java | 34 File tmpDir = TestIoUtils.createTemporaryDirectory("OldFilePreferencesImplTest"); in setUp() local 36 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldPreferenceChangeEventTest.java | 37 File tmpDir = TestIoUtils.createTemporaryDirectory("OldPreferenceChangeEventTest"); in setUp() local 39 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldNodeChangeEventTest.java | 38 File tmpDir = TestIoUtils.createTemporaryDirectory("OldNodeChangeEventTest"); in setUp() local 40 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldPreferencesTest.java | 60 final File tmpDir = TestIoUtils.createTemporaryDirectory("OldPreferenceTest"); in setUp() local 62 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldAbstractPreferencesTest.java | 56 File tmpDir = TestIoUtils.createTemporaryDirectory("OldAbstractPreferencesTest"); in setUp() local 58 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1230 File tmpDir = new File(cts); 1231 Support_Resources.copyFile(tmpDir, null, "Harmony.GIF"); 1232 URL fUrl1 = new URL("file://" + tmpDir.getPath() 1242 File tmpDir = new File(cts); 1243 Support_Resources.copyFile(tmpDir, null, "hyts_att.jar"); 1244 URL fUrl1 = new URL("jar:file:" + tmpDir.getPath() 1252 File tmpDir = new File(cts); 1253 Support_Resources.copyFile(tmpDir, null, "hyts_htmltest.html"); 1254 URL fUrl1 = new URL("file://" + tmpDir.getPath() 1263 File tmpDir = new File(System.getProperty("java.io.tmpdir")); [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | FilePreferencesImplTest.java | 35 File tmpDir = TestIoUtils.createTemporaryDirectory("FilePreferencesImplTest"); in setUp() local 37 = new AbstractPreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()); in setUp()
|
D | AbstractPreferencesTest.java | 91 File tmpDir = TestIoUtils.createTemporaryDirectory("OldAbstractPreferencesTest"); in setUp() local 93 new TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 591 String tmpDir = System.getProperty("java.io.tmpdir"); in generate() local 592 if (tmpDir == null) { in generate() 593 tmpDir = System.getProperty("user.home"); in generate() 595 file = new File(tmpDir); in generate()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 65 File tmpDir; in setUp() local 73 tmpDir = VOGAR_DEVICE_TEMP_DIR; in setUp() 75 tmpDir = new File(tmpDirName); in setUp() 77 fifoFile = new File(tmpDir, "fifo_file.tmp"); in setUp()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 83 File tmpDir = new File(tmp); in test_findResourcesLjava_lang_String() local 101 urls[0] = new URL("file://" + tmpDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String()
|
D | OldJarURLConnectionTest.java | 290 File tmpDir = new File(cts); in test_getInputStream_DeleteJarFileUsingURLConnection() local 291 File jarFile = File.createTempFile("file", ".jar", tmpDir); in test_getInputStream_DeleteJarFileUsingURLConnection()
|
D | OldURLTest.java | 527 File tmpDir = new File(System.getProperty("java.io.tmpdir")); in createTempHelloWorldFile() local 530 if (tmpDir.isDirectory()) { in createTempHelloWorldFile() 532 tmpDir); in createTempHelloWorldFile()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 1666 String tmpDir = "tmpDir"; in test_createTempDirectory$Path$String$FileAttributes() local 1667 Path tmpDirPath = Files.createTempDirectory(filesSetup.getTestDirPath(), tmpDir, attr); in test_createTempDirectory$Path$String$FileAttributes() 1668 assertTrue(tmpDirPath.getFileName().toString().startsWith(tmpDir)); in test_createTempDirectory$Path$String$FileAttributes() 1681 Files.createTempDirectory(null, tmpDir, attr); in test_createTempDirectory$Path$String$FileAttributes() 1686 Files.createTempDirectory(filesSetup.getTestDirPath(), tmpDir, (FileAttribute<?>) null); in test_createTempDirectory$Path$String$FileAttributes() local 1698 String tmpDir = "tmpDir"; in test_createTempDirectory$String$FileAttributes() local 1699 Path tmpDirPath = Files.createTempDirectory(tmpDir, attr); in test_createTempDirectory$String$FileAttributes() 1700 assertTrue(tmpDirPath.getFileName().toString().startsWith(tmpDir)); in test_createTempDirectory$String$FileAttributes() 1713 Files.createTempDirectory(tmpDir, (FileAttribute<?>) null); in test_createTempDirectory$String$FileAttributes()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 1018 File tmpDir = new File(System.getProperty("java.io.tmpdir")); in test_realpath() local 1022 String canonicalTmpDir = Os.realpath(tmpDir.getAbsolutePath()); in test_realpath() 1026 Os.realpath(canonicalTmpDir + "/./../" + tmpDir.getName())); in test_realpath() 1029 File target = new File(tmpDir, "target"); in test_realpath() 1030 File link = new File(tmpDir, "link"); in test_realpath()
|