Package org.jacorb.test

Examples of org.jacorb.test.BasicServer.bounce_boolean()


    private void testORB() throws InvalidName
    {
        ORB orb = newORB(args);
        BasicServer server = BasicServerHelper.narrow(orb.resolve_initial_references("BasicServer"));
        assertFalse(server.bounce_boolean(false));
    }

    public void testORBDefaultInitRef() throws Exception
    {
        // TODO
View Full Code Here


        rootPOA.deactivate_object(rootPOA.servant_to_id(servant));

        assertFileExists (getLogFilename("jacorb.log"));
        try
        {
            server.bounce_boolean(true);
        }
        catch (OBJECT_NOT_EXIST e)
        {
            StringWriter stringWriter = new StringWriter();
            PrintWriter printWriter = new PrintWriter(stringWriter);
View Full Code Here

    private ORB testORB() throws InvalidName
    {
        orb = newORB(args);
        BasicServer server = BasicServerHelper.narrow(orb.resolve_initial_references("BasicServer"));
        assertFalse(server.bounce_boolean(false));

        return orb;
    }

    @Test
View Full Code Here

        args.add("-ORBInitRef");
        args.add("BasicServer=" + setup.getServerIOR());

        ORB orb = testORB();
        BasicServer server = BasicServerHelper.narrow(orb.resolve_initial_references("ORBInitRefServer"));
        assertFalse(server.bounce_boolean(false));
    }

    @After
    public void tearDown() throws Exception
    {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.