Author: niallp
Date: Sat Jan 12 10:09:51 2008
New Revision: 611447
URL: http://svn.apache.org/viewvc?rev=611447&view=rev
Log:
Add package test suite for comparators
Added:
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
(with props)
Added:
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java?rev=611447&view=auto
==============================================================================
---
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
(added)
+++
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
Sat Jan 12 10:09:51 2008
@@ -0,0 +1,42 @@
+/*
+ * 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.commons.io.comparator;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+/**
+ * A basic test suite that tests all the IO comparator package.
+ */
+public class PackageTestSuite {
+
+ public static void main(String[] args) {
+ TestRunner.run(suite());
+ }
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("IO Comparators");
+ suite.addTest(new TestSuite(DefaultFileComparatorTest.class));
+ suite.addTest(new TestSuite(ExtensionFileComparatorTest.class));
+ suite.addTest(new TestSuite(LastModifiedFileComparatorTest.class));
+ suite.addTest(new TestSuite(NameFileComparatorTest.class));
+ suite.addTest(new TestSuite(PathFileComparatorTest.class));
+ suite.addTest(new TestSuite(SizeFileComparatorTest.class));
+ return suite;
+ }
+}
Propchange:
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL