Package org.jacorb.test.common

Examples of org.jacorb.test.common.ClientServerSetup


    {
        Properties props = new Properties();
        props.put("jacorb.compactTypecodes", "off");

        TestSuite suite = new TestSuite("Client/server any tests");
        ClientServerSetup setup = new ClientServerSetup
            ( suite, AnyServerImpl.class.getName(), props, props);

        TestUtils.addToSuite(suite, setup, AnyTest.class);

        // in the PrismTech version of this test there are
View Full Code Here


        server_props.setProperty ("OAPort",
                                  port);

        server_props.setProperty ("jacorb.net.tcp_listener",
                                  "org.jacorb.test.bugs.bugjac195.TCPListener");
        ClientServerSetup setup =
            new ClientServerSetup
                ( suite,
                  JAC195ServerImpl.class.getName(),
                  client_props,
                  server_props);
View Full Code Here

    {
        TestSuite suite = new TestSuite ("JAC235 Reply Timeout test");

        final Properties serverProps = new Properties();
        serverProps.setProperty(PROP_PENDING_REPLY_TIMEOUT, "2000");
        ClientServerSetup setup = new ClientServerSetup(suite, JAC235Impl.class.getName(), serverProps, serverProps);

        TestUtils.addToSuite(suite, setup, OnlyPropertyTest.class);

        return 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

    {
        TestSuite suite = new TestSuite ("JAC235 Reply Timeout test");

        final Properties serverProps = new Properties();
        serverProps.setProperty(PROP_PENDING_REPLY_TIMEOUT, "8000");
        ClientServerSetup setup = new ClientServerSetup(suite, JAC235Impl.class.getName(), serverProps, serverProps);

        TestUtils.addToSuite(suite, setup, HigherPropertyTest.class);

        return setup;
    }
View Full Code Here

    {
        TestSuite suite = new TestSuite ("JAC235 Reply Timeout test");

        final Properties serverProps = new Properties();
        serverProps.setProperty(PROP_PENDING_REPLY_TIMEOUT, "1000");
        ClientServerSetup setup = new ClientServerSetup(suite, JAC235Impl.class.getName(), serverProps, serverProps);

        TestUtils.addToSuite(suite, setup, LowerPropertyTest.class);

        return setup;
    }
View Full Code Here

    public static Test suite()
    {
        TestSuite suite = new TestSuite ("JAC235 Reply Timeout test");

        ClientServerSetup setup = new ClientServerSetup(suite, JAC235Impl.class.getName());

        TestUtils.addToSuite(suite, setup, OnlyPolicyTest.class);

        return setup;
    }
View Full Code Here

                         "org.jacorb.test.bugs.bugjac182.SInitializer");

        server_props.put("org.omg.PortableInterceptor.ORBInitializerClass.SInitializer",
                         "org.jacorb.test.bugs.bugjac182.SInitializer");

        ClientServerSetup setup =
        new ClientServerSetup(suite,
                              BugJac182TestServerRunner.class.getName(),
                              "org.jacorb.test.bugs.bugjac182.JAC182Impl",
                              client_props,
                              server_props);
View Full Code Here

        client_props.put("jacorb.regression.disable_security", "true");
        server_props.put("jacorb.regression.disable_security", "true");

        client_props.setProperty (SocketFactoryManager.TCP_LISTENER, TCPListener.class.getName());

        ClientServerSetup setup = new ClientServerSetup
        (
                suite,
                "org.jacorb.test.bugs.bugjac181.JAC181Impl",
                client_props,
                server_props
View Full Code Here

        Properties props = new Properties();

        props.put("org.omg.PortableInterceptor.ORBInitializerClass.IPInitializer",
                  "org.jacorb.test.bugs.bugjac166.IPInitializer");

         ClientServerSetup setup = new ClientServerSetup
         (
             suite,
             "org.jacorb.test.bugs.bugjac166.ServerImpl",
             null,
             props
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.