Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 25 of 44) sorted by relevance

12

/libcore/support/src/test/java/tests/resources/ServiceLoader/
Dhyts_services.jar ... .resources.ServiceLoader.ServiceMoreThanOne tests/ tests/resources/ tests/resources/impl/ tests/resources
Dhyts_services2.jar ... services/ META-INF/services/tests.resources.ServiceLoader.ServiceIn2File tests/ tests/resources/ ...
DService.java18 package tests.resources.ServiceLoader;
DServiceDuplicateIn2File.java18 package tests.resources.ServiceLoader;
DServiceForAllCommentTest.java18 package tests.resources.ServiceLoader;
DServiceForEmptyTest.java18 package tests.resources.ServiceLoader;
DServiceForIllegalNameTest.java18 package tests.resources.ServiceLoader;
DServiceIn2FileWithEmptyConfig.java18 package tests.resources.ServiceLoader;
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarFileTest.java33 private File resources; field in OldJarFileTest
37 resources = Support_Resources.createTempFolder(); in setUp()
47 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
48 new JarFile(new File(resources, jarName)); in test_ConstructorLjava_io_File()
58 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
59 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_String()
70 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
71 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_StringZ()
82 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
83 new JarFile(new File(resources, jarName), false); in test_ConstructorLjava_io_FileZ()
[all …]
DOldJarEntryTest.java35 private File resources; field in OldJarEntryTest
39 resources = Support_Resources.createTempFolder(); in setUp()
40 Support_Resources.copyFile(resources, null, jarName); in setUp()
41 jarFile = new JarFile(new File(resources, jarName)); in setUp()
90 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_getAttributes()
92 attrJar = new JarFile(new File(resources, "Broken_manifest.jar")); in test_getAttributes()
DOldJarInputStreamTest.java57 File resources = Support_Resources.createTempFolder(); in test_createZipEntryLjava_lang_String() local
58 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_createZipEntryLjava_lang_String()
65 File resources = Support_Resources.createTempFolder(); in test_read$ZII() local
66 Support_Resources.copyFile(resources, null, "Broken_entry_data.jar"); in test_read$ZII()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java141 private File resources; field in JarFileTest
156 resources = Support_Resources.createTempFolder(); in setUp()
171 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File()
172 JarFile jarFile = new JarFile(new File(resources, jarName)); in test_ConstructorLjava_io_File()
190 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String()
191 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_String()
210 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ()
211 String fileName = (new File(resources, jarName)).getCanonicalPath(); in test_ConstructorLjava_lang_StringZ()
230 Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ()
231 JarFile jarFile = new JarFile(new File(resources, jarName), false); in test_ConstructorLjava_io_FileZ()
[all …]
DJarEntryTest.java51 private File resources; field in JarEntryTest
55 resources = Support_Resources.createTempFolder(); in setUp()
56 Support_Resources.copyFile(resources, null, jarName); in setUp()
57 jarFile = new JarFile(new File(resources, jarName)); in setUp()
103 Support_Resources.copyFile(resources, null, attJarName); in test_getAttributes()
104 file = new File(resources, attJarName); in test_getAttributes()
125 Support_Resources.copyFile(resources, null, jarFileName); in testCertificatesAndCodesigners()
126 File file = new File(resources, jarFileName); in testCertificatesAndCodesigners()
159 Support_Resources.copyFile(resources, null, jarFileName); in test_getCodeSigners()
160 File file = new File(resources, jarFileName); in test_getCodeSigners()
DJarInputStreamTest.java73 File resources = Support_Resources.createTempFolder(); in test_closeAfterException() local
74 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_closeAfterException()
114 File resources = Support_Resources.createTempFolder(); in test_getNextJarEntry_Ex() local
115 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_getNextJarEntry_Ex()
386 File resources = Support_Resources.createTempFolder(); in test_getNextEntry() local
387 Support_Resources.copyFile(resources, null, "Broken_entry.jar"); in test_getNextEntry()
413 File resources = Support_Resources.createTempFolder(); in test_metainf_verification() local
414 Support_Resources.copyFile(resources, null, jarFilename); in test_metainf_verification()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipInputStreamTest.java61 File resources = Support_Resources.createTempFolder(); in test_skipJ() local
62 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_skipJ()
63 FileInputStream fis = new FileInputStream(new File(resources, in test_skipJ()
90 File resources = Support_Resources.createTempFolder(); in test_read$BII() local
91 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII()
92 FileInputStream fis = new FileInputStream(new File(resources, in test_read$BII()
129 File resources = Support_Resources.createTempFolder(); in test_closeEntry() local
130 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_closeEntry()
131 FileInputStream fis = new FileInputStream(new File(resources, in test_closeEntry()
166 File resources = Support_Resources.createTempFolder(); in test_createZipEntryLjava_lang_String() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java41 File resources; field in GZIPInputStreamTest
67 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_ConstructorLjava_io_InputStream()
68 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_ConstructorLjava_io_InputStream()
95 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_ConstructorLjava_io_InputStreamI()
96 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_ConstructorLjava_io_InputStreamI()
113 Support_Resources.copyFile(resources, null, "hyts_checkInput.txt"); in test_ConstructorLjava_io_InputStreamI()
114 final URL jarInput = new File(resources.toString() + "/hyts_checkInput.txt").toURL(); in test_ConstructorLjava_io_InputStreamI()
137 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_read$BII()
138 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_read$BII()
253 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); in test_close()
[all …]
DZipInputStreamTest.java123 File resources = Support_Resources.createTempFolder(); in test_closeAfterException() local
124 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_closeAfterException()
125 FileInputStream fis = new FileInputStream(new File(resources, in test_closeAfterException()
219 File resources = Support_Resources.createTempFolder(); in test_available() local
220 Support_Resources.copyFile(resources, null, "hyts_ZipFile.zip"); in test_available()
221 File fl = new File(resources, "hyts_ZipFile.zip"); in test_available()
DInflaterInputStreamTest.java309 File resources = Support_Resources.createTempFolder(); in test_read$BII2() local
310 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII2()
311 FileInputStream fis = new FileInputStream(new File(resources, in test_read$BII2()
326 File resources = Support_Resources.createTempFolder(); in test_read$BII3() local
327 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); in test_read$BII3()
328 FileInputStream fis = new FileInputStream(new File(resources, in test_read$BII3()
/libcore/luni/src/test/etc/loading-test-jar/
DREADME.txt2 dex files, which are included as resources in the luni tests. These
6 resources in any sane way. To update the resource, use the script
8 test resources directory.
Dbuild.sh36 resourceDir=../../resources/dalvik/system
51 jar cf loading-test.jar classes.dex -C resources .
/libcore/luni/src/test/etc/loading-test2-jar/
DREADME.txt2 dex files, which are included as resources in the luni tests. These
6 resources in any sane way. To update the resource, use the script
8 test resources directory.
Dbuild.sh36 resourceDir=../../resources/dalvik/system
45 jar cf loading-test2.jar classes.dex -C resources .
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java44 File resources = Support_Resources.createTempFolder(); in copyAndOpenResourceStream() local
46 Support_Resources.copyFile(resources, "net", jarFile); in copyAndOpenResourceStream()
47 File file = new File(resources.toString() + "/net/" + jarFile); in copyAndOpenResourceStream()
117 File resources = Support_Resources.createTempFolder(); in test_getJarFile() local
119 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_getJarFile()
120 File file = new File(resources.toString() + "/hyts_att.jar"); in test_getJarFile()
158 File resources = Support_Resources.createTempFolder(); in test_setUseCaches() local
159 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_setUseCaches()
160 File file = new File(resources.toString() + "/hyts_att.jar"); in test_setUseCaches()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java49 File resources = Support_Resources.createTempFolder(); in createContent() local
51 Support_Resources.copyFile(resources, "net", jarFile); in createContent()
52 File file = new File(resources.toString() + "/net/" + jarFile); in createContent()
187 File resources = Support_Resources.createTempFolder(); in test_getJarFile() local
189 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_getJarFile()
190 File file = new File(resources.toString() + "/hyts_att.jar"); in test_getJarFile()
226 File resources = Support_Resources.createTempFolder(); in test_setUseCaches() local
227 Support_Resources.copyFile(resources, null, "hyts_att.jar"); in test_setUseCaches()
228 File file = new File(resources.toString() + "/hyts_att.jar"); in test_setUseCaches()
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java62 File resources = createTempFolder(); in getURL() local
68 copyFile(resources, folder, name); in getURL()
69 String resPath = resources.toString(); in getURL()
149 File resources = createTempFolder(); in getExternalLocalFile() local
151 File temp = new File(resources.toString() + "/local.tmp"); in getExternalLocalFile()

12