commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [2/2] commons-compress git commit: Add org.apache.commons.compress.archivers.ArchiveStreamFactoryTest.TestData.toString()
Date Wed, 16 Nov 2016 05:59:13 GMT
Add
org.apache.commons.compress.archivers.ArchiveStreamFactoryTest.TestData.toString()

Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/c4a5b142
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/c4a5b142
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/c4a5b142

Branch: refs/heads/master
Commit: c4a5b14232329fda281231b49ec1f44d302c162c
Parents: c49ccc9
Author: Gary Gregory <ggregory@apache.org>
Authored: Tue Nov 15 21:59:08 2016 -0800
Committer: Gary Gregory <ggregory@apache.org>
Committed: Tue Nov 15 21:59:08 2016 -0800

----------------------------------------------------------------------
 .../commons/compress/archivers/ArchiveStreamFactoryTest.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/c4a5b142/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
index f7b236b..ebf94c0 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
@@ -168,6 +168,7 @@ public class ArchiveStreamFactoryTest {
         final String fieldName;
         final String type;
         final boolean hasOutputStream;
+        
         TestData(final String testFile, final String type, final boolean hasOut, final String
expectedEncoding, final ArchiveStreamFactory fac, final String fieldName) {
             this.testFile = testFile;
             this.expectedEncoding = expectedEncoding;
@@ -176,6 +177,12 @@ public class ArchiveStreamFactoryTest {
             this.type = type;
             this.hasOutputStream = hasOut;
         }
+        
+        @Override
+        public String toString() {
+            return "TestData [testFile=" + testFile + ", expectedEncoding=" + expectedEncoding
+ ", fac=" + fac
+                    + ", fieldName=" + fieldName + ", type=" + type + ", hasOutputStream="
+ hasOutputStream + "]";
+        }
     }
 
     @SuppressWarnings("deprecation") // test of deprecated method


Mime
View raw message