Examples of FakeArgument


Examples of com.sun.jini.test.spec.jeri.util.FakeArgument

        logger.log(Level.FINE,"test case " + (counter++)
            + ": IOException thrown from FakeArgument.readObject()");
        logger.log(Level.FINE,"");

        // initialize FakeInboundRequest
        Object[] args = { new FakeArgument(null, new IOException()) };
        request = new FakeInboundRequest(methodHash,args,0x00,0x00);

        // call dispatch and verify the proper result
        dispatcher.dispatch(impl,request,context);
        response = request.getResponseStream();
View Full Code Here

Examples of com.sun.jini.test.spec.jeri.util.FakeArgument

        // rInt: return int
        // m: method
        int i; Object o; Object[] params; Object rObj; int rInt; Method m;
        Class iclass = int.class; Class oclass = Object.class;

        FakeArgument fa = new FakeArgument(null,null);
        Class fic = FakeRemoteInterface.class;

        logger.log(Level.FINE,"=================================");
        logger.log(Level.FINE,"test case 1: voidReturn()");
        logger.log(Level.FINE,"");
View Full Code Here

Examples of com.sun.jini.test.spec.jeri.util.FakeArgument

            + ": IOException thrown from FakeArgument.writeObject()");
        logger.log(Level.FINE,"");

        // initialize FakeRemoteImpl
        impl.setFakeMethodException(
            new FakeArgument(new IOException(),null));

        // initialize FakeInboundRequest
        request = new FakeInboundRequest(methodHash,nullArgs,0x00,0x00);

        // call dispatch and verify the proper result
View Full Code Here

Examples of com.sun.jini.test.spec.jeri.util.FakeArgument

            + ": IOException thrown from FakeArgument.writeObject()");
        logger.log(Level.FINE,"");

        // initialize FakeRemoteImpl
        impl.setFakeMethodReturn(
            new FakeArgument(new IOException(),null));

        // initialize FakeInboundRequest
        request = new FakeInboundRequest(methodHash,nullArgs,0x00,0x00);

        // call dispatch and verify the proper result
View Full Code Here

Examples of com.sun.jini.test.spec.jeri.util.FakeArgument

        // params: method args in an Object array
        // rObj: return Object
        // rInt: return int
        int i; Object o; Object[] params; Object rObj; int rInt;

        FakeArgument fa = new FakeArgument(null,null);

        logger.log(Level.FINE,"=================================");
        logger.log(Level.FINE,"test case 1: voidReturn()");
        logger.log(Level.FINE,"");
        initCall(null);
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.