Package org.omg.CORBA

Examples of org.omg.CORBA.Any.insert_longlong()


    @Test
    public void testBug671() throws Exception
    {
        Any _any = getORB().create_any();
        _any.insert_longlong(139192928000000000l);
        runEvaluation(_any, "$ >= 139192928000000000");
    }

    @Test
    public void testAccessNonExistingStructMember() throws Exception
View Full Code Here


        System.out.println( s.generic( a ) );
       
        // long
        long l = 4711;
        System.out.print("Passing a longlong...");
        a.insert_longlong( l );
        System.out.println( s.generic( a ) );

        // short
        System.out.print("Passing a short...");
        a.insert_short( (short)5 );
View Full Code Here

    public void test_longlong()
        throws Exception
    {
        long testValue = 4711L;
        Any outAny = setup.getClientOrb().create_any();
        outAny.insert_longlong(testValue);
        assertEquals(testValue, outAny.extract_longlong());

        Any inAny = server.bounce_any(outAny);

        assertEquals(testValue, inAny.extract_longlong());
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.