Examples of ByteHolder


Examples of org.omg.CORBA.ByteHolder

    }

    @Test
    public void test_pass_out_octet()
    {
        ByteHolder x = new ByteHolder( (byte) -1 );
        server.pass_out_octet( x );
        assertEquals( (byte)23, x.value );
    }
View Full Code Here

Examples of org.omg.CORBA.ByteHolder

    }

    @Test
    public void test_pass_inout_octet()
    {
        ByteHolder x = new ByteHolder( (byte) -1 );
        server.pass_inout_octet( x );
        assertEquals( (byte)0, x.value );
    }
View Full Code Here

Examples of org.omg.CORBA.ByteHolder

        throws Exception
    {
        byte testValue = (byte) 0xFF;

        Any outAny = setup.getClientOrb().create_any();
        outAny.insert_Streamable(new ByteHolder(testValue));
        assertEquals(testValue, outAny.extract_octet());

        Any inAny = server.bounce_any(outAny);

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