You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/10/06 13:04:27 UTC

[commons-vfs] branch master updated: [VFS-733] Parent layer of ZipFileSystem vanishes through OnCallRefreshFileObject. Update ignored test.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e6c7a6  [VFS-733] Parent layer of ZipFileSystem vanishes through OnCallRefreshFileObject. Update ignored test.
8e6c7a6 is described below

commit 8e6c7a6210764a07e3b0802b11a9c067dae2b598
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Oct 6 09:04:24 2019 -0400

    [VFS-733] Parent layer of ZipFileSystem vanishes through
    OnCallRefreshFileObject. Update ignored test.
---
 .../java/org/apache/commons/vfs2/provider/zip/Jira733TestCase.java     | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/Jira733TestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/Jira733TestCase.java
index 84d03e2..1ba6427 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/Jira733TestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/Jira733TestCase.java
@@ -50,7 +50,6 @@ public class Jira733TestCase {
             ZipFileObject zipFileObject = (ZipFileObject) fileObject;
             Assert.assertNotNull("getParentLayer() 1", wrappedFileObject.getFileSystem().getParentLayer());
             consumer.accept(wrappedFileObject);
-            // zipFileObject.doAttach();
             Assert.assertNotNull("getParentLayer() 2", wrappedFileObject.getFileSystem().getParentLayer());
         }
     }
@@ -65,8 +64,6 @@ public class Jira733TestCase {
         Assert.assertNotNull("getParentLayer() 1", wrappedFileObject.getFileSystem().getParentLayer());
         wrappedFileObject.exists();
         wrappedFileObject.getContent();
-        // ((ZipFileObject) zipFileObject).doAttach();
-        // TODO FAILS
         Assert.assertNotNull("getParentLayer() 2", wrappedFileObject.getFileSystem().getParentLayer());
     }