Package org.jacorb.test.common

Examples of org.jacorb.test.common.ClientServerSetup


                                "org.jacorb.test.orb.etf.wiop.WIOPFactories," +
                                "org.jacorb.orb.iiop.IIOPFactories");
        // only listen on IIOP
        serverProps.setProperty("jacorb.transport.server.listeners", "0");

        ClientServerSetup setup =
          new ClientServerSetup (suite,
                                 "org.jacorb.test.orb.BasicServerImpl",
                                 clientProps, serverProps);

        suite.addTest (new ServerListenerTest ("testConnection", setup));
View Full Code Here


        Properties serverProps = new Properties();
        serverProps.setProperty("jacorb.transport.factories",
                                "org.jacorb.test.orb.etf.wiop.WIOPFactories,"
                              + "org.jacorb.orb.iiop.IIOPFactories");

        ClientServerSetup setup =
          new ClientServerSetup (suite,
                                 "org.jacorb.test.orb.BasicServerImpl",
                                 clientProps, serverProps);

        suite.addTest (new C_IIOP_WIOP_S_WIOP_IIOPTest ("testConnection", setup));
View Full Code Here

     */
    public static Test suite()
    {
        TestSuite suite = new TestSuite( "DynAny Tests" );

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

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

        return setup;
View Full Code Here

        Properties serverProps = new Properties();
        serverProps.setProperty("jacorb.transport.factories",
                                "org.jacorb.orb.iiop.IIOPFactories," +
                                "org.jacorb.test.orb.etf.wiop.WIOPFactories");

        ClientServerSetup setup =
          new ClientServerSetup (suite,
                                 "org.jacorb.test.orb.BasicServerImpl",
                                 clientProps, serverProps);

        TestUtils.addToSuite(suite, setup, SpecificProfileSelectorTest.class);
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,
                                    CallbackServerImpl.class.getName(),
                                   null,
                                   props );

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

     */
    public static Test suite()
    {
        TestSuite suite = new TestSuite( "Client/server TypeCode tests" );

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

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

        return setup;
    }
View Full Code Here

        TestSuite suite = new TestSuite();

        Properties clientProps = new Properties();
        Properties serverProps = new Properties();
        serverProps.put("jacorb.test.maxheapsize", "64m");
        ClientServerSetup setup = new ClientServerSetup(suite, OutOfMemoryImpl.class.getName(),
                clientProps, serverProps);

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

        return setup;
View Full Code Here

    public static Test suite()
    {
        TestSuite suite = new TestSuite( "JAC178 client/server tests" );

        ClientServerSetup setup = new ClientServerSetup( suite, "org.jacorb.test.bugs.bugjac178.JAC178Impl");

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

        return setup;
    }
View Full Code Here

        serverProps.put("jacorb.naming.ior_filename", "");
        serverProps.put("jacorb.naming.print_ior", "true");
        serverProps.put("jacorb.naming.db_dir", tmpDir.toString());
        serverProps.put(CommonSetup.JACORB_REGRESSION_DISABLE_SECURITY, "true");

        ClientServerSetup setup = new ClientServerSetup( suite , NameServer.class.getName()"ignored", clientProps, serverProps);

        suite.addTest (new  ContextTest("testNameService", setup));

        return setup;
    }
View Full Code Here

        Properties clientProps = new Properties();

        // this property will cause the handshake between client and server to fail!
        clientProps.setProperty("jacorb.security.ssl.client.cipher_suites", "SSL_RSA_WITH_RC4_128_MD5");

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

        if (setup.isSSLEnabled())
        {
            TestUtils.addToSuite(suite, setup, BugJac359Test.class);
        }
        else
        {
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.