From 8a5f656a678e6e571c7c6c3bd0c36fbb686823dc Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Sat, 16 Jul 2011 10:17:35 +0000 Subject: [PATCH] update AllHWPFTests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147399 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/AllHWPFTests.java | 98 ++++++++++++------- 1 file changed, 65 insertions(+), 33 deletions(-) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java b/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java index 61346670a..7e0629e45 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java @@ -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; + } }