You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ec...@apache.org on 2015/09/30 20:41:05 UTC

svn commit: r1706124 - in /commons/proper/vfs/trunk/core/src: main/utils/ test/java/org/apache/commons/vfs2/test/ test/resources/test-data/ test/resources/test-data/read-tests/dir1/subdir4.jar/

Author: ecki
Date: Wed Sep 30 18:41:03 2015
New Revision: 1706124

URL: http://svn.apache.org/viewvc?rev=1706124&view=rev
Log:
Add new testdir, refresh test-data archives

Added:
    commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/
    commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file1.txt
    commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file2.txt
    commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file3.txt
Modified:
    commons/proper/vfs/trunk/core/src/main/utils/create_archives.sh
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java
    commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.jar
    commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tar
    commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tbz2
    commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tgz
    commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.zip
    commons/proper/vfs/trunk/core/src/test/resources/test-data/test.jar
    commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tar
    commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tbz2
    commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tgz
    commons/proper/vfs/trunk/core/src/test/resources/test-data/test.zip

Modified: commons/proper/vfs/trunk/core/src/main/utils/create_archives.sh
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/utils/create_archives.sh?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/utils/create_archives.sh (original)
+++ commons/proper/vfs/trunk/core/src/main/utils/create_archives.sh Wed Sep 30 18:41:03 2015
@@ -62,6 +62,7 @@ then
 fi
 
 cd target/test-classes/test-data
+mkdir read-tests/emptydir
 
 rm -f test.jar test.tar test.tbz2 test.tgz test.zip
 rm -f nested.jar nested.tar nested.tbz2 nested.tgz nested.zip

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/AbstractProviderTestCase.java Wed Sep 30 18:41:03 2015
@@ -373,6 +373,11 @@ public abstract class AbstractProviderTe
         subdir3.addFile("file2.txt", TEST_FILE_CONTENT);
         subdir3.addFile("file3.txt", TEST_FILE_CONTENT);
 
+        final FileInfo subdir4 = dir.addFolder("subdir4.jar");
+        subdir4.addFile("file1.txt", TEST_FILE_CONTENT);
+        subdir4.addFile("file2.txt", TEST_FILE_CONTENT);
+        subdir4.addFile("file3.txt", TEST_FILE_CONTENT);
+
         return base;
     }
 

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.jar
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.jar?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tar
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tar?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tbz2
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tbz2?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tgz
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.tgz?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.zip
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/nested.zip?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Added: commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file1.txt
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file1.txt?rev=1706124&view=auto
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file1.txt (added)
+++ commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file1.txt Wed Sep 30 18:41:03 2015
@@ -0,0 +1 @@
+A test file.
\ No newline at end of file

Added: commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file2.txt
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file2.txt?rev=1706124&view=auto
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file2.txt (added)
+++ commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file2.txt Wed Sep 30 18:41:03 2015
@@ -0,0 +1 @@
+A test file.
\ No newline at end of file

Added: commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file3.txt
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file3.txt?rev=1706124&view=auto
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file3.txt (added)
+++ commons/proper/vfs/trunk/core/src/test/resources/test-data/read-tests/dir1/subdir4.jar/file3.txt Wed Sep 30 18:41:03 2015
@@ -0,0 +1 @@
+A test file.
\ No newline at end of file

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/test.jar
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/test.jar?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tar
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tar?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tbz2
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tbz2?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tgz
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/test.tgz?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.

Modified: commons/proper/vfs/trunk/core/src/test/resources/test-data/test.zip
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/resources/test-data/test.zip?rev=1706124&r1=1706123&r2=1706124&view=diff
==============================================================================
Binary files - no diff available.