added test suites

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430326 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ortwin Glueck 2006-08-10 09:06:19 +00:00
parent adaccbcef4
commit a0f10ed549
3 changed files with 84 additions and 0 deletions

30
src/test/AllTests.java Normal file
View File

@ -0,0 +1,30 @@
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed 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.
*/
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Test for default package");
//$JUnit-BEGIN$
suite.addTest(org.apache.commons.csv.AllTests.suite());
suite.addTest(org.apache.commons.csv.writer.AllTests.suite());
//$JUnit-END$
return suite;
}
}

View File

@ -0,0 +1,35 @@
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed 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.commons.csv;
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.apache.commons.csv");
//$JUnit-BEGIN$
suite.addTest(ExtendedBufferedReaderTest.suite());
suite.addTest(CSVPrinterTest.suite());
suite.addTest(CSVParserTest.suite());
suite.addTest(CSVStrategyTest.suite());
suite.addTestSuite(CSVUtilsTest.class);
//$JUnit-END$
return suite;
}
}

View File

@ -0,0 +1,19 @@
package org.apache.commons.csv.writer;
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.apache.commons.csv.writer");
//$JUnit-BEGIN$
suite.addTestSuite(CSVConfigGuesserTest.class);
suite.addTestSuite(CSVConfigTest.class);
suite.addTestSuite(CSVFieldTest.class);
suite.addTestSuite(CSVWriterTest.class);
//$JUnit-END$
return suite;
}
}