changeset 57427:c8e15590c7cc

8234079: ZipFileInputStreamSkipTest.java runs zero test Reviewed-by: lancea
author amlu
date Wed, 13 Nov 2019 21:56:28 +0800
parents 15936b142f86
children 3f57daa2d6eb
files test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java	Wed Nov 13 08:23:23 2019 -0500
+++ b/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java	Wed Nov 13 21:56:28 2019 +0800
@@ -105,7 +105,7 @@
      * @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 @@
      * @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 @@
      * @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 @@
      * @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()) {