Package org.objectweb.type_test.doc

Examples of org.objectweb.type_test.doc.TestByte


       
        TestBoolean wrapper2 = new TestBoolean();
        WrapperHelper.setWrappedPart("x", wrapper2, true);
        assertEquals(true, wrapper2.isX());
       
        TestByte wrapper3 = new TestByte();
        byte arg3 = 1;
        WrapperHelper.setWrappedPart("x", wrapper3, arg3);
        assertEquals(arg3, wrapper3.getX());
       
        try {
            WrapperHelper.setWrappedPart("x", wrapper3, null);
        } catch (IllegalArgumentException ex) {
            //Expected Exception
View Full Code Here


        boolean arg2 = true;
        wrapper1.setX(arg2);
        WrapperHelper.getWrappedPart("x", wrapper1, boolean.class);
        assertEquals(arg2, wrapper1.isX());

        TestByte wrapper3 = new TestByte();
        byte arg3 = 1;
        wrapper3.setX(arg3);
        WrapperHelper.getWrappedPart("x", wrapper3, Byte.class);
        assertEquals(arg3, wrapper3.getX());

        TestByteResponse wrapper4 = new TestByteResponse();
        byte arg4 = 1;
        wrapper4.setReturn(arg4);
        WrapperHelper.getWrappedPart("return", wrapper4, Byte.class);
View Full Code Here

TOP

Related Classes of org.objectweb.type_test.doc.TestByte

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.