1 19 20 package org.netbeans.test.j2ee.multiview; 21 22 import junit.framework.Test; 23 import junit.textui.TestRunner; 24 import org.netbeans.jellytools.JellyTestCase; 25 import org.netbeans.junit.NbTestCase; 26 import org.netbeans.junit.NbTestSuite; 27 28 32 public class MultiViewTest extends JellyTestCase{ 33 34 public MultiViewTest(String testName) { 35 super(testName); 36 } 37 38 protected void setUp() throws Exception { 39 super.setUp(); 40 } 41 42 protected void tearDown() throws Exception { 43 } 44 45 public static Test suite() { 46 NbTestSuite suite = new NbTestSuite(); 47 suite.addTest(new EjbModuleTest("testOpenProject")); 49 suite.addTest(new EjbModuleTest("testRenameDisplayName")); 50 suite.addTest(new EjbModuleTest("testChangeDescription")); 51 suite.addTest(new EjbModuleTest("testAddSmallIcon")); 52 suite.addTest(new EjbModuleTest("testAddLargeIcon")); 53 54 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testOpenProject")); 56 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testEBName")); 57 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testDescription")); 58 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testSmallIcon")); 59 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testLargeIcon")); 60 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testRevertChanges")); 61 62 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testExistingCMPFields")); 63 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testAddNewCMPField")); 64 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testChangeCMPFieldName")); 65 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testChangeCMPMethods")); 66 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testChangeCMPType")); 67 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testChangeCMPDescription")); 68 suite.addTest(new EBDetailsAndCMPFieldPanelTest("testDeleteCMPField")); 69 70 suite.addTest(new EBGeneralAndClassPanelTest("testOpenProject")); 72 suite.addTest(new EBGeneralAndClassPanelTest("testEntityNodeName")); 73 suite.addTest(new EBGeneralAndClassPanelTest("testEntityName")); 74 suite.addTest(new EBGeneralAndClassPanelTest("testEntityPersistanceType")); 75 suite.addTest(new EBGeneralAndClassPanelTest("testEntityAbstractName")); 76 suite.addTest(new EBGeneralAndClassPanelTest("testEntityPKField")); 77 suite.addTest(new EBGeneralAndClassPanelTest("testEntityPKClass")); 78 suite.addTest(new EBGeneralAndClassPanelTest("testChangeReentrant")); 79 suite.addTest(new EBGeneralAndClassPanelTest("testChangePKMultiple")); 80 suite.addTest(new EBGeneralAndClassPanelTest("testChangePK")); 81 82 83 suite.addTest(new EBGeneralAndClassPanelTest("testBeanClassName")); 85 suite.addTest(new EBGeneralAndClassPanelTest("testLocalInterfaceCheckBox")); 86 suite.addTest(new EBGeneralAndClassPanelTest("testLocalHomeIName")); 87 suite.addTest(new EBGeneralAndClassPanelTest("testLocalIName")); 88 suite.addTest(new EBGeneralAndClassPanelTest("testRemoteHomeIName")); 89 suite.addTest(new EBGeneralAndClassPanelTest("testRemoteIName")); 90 suite.addTest(new EBGeneralAndClassPanelTest("testRemoteInterfaceCheckBox")); 91 suite.addTest(new EBGeneralAndClassPanelTest("testEnableRemoteI")); 92 suite.addTest(new EBGeneralAndClassPanelTest("testDisableRemoteI")); 93 94 95 return suite; 96 } 97 98 99 public static void main(java.lang.String [] args) { 100 TestRunner.run(suite()); 102 } 103 104 } 105 | Popular Tags |