Package org.jacorb.test.common

Examples of org.jacorb.test.common.ClientServerSetup


      ifrSetup.setUp();

      Properties props = new Properties();
      props.setProperty("ORBInitRef.InterfaceRepository", ifrSetup.getRepository().toString());
      clientServerSetup = new ClientServerSetup(fTest, TypedServerTestRunner.class.getName(), IGNORED, props, props);
      clientServerSetup.setUp();
    }
View Full Code Here


    }

    public static Test suite()
    {
        TestSuite suite = new TestSuite( "Client/server char tests" );
        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.CharServerImpl" );
        TestUtils.addToSuite(suite, setup, CharTest.class);

        return setup;
    }
View Full Code Here

    public static Test suite()
    {
        TestSuite suite = new JacORBTestSuite("Basic client/server tests",
                                              ReleaseTest.class);
        ClientServerSetup setup =
            new ClientServerSetup( suite,
                                   "org.jacorb.test.orb.BasicServerImpl" );

        // long tests
        suite.addTest( new ReleaseTest( "test_release", setup ) );
View Full Code Here

    public static Test suite()
    {
        TestSuite suite = new TestSuite
            ( "Client/server longlongseq tests" );
        ClientServerSetup setup = new ClientServerSetup
            ( suite, "org.jacorb.test.orb.LongLongSeqServerImpl" );

        suite.addTest( new LongLongSeq( "test_longlong", setup ) );

        return setup;
View Full Code Here

        server_props.setProperty("org.omg.PortableInterceptor.ORBInitializerClass.standard_init", "org.jacorb.orb.standardInterceptors.IORInterceptorInitializer");

        Properties client_props = TestUtils.newForeignORBProperties();


        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

    public static Test suite()
    {
        TestSuite suite = new TestSuite(BugJac722Test.class.getName());

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

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

        return setup;
    }
View Full Code Here

        final Properties clientProps = new Properties();
        final Properties serverProps = new Properties();

        clientProps.put("jacorb.connection.client.max_receptor_threads", "0");

        ClientServerSetup setup = new ClientServerSetup(suite, BasicServerImpl.class.getName(), clientProps, serverProps);

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

        return setup;
    }
View Full Code Here

    public static Test suite()
    {
        TestSuite suite = new TestSuite
            ( "Client/server recursive type codes tests" );
        ClientServerSetup setup = new ClientServerSetup
            ( suite, ComplexTypeCodesServerImpl.class.getName() );

        TestUtils.addToSuite(suite, setup, BugJac262Test.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, NoTimeoutTest.class);

        return setup;
    }
View Full Code Here

        Properties serverProps = new Properties();
        serverProps.setProperty("jacorb.poa.thread_pool_min", "1");
        serverProps.setProperty("jacorb.poa.thread_pool_max", "2");
        serverProps.setProperty("jacorb.poa.threadtimeout", "5000");

        ClientServerSetup setup = new ClientServerSetup
            ( suite, ServerImpl.class.getName(), null, serverProps);

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

        return setup;
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.