Package com.volantis.mcs.expression.functions.diselect

Examples of com.volantis.mcs.expression.functions.diselect.DIColorIndexFunction.execute()


        accessorMock.expects.getDependentPolicyValue(
                DevicePolicyConstants.PALETTE).returns(paletteSize);

        // test!
        DIColorIndexFunction function = new DIColorIndexFunction();
        Value result = function.execute(exprContext, accessorMock,
                defaultValue);

        // checks that result is as expected
        assertTrue(result instanceof SimpleIntValue);
        assertTrue(expectedValue.asJavaInt() ==
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.