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
This commit is contained in:
Josh Micich 2009-06-12 22:06:25 +00:00
parent 3089c2e30f
commit 818492c6a2
3 changed files with 55 additions and 67 deletions

View File

@ -17,26 +17,21 @@
package org.apache.poi.hsmf;
import junit.framework.*;
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests
extends TestCase
{
import org.apache.poi.hsmf.model.*;
public AllTests(String s)
{
super(s);
}
public final class AllHSMFTests {
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;
}
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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}