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

Quick Search    Search Deep

Source code: Database/AllTests.java


1   /*--- formatted by Jindent 2.1, (www.c-lab.de/~jindent) ---*/
2   
3   package Database;
4   
5   import junit.framework.*;
6   
7   /**
8    * Class declaration
9    * 
10   * 
11   * @author
12   * @version $Revision: 1.1 $ $Date: 2001/03/15 15:44:50 $
13   */
14  public class AllTests extends junit.framework.TestSuite {
15  
16    /**
17     * static reference to .class.
18     * Java does not provide any way to obtain the Class object from
19     * static method without naming it.
20     */
21    private static Class CLASS = AllTests.class;
22  
23    /**
24     * Method declaration
25     * 
26     * 
27     * @param args
28     * 
29     * @see
30     */
31    public static void main(String[] args) {
32      String[] arr = {
33        CLASS.getName()
34      };
35  
36      junit.textui.TestRunner.main(arr);
37    } 
38  
39    /**
40     * Method declaration
41     * 
42     * 
43     * @return
44     * 
45     * @see
46     */
47    public static Test suite() {
48      TestSuite suite = new TestSuite();
49  
50      suite.addTest(new TestSuite(OJBDatabaseMgrTest.class));
51  
52      return suite;
53    } 
54  
55  }
56  
57  
58  
59  /*--- formatting done in "OpenEMed Convention" style on 02-22-2001 ---*/
60