Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/apache/commons/beanutils/BeanCollectionsTestSuite.java


1   /*
2    * Copyright 2001-2004 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  
17  package org.apache.commons.beanutils;
18  
19  
20  import java.lang.reflect.InvocationTargetException;
21  import java.util.HashMap;
22  import java.util.Map;
23  import junit.framework.TestCase;
24  import junit.framework.Test;
25  import junit.framework.TestSuite;
26  
27  
28  /**
29   * <p>Test suite which runs all the test cases application to beans in collections.
30   *
31   * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
32   * @version $Revision: 1.2 $
33   */
34  
35  public class BeanCollectionsTestSuite extends TestCase {
36  
37      public BeanCollectionsTestSuite(java.lang.String testName) {
38          super(testName);
39      }
40  
41      public static void main(java.lang.String[] args) {
42          junit.textui.TestRunner.run(suite());
43      }
44  
45      public static junit.framework.Test suite() {
46          TestSuite suite = new TestSuite();
47          suite.addTestSuite(BeanComparatorTestCase.class);
48          suite.addTestSuite(BeanToPropertyValueTransformerTest.class);
49          suite.addTestSuite(BeanPropertyValueEqualsPredicateTest.class);
50          suite.addTestSuite(BeanPropertyValueChangeClosureTest.class);
51          suite.addTestSuite(TestBeanMap.class);
52  
53          return suite;
54      }
55  }
56  
57