You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2012/12/27 19:42:56 UTC
svn commit: r1426287 -
/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java
Author: bodewig
Date: Thu Dec 27 18:42:56 2012
New Revision: 1426287
URL: http://svn.apache.org/viewvc?rev=1426287&view=rev
Log:
COMPRESS-200 make test case name match what is actually tested
Modified:
commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java
Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java?rev=1426287&r1=1426286&r2=1426287&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java (original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java Thu Dec 27 18:42:56 2012
@@ -340,18 +340,18 @@ public class TarArchiveOutputStreamTest
/**
* @see https://issues.apache.org/jira/browse/COMPRESS-200
*/
- public void testRoundtripWith66CharFileNameGnu() throws Exception {
- testRoundtripWith66CharFileName(TarArchiveOutputStream.LONGFILE_GNU);
+ public void testRoundtripWith67CharFileNameGnu() throws Exception {
+ testRoundtripWith67CharFileName(TarArchiveOutputStream.LONGFILE_GNU);
}
/**
* @see https://issues.apache.org/jira/browse/COMPRESS-200
*/
- public void testRoundtripWith66CharFileNamePosix() throws Exception {
- testRoundtripWith66CharFileName(TarArchiveOutputStream.LONGFILE_POSIX);
+ public void testRoundtripWith67CharFileNamePosix() throws Exception {
+ testRoundtripWith67CharFileName(TarArchiveOutputStream.LONGFILE_POSIX);
}
- private void testRoundtripWith66CharFileName(int mode) throws Exception {
+ private void testRoundtripWith67CharFileName(int mode) throws Exception {
String n = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
+ "AAAAAAA";
assertEquals(67, n.length());