Home
last modified time | relevance | path

Searched refs:copyFile (Results 1 – 24 of 24) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarFileTest.java47 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
58 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
70 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
82 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
94 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
99 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
109 Support_Resources.copyFile(resources, null, modifiedJarName); in test_close()
120 Support_Resources.copyFile(resources, null, jarName); in test_getInputStreamLjava_util_jar_JarEntry()
142 Support_Resources.copyFile(resources, null, jarName); in test_getInputStreamLjava_util_jar_JarEntry()
154 Support_Resources.copyFile(resources, null, jarName); in test_getInputStreamLjava_util_jar_JarEntry()
DOldJarInputStreamTest.java58 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_createZipEntryLjava_lang_String()
66 Support_Resources.copyFile(resources, null, "Broken_entry_data.jar"); in test_read$ZII()
DOldJarEntryTest.java40 Support_Resources.copyFile(resources, null, jarName); in setUp()
90 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_getAttributes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java168 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
188 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
209 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
230 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
251 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
259 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI()
277 File f = Support_Resources.copyFile(resources, null, jarName); in testConstructor_file()
295 File file = Support_Resources.copyFile(resources, null, jarName); in test_entries()
313 File file = Support_Resources.copyFile(resources, null, jarName); in test_getEntryLjava_lang_String()
322 File file = Support_Resources.copyFile(resources, null, jarName); in test_getEntryLjava_lang_String()
[all …]
DJarEntryTest.java56 Support_Resources.copyFile(resources, null, jarName); in setUp()
103 Support_Resources.copyFile(resources, null, attJarName); in test_getAttributes()
125 Support_Resources.copyFile(resources, null, jarFileName); in testCertificatesAndCodesigners()
159 Support_Resources.copyFile(resources, null, jarFileName); in test_getCodeSigners()
DJarInputStreamTest.java74 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_closeAfterException()
115 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_getNextJarEntry_Ex()
387 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_getNextEntry()
414 Support_Resources.copyFile(resources, null, jarFilename); in test_metainf_verification()
DManifestTest.java61 Support_Resources.copyFile(resources, null, fileName); in getManifest()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipInputStreamTest.java62 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_skipJ()
91 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII()
130 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_closeEntry()
167 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_createZipEntryLjava_lang_String()
DAbstractZipFileTest.java492 File emptyZip = Support_Resources.copyFile( in testConstructorWorksWhenReadingEmptyZipArchive()
/libcore/tools/upstream/src/main/java/libcore/
DCopyUpstreamFiles.java55 copyFile(upstreamFile, outputFile); in run()
57 copyFile(upstreamFile, outputDir.resolve("expected").resolve(relPath)); in run()
64 private void copyFile(Path from, Path to) throws IOException { in copyFile() method in CopyUpstreamFiles
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java67 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_ConstructorLjava_io_InputStream()
95 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_ConstructorLjava_io_InputStreamI()
113 Support_Resources.copyFile(resources, null, "hyts_checkInput.txt"); in test_ConstructorLjava_io_InputStreamI()
137 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_read$BII()
253 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_close()
DZipInputStreamTest.java124 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_closeAfterException()
220 Support_Resources.copyFile(resources, null, "hyts_ZipFile.zip"); in test_available()
DInflaterInputStreamTest.java310 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII2()
327 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII3()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DControlTest.java380 static File copyFile(final URL src, final String targetDir) throws IOException { in copyFile() method in ControlTest
470 final File copyFile = copyFile(srcFile, tmpdir); in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ() local
476 if (null != URLLoader.getResourceAsStream(copyFile.getName())) { in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
487 changeProperties(copyFile); in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
509 fail("Can not find the test file:" + copyFile); in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java46 Support_Resources.copyFile(resources, "net", jarFile); in copyAndOpenResourceStream()
119 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_getJarFile()
159 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_setUseCaches()
DURLTest.java741 Support_Resources.copyFile(resources, null, "hyts_htmltest.html"); in test_getContent()
770 Support_Resources.copyFile(resources, null, "hyts_htmltest.html"); in test_getContent_LJavaLangClass()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java219 private static void copyFile(UnixPath source, in copyFile() method in UnixCopyFile
471 copyFile(source, sourceAttrs, target, flags, 0L); in move()
581 copyFile(source, sourceAttrs, target, flags, 0L); in copy()
589 copyFile(source, attrsToCopy, target, flags, in copy()
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java68 copyFile(resources, folder, name); in getURL()
97 public static File copyFile(File root, String folder, String file) { in copyFile() method in Support_Resources
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java51 Support_Resources.copyFile(resources, "net", jarFile); in createContent()
189 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_getJarFile()
227 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_setUseCaches()
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java98 Support_Resources.copyFile(resources, null, jar); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java58 Support_Resources.copyFile(resources, null, JAR); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java1231 Support_Resources.copyFile(tmpDir, null, "Harmony.GIF");
1243 Support_Resources.copyFile(tmpDir, null, "hyts_att.jar");
1253 Support_Resources.copyFile(tmpDir, null, "hyts_htmltest.html");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java343 Support_Resources.copyFile(resources, null, resPath); in test_update$BII()
401 Support_Resources.copyFile(resources, null, resPath); in test_doFinal()
464 Support_Resources.copyFile(resources, null, resPath); in loadBytes()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java476 Support_Resources.copyFile(resources, "Package", hyts_package_name); in test_getPackage()