Skip to content

Commit a0f10ed

Browse files
author
Ortwin Glueck
committed
added test suites
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430326 13f79535-47bb-0310-9956-ffa450edef68
1 parent adaccbc commit a0f10ed

3 files changed

Lines changed: 84 additions & 0 deletions

File tree

src/test/AllTests.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2005 The Apache Software Foundation.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
import junit.framework.Test;
17+
import junit.framework.TestSuite;
18+
19+
public class AllTests {
20+
21+
public static Test suite() {
22+
TestSuite suite = new TestSuite("Test for default package");
23+
//$JUnit-BEGIN$
24+
suite.addTest(org.apache.commons.csv.AllTests.suite());
25+
suite.addTest(org.apache.commons.csv.writer.AllTests.suite());
26+
//$JUnit-END$
27+
return suite;
28+
}
29+
30+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright 2005 The Apache Software Foundation.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.apache.commons.csv;
17+
18+
import junit.framework.Test;
19+
import junit.framework.TestSuite;
20+
21+
public class AllTests {
22+
23+
public static Test suite() {
24+
TestSuite suite = new TestSuite("Test for org.apache.commons.csv");
25+
//$JUnit-BEGIN$
26+
suite.addTest(ExtendedBufferedReaderTest.suite());
27+
suite.addTest(CSVPrinterTest.suite());
28+
suite.addTest(CSVParserTest.suite());
29+
suite.addTest(CSVStrategyTest.suite());
30+
suite.addTestSuite(CSVUtilsTest.class);
31+
//$JUnit-END$
32+
return suite;
33+
}
34+
35+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.apache.commons.csv.writer;
2+
3+
import junit.framework.Test;
4+
import junit.framework.TestSuite;
5+
6+
public class AllTests {
7+
8+
public static Test suite() {
9+
TestSuite suite = new TestSuite("Test for org.apache.commons.csv.writer");
10+
//$JUnit-BEGIN$
11+
suite.addTestSuite(CSVConfigGuesserTest.class);
12+
suite.addTestSuite(CSVConfigTest.class);
13+
suite.addTestSuite(CSVFieldTest.class);
14+
suite.addTestSuite(CSVWriterTest.class);
15+
//$JUnit-END$
16+
return suite;
17+
}
18+
19+
}

0 commit comments

Comments
 (0)