KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > j2ee > wizard > WizardsTest


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 package org.netbeans.test.j2ee.wizard;
20
21 import junit.framework.Test;
22 import junit.framework.TestSuite;
23 import org.netbeans.junit.NbTestCase;
24 import org.netbeans.junit.NbTestSuite;
25
26 /**
27  *
28  * @author jungi
29  */

30 public class WizardsTest extends NbTestCase {
31
32     public WizardsTest(java.lang.String JavaDoc testName) {
33         super(testName);
34     }
35
36     public static void main(java.lang.String JavaDoc[] args) {
37         junit.textui.TestRunner.run(suite());
38     }
39
40     public static Test suite() {
41         TestSuite suite = new NbTestSuite();
42         suite.addTest(new NewProjectWizardsTest("testDefaultNewEJBModWizard"));
43         suite.addTest(new NewFileWizardsTest("testLocalSessionBean"));
44         suite.addTest(new NewFileWizardsTest("testRemoteSessionBean"));
45         suite.addTest(new NewFileWizardsTest("testLocalRemoteSessionBean"));
46         suite.addTest(new NewFileWizardsTest("testLocalStatefulSessionBean"));
47         suite.addTest(new NewFileWizardsTest("testRemoteStatefulSessionBean"));
48         suite.addTest(new NewFileWizardsTest("testLocalRemoteStatefulSessionBean"));
49         suite.addTest(new NewFileWizardsTest("testLocalEntityBean"));
50         suite.addTest(new NewFileWizardsTest("testRemoteEntityBean"));
51         suite.addTest(new NewFileWizardsTest("testLocalRemoteEntityBean"));
52         suite.addTest(new NewFileWizardsTest("testQueueMdbBean"));
53         suite.addTest(new NewFileWizardsTest("testTopicMdbBean"));
54         suite.addTest(new NewFileWizardsTest("testNewWebSvcWizardInEjb"));
55         suite.addTest(new NewFileWizardsTest("testMsgHandlerInEjb"));
56         suite.addTest(new NewFileWizardsTest("testWSDLinEjb"));
57         suite.addTest(new NewFileWizardsTest("testServiceLocatorInEjb"));
58         suite.addTest(new NewFileWizardsTest("testCachingServiceLocatorInEjb"));
59         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewEJBMod"));
60
61         suite.addTest(new NewProjectWizardsTest("testNewEJBModWizard"));
62         suite.addTest(new NewFileWizardsTest("testLocalBeanEntityBean"));
63         suite.addTest(new NewFileWizardsTest("testRemoteBeanEntityBean"));
64         suite.addTest(new NewFileWizardsTest("testLocalRemoteBeanEntityBean"));
65
66         suite.addTest(new NewProjectWizardsTest("testDefaultNewWebModWizard"));
67         suite.addTest(new NewFileWizardsTest("testNewWebSvcWizardInWeb"));
68         suite.addTest(new NewFileWizardsTest("testMsgHandlerInWeb"));
69         suite.addTest(new NewFileWizardsTest("testWSDLinWeb"));
70         suite.addTest(new NewFileWizardsTest("testServiceLocatorInWeb"));
71         suite.addTest(new NewFileWizardsTest("testCachingServiceLocatorInWeb"));
72
73         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewWebMod"));
74         
75         suite.addTest(new NewProjectWizardsTest("testDefaultNewJakartaWebModWizard"));
76         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewJakartaWebMod"));
77         
78         suite.addTest(new NewProjectWizardsTest("testDefaultNewJ2eeAppWizard"));
79         suite.addTest(new NewProjectWizardsTest("closeProjects"));
80         return suite;
81     }
82
83 }
84
Popular Tags