Skip to content
Permalink
Browse files

8234079: ZipFileInputStreamSkipTest.java runs zero test

Reviewed-by: lancea
  • Loading branch information
Amy Lu
Amy Lu committed Nov 13, 2019
1 parent ed21b56 commit 14ca254fbe8d3df8e5937b9142e4b7fd7d5f9f7a
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java
@@ -105,7 +105,7 @@ private void cleanUp() throws IOException {
* @throws Exception If an error occurs during the test
*/
@Test
private void testStoredSkip() throws Exception {
public void testStoredSkip() throws Exception {

try (ZipFile zf = new ZipFile(STORED_ZIPFILE.toFile())) {
var entries = zf.entries();
@@ -153,7 +153,7 @@ private void testStoredSkip() throws Exception {
* @throws Exception If an error occurs during the test
*/
@Test
private void testStoredNegativeSkip() throws Exception {
public void testStoredNegativeSkip() throws Exception {

try (ZipFile zf = new ZipFile(STORED_ZIPFILE.toFile())) {
var entries = zf.entries();
@@ -198,7 +198,7 @@ private void testStoredNegativeSkip() throws Exception {
* @throws Exception If an error occurs during the test
*/
@Test
private void testDeflatedSkip() throws Exception {
public void testDeflatedSkip() throws Exception {
try (ZipFile zf = new ZipFile(DEFLATED_ZIPFILE.toFile())) {
var toSkip = 5; // Bytes to Skip
var entries = zf.entries();
@@ -225,7 +225,7 @@ private void testDeflatedSkip() throws Exception {
* @throws Exception If an unexpected error occurs during the test
*/
@Test
private void testDeflatedIOException() throws Exception {
public void testDeflatedIOException() throws Exception {
try (ZipFile zf = new ZipFile(DEFLATED_ZIPFILE.toFile())) {
var entries = zf.entries();
while (entries.hasMoreElements()) {

0 comments on commit 14ca254

Please sign in to comment.
You can’t perform that action at this time.