~ubuntu-branches/ubuntu/vivid/commons-io/vivid

« back to all changes in this revision

Viewing changes to src/test/org/apache/commons/io/comparator/PackageTestSuite.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-18 10:40:54 UTC
  • mfrom: (1.1.4) (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20130518104054-wqbtjam30uyseu9j
Tags: 2.4-2
* Team upload.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Licensed to the Apache Software Foundation (ASF) under one or more
3
 
 * contributor license agreements.  See the NOTICE file distributed with
4
 
 * this work for additional information regarding copyright ownership.
5
 
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
 
 * (the "License"); you may not use this file except in compliance with
7
 
 * the License.  You may obtain a copy of the License at
8
 
 * 
9
 
 *      http://www.apache.org/licenses/LICENSE-2.0
10
 
 * 
11
 
 * Unless required by applicable law or agreed to in writing, software
12
 
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 
 * See the License for the specific language governing permissions and
15
 
 * limitations under the License.
16
 
 */
17
 
package org.apache.commons.io.comparator;
18
 
 
19
 
import junit.framework.Test;
20
 
import junit.framework.TestSuite;
21
 
import junit.textui.TestRunner;
22
 
 
23
 
/**
24
 
 * A basic test suite that tests all the IO comparator package.
25
 
 */
26
 
public class PackageTestSuite {
27
 
 
28
 
    public static void main(String[] args) {
29
 
        TestRunner.run(suite());
30
 
    }
31
 
 
32
 
    public static Test suite() {
33
 
        TestSuite suite = new TestSuite("IO Comparators");
34
 
        suite.addTest(new TestSuite(DefaultFileComparatorTest.class));
35
 
        suite.addTest(new TestSuite(ExtensionFileComparatorTest.class));
36
 
        suite.addTest(new TestSuite(LastModifiedFileComparatorTest.class));
37
 
        suite.addTest(new TestSuite(NameFileComparatorTest.class));
38
 
        suite.addTest(new TestSuite(PathFileComparatorTest.class));
39
 
        suite.addTest(new TestSuite(SizeFileComparatorTest.class));
40
 
        return suite;
41
 
    }
42
 
}