Home
last modified time | relevance | path

Searched refs:createTempFile (Results 1 – 25 of 42) sorted by relevance

12

/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DZipExecTest.java46 File outputZip = File.createTempFile("hyts_", ".zip"); in test_1562()
76 File fooZip = File.createTempFile("hyts_", ".zip"); in test_zip_class_path()
77 File barZip = File.createTempFile("hyts_", ".zip"); in test_zip_class_path()
140 File fooJar = File.createTempFile("hyts_", ".jar"); in test_zip_jar_mix()
141 File barZip = File.createTempFile("hyts_", ".zip"); in test_zip_jar_mix()
174 File fooZip = File.createTempFile("hyts_", ".zip"); in test_zip_jar_mix_1()
175 File barJar = File.createTempFile("hyts_", ".jar"); in test_zip_jar_mix_1()
214 File fooZip = File.createTempFile("hyts_", ".zip"); in test_main_class_in_another_zip()
215 File barZip = File.createTempFile("hyts_", ".zip"); in test_main_class_in_another_zip()
DJarExecTest.java49 File outputJar = File.createTempFile("hyts_", ".jar"); in test_1562()
78 File fooJar = File.createTempFile("hyts_", ".jar"); in test_jar_class_path()
79 File barJar = File.createTempFile("hyts_", ".jar"); in test_jar_class_path()
139 File fooJar = File.createTempFile("hyts_", ".jar"); in test_main_class_in_another_jar()
140 File barJar = File.createTempFile("hyts_", ".jar"); in test_main_class_in_another_jar()
175 File fooJar = File.createTempFile("hyts_", ".jar"); in test_classpath()
194 File booJar = File.createTempFile("hyts_", ".jar"); in test_classpath()
219 File zooJar = File.createTempFile("hyts_", ".jar"); in test_classpath()
DJarOutputStreamTest.java66 outputJar = File.createTempFile("hyts_", ".jar"); in test_putNextEntryLjava_util_zip_ZipEntry()
105 File fooJar = File.createTempFile("hyts_", ".jar"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
106 File barZip = File.createTempFile("hyts_", ".zip"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
133 File fooJar = File.createTempFile("hyts_", ".jar"); in test_JarOutputStreamLjava_io_OutputStream()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_GetLocal.java43 temp = File.createTempFile("hyts_local", ".tmp", null); in getLocalFile()
63 temp = File.createTempFile("hyts_local", ".tmp", null); in getExternalLocalFile()
90 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_GetLocal
91 return File.createTempFile("hyts_", suffix, null); in createTempFile()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileOutputStreamTest.java266 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel()
278 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel_Append()
299 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel_UnAppend()
320 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel_Unappend_Unappend()
334 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel_Unappend_Append()
349 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChannel_Append_Unappend()
363 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); in test_getChanne_Append_Append()
DOpenRandomFileTest.java37 File file = File.createTempFile("test", "tmp"); in testOpenNonEmptyFile()
50 File file = File.createTempFile("test", "tmp"); in testOpenEmptyFile()
DFileTest.java464 f1 = File.createTempFile("harmony-test-FileTest_tempFile_abc", ".tmp"); in test_createTempFileLjava_lang_StringLjava_lang_String()
465 f2 = File.createTempFile("harmony-test-FileTest_tempFile_tf", null); in test_createTempFileLjava_lang_StringLjava_lang_String()
498 File f3 = File.createTempFile("ab", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
505 File f3 = File.createTempFile("a", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
512 File f3 = File.createTempFile("", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
540 f1 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
542 f2 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", ".tmp", dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
581 File f3 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
592 File f4 = File.createTempFile("ab", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
599 File f4 = File.createTempFile("a", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
[all …]
DPrintWriterTest.java145 File file = File.createTempFile(getClass().getName(), null); in test_ConstructorLjava_io_File()
158 File file = File.createTempFile(getClass().getName(), null); in test_ConstructorLjava_io_File_Ljava_lang_String()
172 File file = File.createTempFile(getClass().getName(), null); in test_ConstructorLjava_lang_String()
185 File file = File.createTempFile(getClass().getName(), null); in test_ConstructorLjava_lang_String_Ljava_lang_String()
DRandomAccessFileTest.java73 File f = File.createTempFile("xxx", "yyy"); in test_ConstructorLjava_io_FileLjava_lang_String()
78 f = File.createTempFile("xxx", "yyy"); in test_ConstructorLjava_io_FileLjava_lang_String()
935 File f = File.createTempFile("tmp", "tmp"); in test_read_$BII_NullPointerException()
1036 f = File.createTempFile("raf", "tst"); in setUp()
DOutputStreamTesterTest.java84 file = File.createTempFile("FileOutputStreamSinkTester", "tmp"); in create()
DWriterTesterTest.java79 file = File.createTempFile("FileOutputStreamSinkTester", "tmp"); in create()
/external/junit/src/org/junit/rules/
DTemporaryFolder.java61 return File.createTempFile("junit", null, folder); in newFile()
81 File createdFolder= File.createTempFile("junit", "", folder); in newFolder()
/external/apache-harmony/support/src/test/java/tests/support/resource/
DSupport_Resources.java68 folder = File.createTempFile("hyts_resources", "", null); in createTempFolder()
100 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_Resources
101 return File.createTempFile("hyts_", suffix, null); in createTempFile()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
DMappedByteBufferTest.java192 tmpFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ in setUp()
208 emptyFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ in setUp()
213 File tmp = File.createTempFile("hmy", "tmp"); in test_position()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DFileLockTest.java58 File tempFile = File.createTempFile("testing", "tmp"); in setUp()
173 File file = File.createTempFile("test", "tmp"); in test_release()
DFileChannelLockingTest.java55 tempFiles[i] = File.createTempFile("testing", "tmp"); in setUp()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/
DKerberosPrincipalTest.java159 File f = File.createTempFile("krb5", "conf"); in main()
229 File f = File.createTempFile("krb5", "conf"); in main()
/external/webkit/Tools/Scripts/
Dbisect-builds49 sub createTempFile($);
134 my $tempFile = createTempFile($testURL);
207 sub createTempFile($) subroutine
/external/emma/core/java12/com/vladium/util/
DFiles.java314 public static File createTempFile (final File parentDir, final String prefix, String extension) in createTempFile() method in Files
325 return File.createTempFile (prefix, extension, parentDir); in createTempFile()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DZipOutputStreamTest.java196 File f = File.createTempFile("testZip", "tst"); in test_write$BII()
253 File f1 = File.createTempFile("testZip1", "tst"); in test_write$BII_2()
DDeflaterOutputStreamTest.java178 File f1 = File.createTempFile("close", ".tst"); in test_close()
392 File f1 = File.createTempFile("writeI1", ".tst"); in test_deflate()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/support/
DTestUtils.java99 File f = File.createTempFile("java", "security"); in createJavaPropertiesFile()
/external/guava/guava/src/com/google/common/io/
DFileBackedOutputStream.java194 File temp = File.createTempFile("FileBackedOutputStream", null); in update()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKSBuilder_ImplTest.java77 File ff = File.createTempFile("KSBuilder_ImplTest", "keystore"); in createKS()
239 File fl = File.createTempFile("KSBuilder_ImplTest", "keystore"); in testNewInstanceStringProviderFileProtectionParameter()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/login/
DDefaultConfigParserTest.java151 File file = File.createTempFile("auth_neg_", ".conf"); in testNegConfig()

12