aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2009-06-12 22:06:25 +0000
committerJosh Micich <josh@apache.org>2009-06-12 22:06:25 +0000
commitd68de8f52762a8dd310386f52f12cc21f61e90d8 (patch)
treec3b87d81ae6f588925d896a217886e8cd80e0e43
parent2f9d1466a82c6e13e8a516678a84229569b0bfb4 (diff)
downloadpoi-d68de8f52762a8dd310386f52f12cc21f61e90d8.tar.gz
poi-d68de8f52762a8dd310386f52f12cc21f61e90d8.zip
Renamed test suites 'AllTests' to something more specific
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@784292 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java (renamed from src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java)39
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java41
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java48
3 files changed, 58 insertions, 70 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java b/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java
index d6f072dfed..81daab2f23 100644
--- a/src/scratchpad/testcases/org/apache/poi/hsmf/AllTests.java
+++ b/src/scratchpad/testcases/org/apache/poi/hsmf/AllHSMFTests.java
@@ -17,26 +17,21 @@
package org.apache.poi.hsmf;
-import junit.framework.*;
-
-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 junit.framework.Test;
+import junit.framework.TestSuite;
+
+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;
+ }
}
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java b/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java
new file mode 100644
index 0000000000..d739136e76
--- /dev/null
+++ b/src/scratchpad/testcases/org/apache/poi/hwpf/AllHWPFTests.java
@@ -0,0 +1,41 @@
+/* ====================================================================
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+==================================================================== */
+
+package org.apache.poi.hwpf;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.poi.hwpf.model.*;
+
+public final class AllHWPFTests {
+
+ 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;
+ }
+}
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java b/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java
deleted file mode 100644
index 3b30c4b904..0000000000
--- a/src/scratchpad/testcases/org/apache/poi/hwpf/AllTests.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ====================================================================
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-==================================================================== */
-
-package org.apache.poi.hwpf;
-
-import junit.framework.*;
-
-public final class AllTests
- extends TestCase
-{
-
- public AllTests(String s)
- {
- super(s);
- }
-
- 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;
- }
-}