Package org.jacorb.test.common

Examples of org.jacorb.test.common.ClientServerSetup


        Properties clientProps = new Properties();
        clientProps.setProperty("ORBInitRef.InterfaceRepository", "file://" + iorFile.toString());
        clientProps.setProperty(CommonSetup.JACORB_REGRESSION_DISABLE_SECURITY, "true");

        clientServerSetup = new ClientServerSetup(null, IRServerRunner.class.getName(), "ignored", clientProps, serverProps);

        clientServerSetup.setUp();
    }
View Full Code Here


     * @return a <code>Test</code> value
     */
    public static Test suite()
    {
        TestSuite suite = new TestSuite("Valuetype Custom client/server tests");
        ClientServerSetup setup =
            new ClientServerSetup(suite,
                                  "org.jacorb.test.orb.value.CustomValueExchangeImpl");

        suite.addTest(new ValueCustomTest("test_value_custom_good1", setup));
        suite.addTest(new ValueCustomTest("test_value_custom_fail1", setup));

View Full Code Here

      serverProps.put("jacorb.naming.ior_filename", "");
      serverProps.put("jacorb.naming.print_ior", "true");
      serverProps.put("jacorb.naming.db_dir", dir);

      ClientServerSetup setup = new ClientServerSetup( suite , "ignored", clientProps, serverProps)
      {
          public String getTestServerMain()
        {
              return NameServer.class.getName();
        }
View Full Code Here

        else
        {
            Assert.fail();
        }

        ClientServerSetup setup =
            new ClientServerSetup
               ( suite,
                 "org.jacorb.test.bugs.bugjac10.TypeCodeTestImpl",
                 props,
                 props);
View Full Code Here

        Properties props = new Properties();
        props.setProperty ("jacorb.poa.queue_max", "10");
        props.setProperty ("jacorb.poa.queue_min", "1");
        props.setProperty ("jacorb.poa.queue_wait", "off");

        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.CallbackServerImpl",
                                   null,
                                   props );

        suite.addTest( new QueueNoWaitTest( "test_warm_up", setup ) );
View Full Code Here

        TestSuite suite = new TestSuite();

        Properties clientProps = new Properties();
        Properties serverProps = new Properties();
        serverProps.put("-Xmx16M", "");
        ClientServerSetup setup = new ClientServerSetup(suite, OutOfMemoryImpl.class.getName(),
                clientProps, serverProps);

        suite.addTest(new TestCase("testOutOfMemoryShouldFail", setup));

        return setup;
View Full Code Here

        client_props.setProperty("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");

        server_props.setProperty("jacorb.interop.strict_check_on_tc_creation", "off");
        server_props.setProperty("jacorb.interop.chunk_custom_rmi_valuetypes", "off");

        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.rmi.RMITestServant",
                                   client_props,
                                   server_props);

        TestUtils.addToSuite(suite, setup, JacORBJacORBRMITest.class);
View Full Code Here

        TestSuite suite = new TestSuite( "RMI/IIOP tests Sun vs. Sun" );

        Properties client_props = TestUtils.newSunORBProperties();
        Properties server_props = TestUtils.newSunORBProperties();

        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.rmi.RMITestServant",
                                   client_props,
                                   server_props);

        TestUtils.addToSuite(suite, setup, SunSunRMITest.class);
View Full Code Here

        Properties client_props = TestUtils.newSunORBProperties();

        server_props.setProperty("jacorb.interop.strict_check_on_tc_creation", "off");
        server_props.setProperty("jacorb.interop.chunk_custom_rmi_valuetypes", "off");

        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.rmi.RMITestServant",
                                   client_props,
                                   server_props);

        TestUtils.addToSuite(suite, setup, SunJacORBRMITest.class);
View Full Code Here

        client_props.setProperty("jacorb.interop.sun", "on");

        server_props.setProperty("jacorb.interop.strict_check_on_tc_creation", "off");
        server_props.setProperty("jacorb.interop.chunk_custom_rmi_valuetypes", "off");

        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.rmi.RMITestServant",
                                   client_props,
                                   server_props);

        TestUtils.addToSuite(suite, setup, JacORBSunRMITest.class);
View Full Code Here

TOP

Related Classes of org.jacorb.test.common.ClientServerSetup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.