Package org.jacorb.test

Examples of org.jacorb.test.TimingServer


    @Test
    public void testDuplicateObject1 ()
    {
       String ior1 = setup.getClientOrb().object_to_string (server);
       TimingServer server2 = TimingServerHelper.narrow (setup.getClientOrb ().string_to_object (ior1));

       assertNotSame (server, server2);
       assertNotSame(((ObjectImpl)server)._get_delegate (), ((ObjectImpl)server2)._get_delegate ());
    }
View Full Code Here



    @Test
    public void testDuplicateObject2 ()
    {
        TimingServer server2 = TimingServerHelper.narrow (server._duplicate());

        assertNotSame (server, server2);
        assertNotSame(((ObjectImpl)server)._get_delegate (), ((ObjectImpl)server2)._get_delegate ());
    }
View Full Code Here

                this.assertEquals (765, ami_return_val);
                pass();
            }
        };

        TimingServer server2 = clearPolicies (server);
        server2 = setReplyEndTime (server2, System.currentTimeMillis() + 1000);

        // This one should timeout (using the new server2)
        ((_TimingServerStub)server2).sendc_operation (ref (handler1), 767, 2000);
        handler1.wait_for_reply (4000);
View Full Code Here

TOP

Related Classes of org.jacorb.test.TimingServer

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.