Home
last modified time | relevance | path

Searched refs:jarEntry (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarEntryTest.java31 private JarEntry jarEntry; field in OldJarEntryTest
59 jarEntry = null; in test_ConstructorLjava_util_jar_JarEntry_on_null()
61 newJarEntry = new JarEntry(jarEntry); in test_ConstructorLjava_util_jar_JarEntry_on_null()
75 jarEntry = new JarEntry(zipEntry); in test_ConstructorLjava_util_zip_ZipEntry()
76 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_util_zip_ZipEntry()
77 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry in test_ConstructorLjava_util_zip_ZipEntry()
79 assertEquals("Wrong entry constructed--wrong size", 311, jarEntry in test_ConstructorLjava_util_zip_ZipEntry()
93 jarEntry = attrJar.getJarEntry("META-INF/"); in test_getAttributes()
94 jarEntry.getAttributes(); in test_getAttributes()
105 jarEntry = new JarEntry(entryName); in test_ConstructorLjava_lang_String()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarEntryTest.java35 private JarEntry jarEntry; field in JarEntryTest
75 jarEntry = null; in test_ConstructorLjava_util_jar_JarEntry()
77 newJarEntry = new JarEntry(jarEntry); in test_ConstructorLjava_util_jar_JarEntry()
88 jarEntry = new JarEntry(zipEntry); in test_ConstructorLjava_util_zip_ZipEntry()
89 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_util_zip_ZipEntry()
90 assertEquals("Wrong entry constructed--wrong name", entryName, jarEntry in test_ConstructorLjava_util_zip_ZipEntry()
92 assertEquals("Wrong entry constructed--wrong size", 311, jarEntry in test_ConstructorLjava_util_zip_ZipEntry()
107 jarEntry = attrJar.getJarEntry(attEntryName); in test_getAttributes()
108 assertNotNull("Should have Manifest attributes", jarEntry in test_getAttributes()
111 jarEntry = attrJar.getJarEntry(attEntryName2); in test_getAttributes()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java71 private JarEntry jarEntry; field in JarURLConnection
95 return jarEntry; in getJarEntry()
132 jarEntry = (JarEntry)jarFile.getEntry(entryName); in connect()
133 if (jarEntry == null) { in connect()
157 if (jarEntry == null) { in getInputStream()
162 result = new JarURLInputStream (jarFile.getInputStream(jarEntry)); in getInputStream()
178 if (jarEntry == null) { in getContentLengthLong()
209 InputStream in = jarFile.getInputStream(jarEntry); in getContentType()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java109 private ZipEntry jarEntry; field in ClassPathURLStreamHandler.ClassPathURLConnection
127 this.jarEntry = findEntryWithDirectoryFallback(ClassPathURLStreamHandler.this.jarFile, in connect()
129 if (jarEntry == null) { in connect()
162 return jarInput = new FilterInputStream(jarFile.getInputStream(jarEntry)) { in getInputStream()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipEntryTest.java87 JarEntry jarEntry = new JarEntry("foo"); in testClone() local
88 jarEntry.setExtra(extra); in testClone()
89 assertSame("Expected no defensive copy of extra", extra, jarEntry.getExtra()); in testClone()
91 ZipEntry clone = (ZipEntry) jarEntry.clone(); in testClone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java214 JarEntry jarEntry = new JarEntry("entry.txt"); in test_getInputStream_DeleteJarFileUsingURLConnection() local
215 out.putNextEntry(jarEntry); in test_getInputStream_DeleteJarFileUsingURLConnection()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java296 JarEntry jarEntry = new JarEntry(entry); in test_getInputStream_DeleteJarFileUsingURLConnection() local
297 out.putNextEntry(jarEntry); in test_getInputStream_DeleteJarFileUsingURLConnection()