Package org.jacorb.test.harness

Examples of org.jacorb.test.harness.NameServiceSetup


                    nsProp_1.setProperty("jacorb.log.showThread", "on");
                    nsProp_1.setProperty("jacorb.log.showSrcInfo", "on");
                }

                // initiate the NameServer service
                nsSetup_1 = new NameServiceSetup (folder1, nsProp_1, 1);
                nsSetup_1.setUp();
                TestUtils.getLogger().debug("++++ setting NameServer #1 - complete"==null? "null" : "++++ setting NameServer #1 - complete");
            }
            catch (Exception e)
            {
                // ignored
            }
        }

        if (nsON_2 == NS_2_ON && nsSetup_2 == null)
        {
            try
            {
                TestUtils.getLogger().debug("++++ setting NameServer #2"==null? "null" : "++++ setting NameServer #2");
                if (nsProp_2 == null)
                {
                    // initialize NameServer #1 properties
                    nsProp_2 = new Properties();
                    nsProp_2.setProperty ("OAAddress","iiop://:" + NS_2_LEP);
                    nsProp_2.setProperty ("jacorb.naming.print_ior", "on");

                    nsIOR_2 = File.createTempFile("MyNS2", ".ior");
                    nsIOR_2.deleteOnExit();

                    nsProp_2.setProperty ("jacorb.naming.ior_filename", nsIOR_2.toString());
                    nsProp_2.setProperty ("jacorb.naming.time out", "5000");
                    nsProp_2.setProperty ("jacorb.test.timeout.server", Long.toString(10000));

                    nsProp_2.setProperty("jacorb.log.showThread", "on");
                    nsProp_2.setProperty("jacorb.log.showSrcInfo", "on");
                }

                // initiate the NameServer service
                nsSetup_2 = new NameServiceSetup (folder2, nsProp_2, 2);
                nsSetup_2.setUp();
                TestUtils.getLogger().debug("++++ setting NameServer #2 - complete"==null? "null" : "++++ setting NameServer #2 - complete");
            }
            catch (Exception e)
            {
View Full Code Here


    @BeforeClass
    public static void beforeClassSetUp() throws Exception
    {
        Assume.assumeFalse(TestUtils.isSSLEnabled);

        nsSetup = new NameServiceSetup (folder);
        nsSetup.setUp();
    }
View Full Code Here

TOP

Related Classes of org.jacorb.test.harness.NameServiceSetup

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.