commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r943618 - in /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar: TarReadTest.java TarReadTests.java
Date Wed, 12 May 2010 18:27:08 GMT
Author: sebb
Date: Wed May 12 18:27:07 2010
New Revision: 943618

URL: http://svn.apache.org/viewvc?rev=943618&view=rev
Log:
Oops - name is not picked up by Surefire

Added:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTest.java
      - copied, changed from r942754, commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTests.java
Removed:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTests.java

Copied: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTest.java
(from r942754, commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTests.java)
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTest.java?p2=commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTest.java&p1=commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTests.java&r1=942754&r2=943618&rev=943618&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTests.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarReadTest.java
Wed May 12 18:27:07 2010
@@ -36,19 +36,19 @@ import org.apache.commons.compress.Abstr
  * The class uses nested suites in order to be able to name the test after the file name,
  * as JUnit does not allow one to change the display name of a test.
  */
-public class TarReadTests extends AbstractTestCase {
+public class TarReadTest extends AbstractTestCase {
     
-    private static final ClassLoader classLoader = TarReadTests.class.getClassLoader();
+    private static final ClassLoader classLoader = TarReadTest.class.getClassLoader();
 
     private File file;
 
     private static final ArrayList fileList = new ArrayList();
     
-    public TarReadTests(String name) {
+    public TarReadTest(String name) {
         super(name);
     }
     
-    private TarReadTests(String name, File file){
+    private TarReadTest(String name, File file){
         super(name);
         this.file = file;
     }
@@ -76,7 +76,7 @@ public class TarReadTests extends Abstra
             }
             // Appears to be the only way to give the test a variable name
             TestSuite namedSuite = new TestSuite(file.getName());
-            Test test = new TarReadTests("testArchive", file);
+            Test test = new TarReadTest("testArchive", file);
             namedSuite.addTest(test);
             suite.addTest(namedSuite);
         }        



Mime
View raw message