Searched refs:zis (Results 1 – 8 of 8) sorted by relevance
43 private ZipInputStream zis; field in ZipInputStreamTest56 zis = new ZipInputStream(is); in setUp()74 if (zis != null) { in tearDown()76 zis.close(); in tearDown()86 zentry = zis.getNextEntry(); in test_ConstructorLjava_io_InputStream()87 zis.closeEntry(); in test_ConstructorLjava_io_InputStream()95 zis.close(); in test_close()97 zis.read(rbuf, 0, 1); in test_close()109 zis.close(); in test_close2()111 zis.close(); in test_close2()[all …]
51 ZipInputStream zis; field in ZipOutputStreamTest116 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray())); in test_putNextEntryLjava_util_zip_ZipEntry()117 ZipEntry ze2 = zis.getNextEntry(); in test_putNextEntryLjava_util_zip_ZipEntry()118 zis.closeEntry(); in test_putNextEntryLjava_util_zip_ZipEntry()201 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray())); in test_write$BII()202 zis.getNextEntry(); in test_write$BII()206 while (count != b.length && (r = zis.read(b, count, b.length)) != -1) { in test_write$BII()209 zis.closeEntry(); in test_write$BII()321 try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray()))) { in test_timeSerializationRounding() argument323 ZipEntry readEntry = zis.getNextEntry(); in test_timeSerializationRounding()[all …]
117 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream( in testAvailable() local120 assertEquals(1, zis.available()); in testAvailable()121 zis.getNextEntry(); in testAvailable()122 assertEquals(1, zis.available()); in testAvailable()123 zis.closeEntry(); in testAvailable()127 assertEquals(0, zis.available()); in testAvailable()130 zis.getNextEntry(); in testAvailable()131 Streams.readFullyNoClose(zis); in testAvailable()132 assertEquals(0, zis.available()); in testAvailable()135 zis.getNextEntry(); in testAvailable()[all …]
33 private ZipInputStream zis; field in OldZipInputStreamTest42 zis = new ZipInputStream(is); in setUp()55 if (zis != null) { in tearDown()56 zis.close(); in tearDown()119 zis.getNextEntry(); in test_closeEntry()120 zis.closeEntry(); in test_closeEntry()121 zis.getNextEntry(); in test_closeEntry()122 zis.close(); in test_closeEntry()124 zis.closeEntry(); in test_closeEntry()
127 try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray()))) { in testPutNextEntryUsingCurrentTime() argument128 ZipEntry entry = zis.getNextEntry(); in testPutNextEntryUsingCurrentTime()
147 ZipInputStream zis = new ZipInputStream( in test0() local149 ze = zis.getNextEntry(); in test0()150 zis.close(); in test0()299 try (ZipInputStream zis = new ZipInputStream( in testTagOnlyHandling() argument301 ZipEntry ze = zis.getNextEntry(); in testTagOnlyHandling()345 try (ZipInputStream zis = new ZipInputStream( in testNullMtime() argument347 ZipEntry ze = zis.getNextEntry(); in testNullMtime()
103 ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(zbytes)); in test() local104 ZipEntry ze = zis.getNextEntry(); in test()105 zis.close(); in test()
123 try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(badZipBytes))) { in testZipInputStreamCallback() argument124 zis.getNextEntry(); in testZipInputStreamCallback()