KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > juddi > datastore > jdbc > TestAll


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 package org.apache.juddi.datastore.jdbc;
17
18 import java.sql.Connection JavaDoc;
19
20 import junit.framework.Test;
21 import junit.framework.TestCase;
22 import junit.framework.TestSuite;
23
24 /**
25  * @author Steve Viens (sviens@apache.org)
26  */

27 public class TestAll extends TestCase
28 {
29   public TestAll(String JavaDoc testName)
30   {
31     super(testName);
32   }
33
34   public static Test suite()
35   {
36     Connection JavaDoc conn = null;
37     TestSuite suite = new TestSuite();
38
39     try
40         {
41 // suite.addTest(new TestBusinessEntityTable.test(conn));
42
// suite.addTest(new TestBusinessDescTable.test(conn));
43
// suite.addTest(new TestBusinessCategoryTable.test(conn));
44
// suite.addTest(new TestBusinessIdentifierTable.test(conn));
45
// suite.addTest(new TestBusinessNameTable.test(conn));
46
// suite.addTest(new TestDiscoveryURLTable.test(conn));
47
// suite.addTest(new TestContactTable.test(conn));
48
// suite.addTest(new TestContactDescTable.test(conn));
49
// suite.addTest(new TestPhoneTable.test(conn));
50
// suite.addTest(new TestEmailTable.test(conn));
51
// suite.addTest(new TestAddressTable.test(conn));
52
// suite.addTest(new TestAddressLineTable.test(conn));
53
// suite.addTest(new TestBusinessServiceTable.test(conn));
54
// suite.addTest(new TestServiceDescTable.test(conn));
55
// suite.addTest(new TestServiceCategoryTable.test(conn));
56
// suite.addTest(new TestServiceNameTable.test(conn));
57
// suite.addTest(new TestBindingTemplateTable.test(conn));
58
// suite.addTest(new TestBindingDescTable.test(conn));
59
// suite.addTest(new TestTModelInstanceInfoTable.test(conn));
60
// suite.addTest(new TestTModelInstanceInfoDescTable.test(conn));
61
// suite.addTest(new TestInstanceDetailsDescTable.test(conn));
62
// suite.addTest(new TestInstanceDetailsDocDescTable.test(conn));
63
// suite.addTest(new TestTModelTable.test(conn));
64
// suite.addTest(new TestTModelDescTable.test(conn));
65
// suite.addTest(new TestTModelCategoryTable.test(conn));
66
// suite.addTest(new TestTModelIdentifierTable.test(conn));
67
// suite.addTest(new TestTModelDocDescTable.test(conn));
68
// suite.addTest(new TestPublisherAssertionTable.test(conn));
69
// suite.addTest(new TestAuthTokenTable.test(conn));
70
// suite.addTest(new TestPublisherTable.test(conn));
71
}
72     catch(Exception JavaDoc ex)
73         {
74         ex.printStackTrace();
75         }
76     
77     return suite;
78   }
79
80   public static void main(String JavaDoc args[])
81   {
82     String JavaDoc[] testCaseName = { TestAll.class.getName() };
83     junit.textui.TestRunner.main(testCaseName);
84   }
85 }
Popular Tags