]> source.dussan.org Git - poi.git/commitdiff
Added loose tests to junit hierarchy
authorJosh Micich <josh@apache.org>
Mon, 24 May 2010 23:26:57 +0000 (23:26 +0000)
committerJosh Micich <josh@apache.org>
Mon, 24 May 2010 23:26:57 +0000 (23:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947860 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/AllXSSFTests.java
src/testcases/org/apache/poi/ddf/AllPOIDDFTests.java
src/testcases/org/apache/poi/hssf/record/AllRecordTests.java
src/testcases/org/apache/poi/hssf/record/formula/functions/AllIndividualFunctionEvaluationTests.java
src/testcases/org/apache/poi/hssf/usermodel/AllUserModelTests.java
src/testcases/org/apache/poi/poifs/filesystem/AllPOIFSFileSystemTests.java
src/testcases/org/apache/poi/ss/util/AllSSUtilTests.java

index 25227a42fc57c3cf0a202d154a5eaea66c98e2d7..d227a49934d9db83bd73e675a521291306a82f7f 100644 (file)
@@ -20,6 +20,7 @@ package org.apache.poi.xssf;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
+import org.apache.poi.ss.format.TestCellFormatPart;
 import org.apache.poi.ss.util.TestCellReference;
 import org.apache.poi.xssf.eventusermodel.TestXSSFReader;
 import org.apache.poi.xssf.extractor.TestXSSFExcelExtractor;
@@ -50,6 +51,7 @@ public final class AllXSSFTests {
                result.addTestSuite(TestCellReference.class);
                result.addTestSuite(TestCTColComparator.class);
                result.addTestSuite(TestNumericRanges.class);           
+               result.addTestSuite(TestCellFormatPart.class);
                return result;
        }
 }
index ca82ac83cfef3338f52419cd37abf3e0f3d30a1c..33d34e50f76b94919db172147fa94e75e490a39c 100644 (file)
@@ -21,28 +21,28 @@ import junit.framework.Test;
 import junit.framework.TestSuite;
 /**
  * Tests for org.apache.poi.ddf<br/>
- * 
+ *
  * @author Josh Micich
  */
 public final class AllPOIDDFTests {
     public static Test suite() {
         TestSuite result = new TestSuite("Tests for org.apache.poi.ddf");
+        result.addTestSuite(TestEscherBSERecord.class);
+        result.addTestSuite(TestEscherBlipRecord.class);
         result.addTestSuite(TestEscherBlipWMFRecord.class);
         result.addTestSuite(TestEscherBoolProperty.class);
-        result.addTestSuite(TestEscherBSERecord.class);
         result.addTestSuite(TestEscherChildAnchorRecord.class);
         result.addTestSuite(TestEscherClientAnchorRecord.class);
         result.addTestSuite(TestEscherClientDataRecord.class);
         result.addTestSuite(TestEscherContainerRecord.class);
-        result.addTestSuite(TestEscherDggRecord.class);
         result.addTestSuite(TestEscherDgRecord.class);
+        result.addTestSuite(TestEscherDggRecord.class);
         result.addTestSuite(TestEscherOptRecord.class);
         result.addTestSuite(TestEscherPropertyFactory.class);
+        result.addTestSuite(TestEscherSpRecord.class);
         result.addTestSuite(TestEscherSpgrRecord.class);
         result.addTestSuite(TestEscherSplitMenuColorsRecord.class);
-        result.addTestSuite(TestEscherSpRecord.class);
         result.addTestSuite(TestUnknownEscherRecord.class);
-        result.addTestSuite(TestEscherBlipRecord.class);
         return result;
     }
 }
index d49475f5cbdad6e6decd053acdd90ea16f029900..a50f157dc6d1759e6bcfea3b2f6f75c6a05b328c 100644 (file)
@@ -45,6 +45,7 @@ public final class AllRecordTests {
                result.addTest(AllPivotRecordTests.suite());
                result.addTest(AllRecordAggregateTests.suite());
 
+               result.addTestSuite(TestArrayRecord.class);
                result.addTestSuite(TestBOFRecord.class);
                result.addTestSuite(TestBoolErrRecord.class);
                result.addTestSuite(TestBoundSheetRecord.class);
@@ -54,17 +55,21 @@ public final class AllRecordTests {
                result.addTestSuite(TestColumnInfoRecord.class);
                result.addTestSuite(TestCommonObjectDataSubRecord.class);
                result.addTestSuite(TestConstantValueParser.class);
+               result.addTestSuite(TestDVALRecord.class);
                result.addTestSuite(TestDrawingGroupRecord.class);
+               result.addTestSuite(TestDrawingRecord.class);
                result.addTestSuite(TestEmbeddedObjectRefSubRecord.class);
                result.addTestSuite(TestEndSubRecord.class);
                result.addTestSuite(TestEscherAggregate.class);
                result.addTestSuite(TestExtendedFormatRecord.class);
                result.addTestSuite(TestExternalNameRecord.class);
+               result.addTestSuite(TestFeatRecord.class);
                result.addTestSuite(TestFontRecord.class);
                result.addTestSuite(TestFormulaRecord.class);
                result.addTestSuite(TestHyperlinkRecord.class);
                result.addTestSuite(TestInterfaceEndRecord.class);
                result.addTestSuite(TestLabelRecord.class);
+               result.addTestSuite(TestLbsDataSubRecord.class);
                result.addTestSuite(TestMergeCellsRecord.class);
                result.addTestSuite(TestNameRecord.class);
                result.addTestSuite(TestNoteRecord.class);
index 4f50ad1d2d903577ae4d63fc68edbeeddecce3e4..f4b28150d4015808af3f56639eb6555948d25dae 100644 (file)
@@ -33,28 +33,31 @@ public final class AllIndividualFunctionEvaluationTests {
                result.addTestSuite(TestCountFuncs.class);
                result.addTestSuite(TestDate.class);
                result.addTestSuite(TestDays360.class);
-               result.addTestSuite(TestFind.class);
                result.addTestSuite(TestFinanceLib.class);
+               result.addTestSuite(TestFind.class);
                result.addTestSuite(TestIndex.class);
                result.addTestSuite(TestIndexFunctionFromSpreadsheet.class);
                result.addTestSuite(TestIndirect.class);
                result.addTestSuite(TestIsBlank.class);
                result.addTestSuite(TestLen.class);
                result.addTestSuite(TestLookupFunctionsFromSpreadsheet.class);
-               result.addTestSuite(TestMid.class);
-               result.addTestSuite(TestMathX.class);
                result.addTestSuite(TestMatch.class);
+               result.addTestSuite(TestMathX.class);
+               result.addTestSuite(TestMid.class);
                result.addTestSuite(TestNper.class);
-               result.addTestSuite(TestPmt.class);
                result.addTestSuite(TestOffset.class);
+               result.addTestSuite(TestPmt.class);
+               result.addTestSuite(TestRoundFuncs.class);
                result.addTestSuite(TestRowCol.class);
+               result.addTestSuite(TestStatsLib.class);
                result.addTestSuite(TestSubtotal.class);
                result.addTestSuite(TestSumif.class);
                result.addTestSuite(TestSumproduct.class);
-               result.addTestSuite(TestStatsLib.class);
+               result.addTestSuite(TestText.class);
                result.addTestSuite(TestTFunc.class);
                result.addTestSuite(TestTime.class);
                result.addTestSuite(TestTrim.class);
+               result.addTestSuite(TestTrunc.class);
                result.addTestSuite(TestValue.class);
                result.addTestSuite(TestXYNumericFunction.class);
                return result;
index 632e0b5133333d58ab4e30d1e56a92db5e712301..bf43435613bf3dd7c349a8d07138edd7649f1f2b 100644 (file)
@@ -30,6 +30,7 @@ public class AllUserModelTests {
        public static Test suite() {
                TestSuite result = new TestSuite(AllUserModelTests.class.getName());
 
+               result.addTestSuite(TestBug42464.class);
                result.addTestSuite(TestBugs.class);
                result.addTestSuite(TestCellStyle.class);
                result.addTestSuite(TestCloneSheet.class);
@@ -37,18 +38,21 @@ public class AllUserModelTests {
                result.addTestSuite(TestEscherGraphics.class);
                result.addTestSuite(TestEscherGraphics2d.class);
                result.addTestSuite(TestFontDetails.class);
-               result.addTestSuite(TestFormulas.class);
                result.addTestSuite(TestFormulaEvaluatorBugs.class);
                result.addTestSuite(TestFormulaEvaluatorDocs.class);
+               result.addTestSuite(TestFormulas.class);
                result.addTestSuite(TestHSSFCell.class);
                result.addTestSuite(TestHSSFClientAnchor.class);
                result.addTestSuite(TestHSSFComment.class);
                result.addTestSuite(TestHSSFConditionalFormatting.class);
+               result.addTestSuite(TestHSSFDataFormat.class);
                result.addTestSuite(TestHSSFDataFormatter.class);
                result.addTestSuite(TestHSSFDateUtil.class);
+               result.addTestSuite(TestHSSFFont.class);
                result.addTestSuite(TestHSSFFormulaEvaluator.class);
                result.addTestSuite(TestHSSFHeaderFooter.class);
                result.addTestSuite(TestHSSFHyperlink.class);
+               result.addTestSuite(TestHSSFName.class);
                result.addTestSuite(TestHSSFOptimiser.class);
                result.addTestSuite(TestHSSFPalette.class);
                result.addTestSuite(TestHSSFPatriarch.class);
@@ -57,16 +61,16 @@ public class AllUserModelTests {
                result.addTestSuite(TestHSSFRichTextString.class);
                result.addTestSuite(TestHSSFRow.class);
                result.addTestSuite(TestHSSFSheet.class);
+               result.addTestSuite(TestHSSFSheetShiftRows.class);
                result.addTestSuite(TestHSSFSheetUpdateArrayFormulas.class);
                result.addTestSuite(TestHSSFTextbox.class);
                result.addTestSuite(TestHSSFWorkbook.class);
-               result.addTestSuite(TestHSSFName.class);
                result.addTestSuite(TestOLE2Embeding.class);
                result.addTestSuite(TestPOIFSProperties.class);
                result.addTestSuite(TestReadWriteChart.class);
+               result.addTestSuite(TestRowStyle.class);
                result.addTestSuite(TestSanityChecker.class);
                result.addTestSuite(TestSheetHiding.class);
-               result.addTestSuite(TestHSSFSheetShiftRows.class);
                if (false) { // deliberately avoiding this one
                        result.addTestSuite(TestUnfixedBugs.class);
                }
index 2a0319afee77e04671b95cb75f70cf821a8af615..9c8f6acd748031293c0a231cfe4a4579d8bd92b8 100644 (file)
@@ -22,7 +22,7 @@ import junit.framework.TestSuite;
 
 /**
  * Tests for org.apache.poi.poifs.filesystem<br/>
- * 
+ *
  * @author Josh Micich
  */
 public final class AllPOIFSFileSystemTests {
@@ -38,6 +38,7 @@ public final class AllPOIFSFileSystemTests {
         result.addTestSuite(TestEmptyDocument.class);
         result.addTestSuite(TestOffice2007XMLException.class);
         result.addTestSuite(TestPOIFSDocumentPath.class);
+        result.addTestSuite(TestPOIFSFileSystem.class);
         result.addTestSuite(TestPropertySorter.class);
         return result;
     }
index 49bdfadfa58e5b3b26545905fef58b1feadd442c..7ecf90d7b573e86622e10b75c1d9b221eca4eb45 100644 (file)
@@ -27,6 +27,7 @@ import junit.framework.TestSuite;
 public final class AllSSUtilTests {
        public static Test suite() {
                TestSuite result = new TestSuite(AllSSUtilTests.class.getName());
+               result.addTestSuite(TestCellRangeAddress.class);
                result.addTestSuite(TestCellReference.class);
                result.addTestSuite(TestExpandedDouble.class);
                result.addTestSuite(TestNumberComparer.class);