]> source.dussan.org Git - poi.git/commitdiff
update AllHWPFTests
authorSergey Vladimirov <sergey@apache.org>
Sat, 16 Jul 2011 10:17:35 +0000 (10:17 +0000)
committerSergey Vladimirov <sergey@apache.org>
Sat, 16 Jul 2011 10:17:35 +0000 (10:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147399 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java

index 61346670a52644cd35e749e577a766280496491b..7e0629e45e7f2e0cd1277f9fc6a156d90762d2b6 100644 (file)
@@ -20,6 +20,10 @@ package org.apache.poi.hwpf;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
+import org.apache.poi.hwpf.converter.TestWordToConverterSuite;
+import org.apache.poi.hwpf.converter.TestWordToFoConverter;
+import org.apache.poi.hwpf.converter.TestWordToHtmlConverter;
+import org.apache.poi.hwpf.extractor.TestDifferentRoutes;
 import org.apache.poi.hwpf.extractor.TestWordExtractor;
 import org.apache.poi.hwpf.extractor.TestWordExtractorBugs;
 import org.apache.poi.hwpf.model.TestCHPBinTable;
@@ -34,9 +38,14 @@ import org.apache.poi.hwpf.model.TestSavedByTable;
 import org.apache.poi.hwpf.model.TestSectionTable;
 import org.apache.poi.hwpf.model.TestStyleSheet;
 import org.apache.poi.hwpf.model.TestTextPieceTable;
+import org.apache.poi.hwpf.sprm.TestSprms;
+import org.apache.poi.hwpf.usermodel.TestBorderCode;
 import org.apache.poi.hwpf.usermodel.TestBug46610;
+import org.apache.poi.hwpf.usermodel.TestBug49820;
+import org.apache.poi.hwpf.usermodel.TestBug50075;
 import org.apache.poi.hwpf.usermodel.TestHWPFOldDocument;
 import org.apache.poi.hwpf.usermodel.TestHeaderStories;
+import org.apache.poi.hwpf.usermodel.TestLists;
 import org.apache.poi.hwpf.usermodel.TestPictures;
 import org.apache.poi.hwpf.usermodel.TestProblems;
 import org.apache.poi.hwpf.usermodel.TestRange;
@@ -44,45 +53,68 @@ import org.apache.poi.hwpf.usermodel.TestRangeDelete;
 import org.apache.poi.hwpf.usermodel.TestRangeInsertion;
 import org.apache.poi.hwpf.usermodel.TestRangeProperties;
 import org.apache.poi.hwpf.usermodel.TestRangeReplacement;
+import org.apache.poi.hwpf.usermodel.TestRangeSymbols;
 import org.apache.poi.hwpf.usermodel.TestShapes;
+import org.apache.poi.hwpf.usermodel.TestTableRow;
 
-public final class AllHWPFTests {
+public final class AllHWPFTests
+{
 
-       public static Test suite() {
-               TestSuite suite = new TestSuite(AllHWPFTests.class.getName());
+    public static Test suite()
+    {
+        TestSuite suite = new TestSuite( AllHWPFTests.class.getName() );
 
-               suite.addTestSuite(TestHWPFPictures.class);
-               suite.addTestSuite(TestHWPFRangeParts.class);
+        // org.apache.poi.hwpf
+        suite.addTestSuite( TestFieldsTables.class );
+        suite.addTestSuite( TestHWPFPictures.class );
+        suite.addTestSuite( TestHWPFRangeParts.class );
 
-               suite.addTestSuite(TestWordExtractor.class);
-               suite.addTestSuite(TestWordExtractorBugs.class);
+        // org.apache.poi.hwpf.converter
+        suite.addTestSuite( TestWordToConverterSuite.class );
+        suite.addTestSuite( TestWordToFoConverter.class );
+        suite.addTestSuite( TestWordToHtmlConverter.class );
 
-               suite.addTestSuite(TestCHPBinTable.class);
-               suite.addTestSuite(TestDocumentProperties.class);
-               suite.addTestSuite(TestFileInformationBlock.class);
-               suite.addTestSuite(TestFontTable.class);
-               suite.addTestSuite(TestListTables.class);
-               suite.addTestSuite(TestPAPBinTable.class);
-               suite.addTestSuite(TestPlexOfCps.class);
-               suite.addTestSuite(TestRevisionMarkAuthorTable.class);
-               suite.addTestSuite(TestSavedByTable.class);
-               suite.addTestSuite(TestSectionTable.class);
-               suite.addTestSuite(TestStyleSheet.class);
-               suite.addTestSuite(TestTextPieceTable.class);
-               suite.addTestSuite(TestFieldsTables.class);
+        // org.apache.poi.hwpf.extractor
+        suite.addTestSuite( TestDifferentRoutes.class );
+        suite.addTestSuite( TestWordExtractor.class );
+        suite.addTestSuite( TestWordExtractorBugs.class );
 
-               suite.addTestSuite(TestBug46610.class);
-               suite.addTestSuite(TestHeaderStories.class);
-               suite.addTestSuite(TestHWPFOldDocument.class);
-               suite.addTestSuite(TestPictures.class);
-               suite.addTestSuite(TestProblems.class);
-               suite.addTestSuite(TestRange.class);
-               suite.addTestSuite(TestRangeDelete.class);
-               suite.addTestSuite(TestRangeInsertion.class);
-               suite.addTestSuite(TestRangeProperties.class);
-               suite.addTestSuite(TestRangeReplacement.class);
-               suite.addTestSuite(TestShapes.class);
+        // org.apache.poi.hwpf.model
+        suite.addTestSuite( TestCHPBinTable.class );
+        suite.addTestSuite( TestDocumentProperties.class );
+        suite.addTestSuite( TestFileInformationBlock.class );
+        suite.addTestSuite( TestFontTable.class );
+        suite.addTestSuite( TestListTables.class );
+        suite.addTestSuite( TestPAPBinTable.class );
+        suite.addTestSuite( TestPlexOfCps.class );
+        suite.addTestSuite( TestRevisionMarkAuthorTable.class );
+        suite.addTestSuite( TestSavedByTable.class );
+        suite.addTestSuite( TestSectionTable.class );
+        suite.addTestSuite( TestStyleSheet.class );
+        suite.addTestSuite( TestTextPieceTable.class );
 
-               return suite;
-       }
+        // org.apache.poi.hwpf.sprm
+        suite.addTestSuite( TestSprms.class );
+
+        // org.apache.poi.hwpf.usermodel
+        suite.addTestSuite( TestBorderCode.class );
+        suite.addTestSuite( TestBug46610.class );
+        suite.addTestSuite( TestBug49820.class );
+        suite.addTestSuite( TestBug50075.class );
+        suite.addTestSuite( TestHeaderStories.class );
+        suite.addTestSuite( TestHWPFOldDocument.class );
+        suite.addTestSuite( TestLists.class );
+        suite.addTestSuite( TestPictures.class );
+        suite.addTestSuite( TestProblems.class );
+        suite.addTestSuite( TestRange.class );
+        suite.addTestSuite( TestRangeDelete.class );
+        suite.addTestSuite( TestRangeInsertion.class );
+        suite.addTestSuite( TestRangeProperties.class );
+        suite.addTestSuite( TestRangeReplacement.class );
+        suite.addTestSuite( TestRangeSymbols.class );
+        suite.addTestSuite( TestShapes.class );
+        suite.addTestSuite( TestTableRow.class );
+
+        return suite;
+    }
 }