KickJava   Java API By Example, From Geeks To Geeks.

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


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
20 package org.netbeans.test.j2ee.wizard;
21
22 import junit.framework.Test;
23 import junit.framework.TestSuite;
24 import junit.textui.TestRunner;
25 import org.netbeans.junit.NbTestCase;
26 import org.netbeans.junit.NbTestSuite;
27
28 /**
29  *
30  * @author jungi
31  */

32 public class WizardsJavaEE5Test extends NbTestCase {
33     
34     /** Creates a new instance of WizardsJavaEE5Test */
35     public WizardsJavaEE5Test(String JavaDoc testName) {
36         super(testName);
37     }
38     
39     public static void main(java.lang.String JavaDoc[] args) {
40         TestRunner.run(suite());
41     }
42     
43     public static Test suite() {
44         TestSuite suite = new NbTestSuite();
45         
46         suite.addTest(new NewProjectWizardsTest("testDefaultNewEJBModWizard", "5"));
47         suite.addTest(new NewFileWizardsTest("testLocalSessionBean", "5"));
48         suite.addTest(new NewFileWizardsTest("testRemoteSessionBean", "5"));
49         suite.addTest(new NewFileWizardsTest("testLocalRemoteSessionBean", "5"));
50         suite.addTest(new NewFileWizardsTest("testLocalStatefulSessionBean", "5"));
51         suite.addTest(new NewFileWizardsTest("testRemoteStatefulSessionBean", "5"));
52         suite.addTest(new NewFileWizardsTest("testLocalRemoteStatefulSessionBean", "5"));
53         suite.addTest(new NewFileWizardsTest("testMsgHandlerInEjb", "5"));
54         suite.addTest(new NewFileWizardsTest("testWSDLinEjb", "5"));
55         suite.addTest(new NewFileWizardsTest("testServiceLocatorInEjb", "5"));
56         suite.addTest(new NewFileWizardsTest("testCachingServiceLocatorInEjb", "5"));
57         suite.addTest(new NewFileWizardsTest("testQueueMdbBean", "5"));
58         suite.addTest(new NewFileWizardsTest("testTopicMdbBean", "5"));
59         suite.addTest(new NewFileWizardsTest("testPersistenceUnitInEjb", "5"));
60         suite.addTest(new NewFileWizardsTest("testEntityClassInEjb", "5"));
61         suite.addTest(new NewFileWizardsTest("testNewWebSvcWizardInEjb5", "5"));
62         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewEJBMod", "5"));
63
64         suite.addTest(new NewProjectWizardsTest("testDefaultNewWebModWizard", "5"));
65         suite.addTest(new NewFileWizardsTest("testNewWebSvcWizardInWeb5", "5"));
66         suite.addTest(new NewFileWizardsTest("testMsgHandlerInWeb", "5"));
67         suite.addTest(new NewFileWizardsTest("testWSDLinWeb", "5"));
68         suite.addTest(new NewFileWizardsTest("testServiceLocatorInWeb", "5"));
69         suite.addTest(new NewFileWizardsTest("testCachingServiceLocatorInWeb", "5"));
70         suite.addTest(new NewFileWizardsTest("testPersistenceUnitInWeb", "5"));
71         suite.addTest(new NewFileWizardsTest("testEntityClassInWeb", "5"));
72         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewWebMod", "5"));
73         
74         suite.addTest(new NewProjectWizardsTest("testDefaultNewJakartaWebModWizard", "5"));
75         suite.addTest(new NewFileWizardsTest("testBuildDefaultNewJakartaWebMod", "5"));
76         
77         suite.addTest(new NewProjectWizardsTest("testDefaultAppClientWizard", "5"));
78 // suite.addTest(new NewProjectWizardsTest("testDefaultNewJ2eeAppWizard", "5"));
79
// suite.addTest(new NewProjectWizardsTest("closeProjects", "5"));
80
return suite;
81     }
82 }
83
Popular Tags