1 package org.jacorb.test.notification; 2 3 23 24 import junit.framework.Test; 25 import junit.framework.TestSuite; 26 27 import org.jacorb.test.common.*; 28 29 33 34 public class AllTest extends JacORBTestSuite 35 { 36 public AllTest(String name) 37 { 38 super(name); 39 } 40 41 public static Test suite() throws Exception 42 { 43 TestSuite _suite = new AllTest("Notification Service Test Suite"); 44 _suite.addTest(org.jacorb.test.notification.PackageTest.suite()); 45 46 _suite.addTest(org.jacorb.test.notification.container.PackageTest.suite()); 47 48 _suite.addTest(org.jacorb.test.notification.node.PackageTest.suite()); 49 _suite.addTest(org.jacorb.test.notification.util.PackageTest.suite()); 50 _suite.addTest(org.jacorb.test.notification.queue.PackageTest.suite()); 51 _suite.addTest(org.jacorb.test.notification.evaluate.PackageTest.suite()); 52 _suite.addTest(org.jacorb.test.notification.engine.PackageTest.suite()); 53 _suite.addTest(org.jacorb.test.notification.bugs.PackageTest.suite()); 54 _suite.addTest(org.jacorb.test.notification.filter.PackageTest.suite()); 55 _suite.addTest(org.jacorb.test.notification.servant.PackageTest.suite()); 56 57 try 58 { 59 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init(new String [0], null) 60 .resolve_initial_references("InterfaceRepository"); 61 62 obj._non_existent(); 65 66 _suite.addTest(org.jacorb.test.notification.typed.PackageTest.suite()); 67 } catch (Exception e) 68 { 69 System.err 70 .println("TypedChannel Tests depend on accessible InterfaceRepository. Will be skipped."); 71 } 72 73 return _suite; 74 } 75 76 public static void main(String [] args) throws Exception 77 { 78 junit.textui.TestRunner.run(suite()); 79 } 80 } | Popular Tags |