poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r784292 - in /poi/trunk/src/scratchpad/testcases/org/apache/poi: hsmf/AllHSMFTests.java hsmf/AllTests.java hwpf/AllHWPFTests.java hwpf/AllTests.java
Date Fri, 12 Jun 2009 22:06:26 GMT
Author: josh
Date: Fri Jun 12 22:06:25 2009
New Revision: 784292

URL: http://svn.apache.org/viewvc?rev=784292&view=rev
Log:
Renamed test suites 'AllTests' to something more specific

Added:
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java
      - copied, changed from r784289, poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java
      - copied, changed from r784290, poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java
Removed:
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java

Copied: poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java (from r784289,
poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java)
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java?p2=poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java&p1=poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java&r1=784289&r2=784292&rev=784292&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java Fri Jun 12 22:06:25
2009
@@ -17,26 +17,21 @@
 
 package org.apache.poi.hsmf;
 
-import junit.framework.*;
+import junit.framework.Test;
+import junit.framework.TestSuite;
 
-public class AllTests
-  extends TestCase
-{
-
-  public AllTests(String s)
-  {
-    super(s);
-  }
-
-  public static Test suite()
-  {
-    TestSuite suite = new TestSuite();
-    suite.addTestSuite(org.apache.poi.hsmf.model.TestBlankFileRead.class);
-    suite.addTestSuite(org.apache.poi.hsmf.model.TestSimpleFileRead.class);
-    suite.addTestSuite(org.apache.poi.hsmf.model.TestOutlook30FileRead.class);
-    suite.addTestSuite(org.apache.poi.hsmf.model.TestChunkData.class);
-    suite.addTestSuite(org.apache.poi.hsmf.model.TestFileWithAttachmentsRead.class);
-    
-    return suite;
-  }
+import org.apache.poi.hsmf.model.*;
+
+public final class AllHSMFTests {
+
+	public static Test suite() {
+		TestSuite suite = new TestSuite(AllHSMFTests.class.getName());
+		suite.addTestSuite(TestBlankFileRead.class);
+		suite.addTestSuite(TestSimpleFileRead.class);
+		suite.addTestSuite(TestOutlook30FileRead.class);
+		suite.addTestSuite(TestChunkData.class);
+		suite.addTestSuite(TestFileWithAttachmentsRead.class);
+
+		return suite;
+	}
 }

Copied: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java (from r784290,
poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java)
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java?p2=poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java&p1=poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java&r1=784290&r2=784292&rev=784292&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java Fri Jun 12 22:06:25
2009
@@ -17,32 +17,25 @@
 
 package org.apache.poi.hwpf;
 
-import junit.framework.*;
+import junit.framework.Test;
+import junit.framework.TestSuite;
 
-public final class AllTests
-  extends TestCase
-{
+import org.apache.poi.hwpf.model.*;
 
-  public AllTests(String s)
-  {
-    super(s);
-  }
+public final class AllHWPFTests {
 
-  public static Test suite()
-  {
-    TestSuite suite = new TestSuite();
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestCHPBinTable.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.
-                       TestDocumentProperties.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.
-                       TestFileInformationBlock.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestFontTable.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestPAPBinTable.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestPlexOfCps.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestSectionTable.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestStyleSheet.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestTextPieceTable.class);
-    suite.addTestSuite(org.apache.poi.hwpf.model.TestListTables.class);
-    return suite;
-  }
+	public static Test suite() {
+		TestSuite suite = new TestSuite(AllHWPFTests.class.getName());
+		suite.addTestSuite(TestCHPBinTable.class);
+		suite.addTestSuite(TestDocumentProperties.class);
+		suite.addTestSuite(TestFileInformationBlock.class);
+		suite.addTestSuite(TestFontTable.class);
+		suite.addTestSuite(TestPAPBinTable.class);
+		suite.addTestSuite(TestPlexOfCps.class);
+		suite.addTestSuite(TestSectionTable.class);
+		suite.addTestSuite(TestStyleSheet.class);
+		suite.addTestSuite(TestTextPieceTable.class);
+		suite.addTestSuite(TestListTables.class);
+		return suite;
+	}
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message