/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 = IoUtils.createTemporaryDirectory("OldFilePreferencesImplTest"); in setUp() local 36 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldPreferenceChangeEventTest.java | 37 File tmpDir = IoUtils.createTemporaryDirectory("OldPreferenceChangeEventTest"); in setUp() local 39 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldNodeChangeEventTest.java | 38 File tmpDir = IoUtils.createTemporaryDirectory("OldNodeChangeEventTest"); in setUp() local 40 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldAbstractPreferencesTest.java | 55 File tmpDir = IoUtils.createTemporaryDirectory("OldAbstractPreferencesTest"); in setUp() local 57 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
D | OldPreferencesTest.java | 59 final File tmpDir = IoUtils.createTemporaryDirectory("OldPreferenceTest"); in setUp() local 61 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1203 File tmpDir = new File(cts); 1204 Support_Resources.copyFile(tmpDir, null, "Harmony.GIF"); 1205 URL fUrl1 = new URL("file://" + tmpDir.getPath() 1214 File tmpDir = new File(cts); 1215 Support_Resources.copyFile(tmpDir, null, "hyts_att.jar"); 1216 URL fUrl1 = new URL("jar:file:" + tmpDir.getPath() 1224 File tmpDir = new File(cts); 1225 Support_Resources.copyFile(tmpDir, null, "hyts_htmltest.html"); 1226 URL fUrl1 = new URL("file:/" + tmpDir.getPath() 1234 File tmpDir = new File(System.getProperty("java.io.tmpdir")); [all …]
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 487 String tmpDir = System.getProperty("java.io.tmpdir"); in generate() local 488 if (tmpDir == null) { in generate() 489 tmpDir = System.getProperty("user.home"); in generate() 491 file = new File(tmpDir); in generate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | FilePreferencesImplTest.java | 34 File tmpDir = IoUtils.createTemporaryDirectory("FilePreferencesImplTest"); in setUp() local 36 = new AbstractPreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()); in setUp()
|
D | AbstractPreferencesTest.java | 91 File tmpDir = IoUtils.createTemporaryDirectory("OldAbstractPreferencesTest"); in setUp() local 93 new TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
|
/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 | 81 File tmpDir = new File(tmp); in test_findResourcesLjava_lang_String() local 99 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/io/ |
D | OsTest.java | 545 File tmpDir = new File(System.getProperty("java.io.tmpdir")); in test_realpath() local 549 String canonicalTmpDir = Libcore.os.realpath(tmpDir.getAbsolutePath()); in test_realpath() 553 Libcore.os.realpath(canonicalTmpDir + "/./../" + tmpDir.getName())); in test_realpath() 556 File target = new File(tmpDir, "target"); in test_realpath() 557 File link = new File(tmpDir, "link"); in test_realpath()
|