You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/10/26 01:35:48 UTC
cvs commit: jakarta-commons/io/src/test/org/apache/commons/io PackageTestSuite.java IOTestSuite.java
scolebourne 2004/10/25 16:35:48
Modified: io build.xml project.xml
Added: io/src/test/org/apache/commons/io PackageTestSuite.java
Removed: io/src/test/org/apache/commons/io IOTestSuite.java
Log:
Rename IOTestSuite to PackageTestSuite, include all tests
Revision Changes Path
1.20 +2 -0 jakarta-commons/io/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/io/build.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- build.xml 24 Oct 2004 21:58:44 -0000 1.19
+++ build.xml 25 Oct 2004 23:35:48 -0000 1.20
@@ -108,6 +108,8 @@
</include>
<exclude name="**/*AbstractTestCase*">
</exclude>
+ <exclude name="**/PackageTestSuite*">
+ </exclude>
<exclude name="**/testtools/**">
</exclude>
</fileset>
1.34 +1 -0 jakarta-commons/io/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/io/project.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- project.xml 24 Oct 2004 21:58:44 -0000 1.33
+++ project.xml 25 Oct 2004 23:35:48 -0000 1.34
@@ -184,6 +184,7 @@
</includes>
<excludes>
<exclude>**/*AbstractTestCase*</exclude>
+ <exclude>**/PackageTestSuite*</exclude>
<exclude>**/testtools/**</exclude>
</excludes>
</unitTest>
1.1 jakarta-commons/io/src/test/org/apache/commons/io/PackageTestSuite.java
Index: PackageTestSuite.java
===================================================================
/*
* Copyright 2003-2004 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.io;
import org.apache.commons.io.filefilter.FileFilterTestCase;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
/**
* A basic test suite that tests all the IO package.
*
* @author Matthew Hawthorne
* @author Stephen Colebourne
* @see org.apache.commons.io
*/
public class PackageTestSuite {
public static void main(String[] args) {
TestRunner.run(suite());
}
public static Test suite() {
TestSuite suite = new TestSuite("IO Utilities");
suite.addTest(new TestSuite(CopyUtilsTest.class));
suite.addTest(new TestSuite(DemuxTestCase.class));
suite.addTest(new TestSuite(EndianUtilsTest.class));
suite.addTest(new TestSuite(FilenameUtilsTestCase.class));
suite.addTest(new TestSuite(FileUtilsFileNewerTestCase.class));
suite.addTest(new TestSuite(FileUtilsListFilesTestCase.class));
suite.addTest(new TestSuite(FileUtilsTestCase.class));
suite.addTest(new TestSuite(FileFilterTestCase.class));
suite.addTest(new TestSuite(HexDumpTest.class));
suite.addTest(new TestSuite(IOUtilsCopyTestCase.class));
suite.addTest(new TestSuite(IOUtilsTestCase.class));
suite.addTest(new TestSuite(IOUtilsWriteTestCase.class));
suite.addTest(new TestSuite(WildcardUtilsTest.class));
return suite;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org