1   /*
2    * Copyright 2006-2007 the original author or authors.
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 net.sf.ezmorph.test;
17  
18  import junit.framework.Test;
19  import junit.framework.TestCase;
20  import junit.framework.TestSuite;
21  import junit.textui.TestRunner;
22  
23  /**
24   * Test suite for the EZMorph Test package.
25   * 
26   * @author Andres Almiray <aalmiray@users.sourceforge.net>
27   */
28  public class TestTestSuite extends TestCase
29  {
30     /**
31      * Command-line interface.
32      */
33     public static void main( String[] args )
34     {
35        TestRunner.run( suite() );
36     }
37  
38     /**
39      * Get the suite of tests
40      */
41     public static Test suite()
42     {
43        TestSuite suite = new TestSuite();
44        suite.setName( "EZMorph-Test Tests" );
45        suite.addTest( ArrayAssertionsTest.suite() );
46        suite.addTest( BooleanArrayAssertionsTest.suite() );
47        suite.addTest( ByteArrayAssertionsTest.suite() );
48        suite.addTest( ShortArrayAssertionsTest.suite() );
49        suite.addTest( IntArrayAssertionsTest.suite() );
50        suite.addTest( LongArrayAssertionsTest.suite() );
51        suite.addTest( FloatArrayAssertionsTest.suite() );
52        suite.addTest( DoubleArrayAssertionsTest.suite() );
53        suite.addTest( CharArrayAssertionsTest.suite() );
54  
55        return suite;
56     }
57  
58     /**
59      * Construct a new instance.
60      */
61     public TestTestSuite( String name )
62     {
63        super( name );
64     }
65  }