update AllHWPFTests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-16 10:17:35 +00:00
parent 35046419e2
commit d223cd2c8f
1 changed files with 65 additions and 33 deletions

View File

@ -20,6 +20,10 @@ package org.apache.poi.hwpf;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; 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.TestWordExtractor;
import org.apache.poi.hwpf.extractor.TestWordExtractorBugs; import org.apache.poi.hwpf.extractor.TestWordExtractorBugs;
import org.apache.poi.hwpf.model.TestCHPBinTable; 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.TestSectionTable;
import org.apache.poi.hwpf.model.TestStyleSheet; import org.apache.poi.hwpf.model.TestStyleSheet;
import org.apache.poi.hwpf.model.TestTextPieceTable; 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.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.TestHWPFOldDocument;
import org.apache.poi.hwpf.usermodel.TestHeaderStories; 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.TestPictures;
import org.apache.poi.hwpf.usermodel.TestProblems; import org.apache.poi.hwpf.usermodel.TestProblems;
import org.apache.poi.hwpf.usermodel.TestRange; 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.TestRangeInsertion;
import org.apache.poi.hwpf.usermodel.TestRangeProperties; import org.apache.poi.hwpf.usermodel.TestRangeProperties;
import org.apache.poi.hwpf.usermodel.TestRangeReplacement; 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.TestShapes;
import org.apache.poi.hwpf.usermodel.TestTableRow;
public final class AllHWPFTests { public final class AllHWPFTests
{
public static Test suite() { public static Test suite()
TestSuite suite = new TestSuite(AllHWPFTests.class.getName()); {
TestSuite suite = new TestSuite( AllHWPFTests.class.getName() );
suite.addTestSuite(TestHWPFPictures.class); // org.apache.poi.hwpf
suite.addTestSuite(TestHWPFRangeParts.class); suite.addTestSuite( TestFieldsTables.class );
suite.addTestSuite( TestHWPFPictures.class );
suite.addTestSuite( TestHWPFRangeParts.class );
suite.addTestSuite(TestWordExtractor.class); // org.apache.poi.hwpf.converter
suite.addTestSuite(TestWordExtractorBugs.class); suite.addTestSuite( TestWordToConverterSuite.class );
suite.addTestSuite( TestWordToFoConverter.class );
suite.addTestSuite( TestWordToHtmlConverter.class );
suite.addTestSuite(TestCHPBinTable.class); // org.apache.poi.hwpf.extractor
suite.addTestSuite(TestDocumentProperties.class); suite.addTestSuite( TestDifferentRoutes.class );
suite.addTestSuite(TestFileInformationBlock.class); suite.addTestSuite( TestWordExtractor.class );
suite.addTestSuite(TestFontTable.class); suite.addTestSuite( TestWordExtractorBugs.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);
suite.addTestSuite(TestBug46610.class); // org.apache.poi.hwpf.model
suite.addTestSuite(TestHeaderStories.class); suite.addTestSuite( TestCHPBinTable.class );
suite.addTestSuite(TestHWPFOldDocument.class); suite.addTestSuite( TestDocumentProperties.class );
suite.addTestSuite(TestPictures.class); suite.addTestSuite( TestFileInformationBlock.class );
suite.addTestSuite(TestProblems.class); suite.addTestSuite( TestFontTable.class );
suite.addTestSuite(TestRange.class); suite.addTestSuite( TestListTables.class );
suite.addTestSuite(TestRangeDelete.class); suite.addTestSuite( TestPAPBinTable.class );
suite.addTestSuite(TestRangeInsertion.class); suite.addTestSuite( TestPlexOfCps.class );
suite.addTestSuite(TestRangeProperties.class); suite.addTestSuite( TestRevisionMarkAuthorTable.class );
suite.addTestSuite(TestRangeReplacement.class); suite.addTestSuite( TestSavedByTable.class );
suite.addTestSuite(TestShapes.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;
}
} }