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

Examples of com.volantis.mcs.expression.functions.diselect.DIColorIndexFunction


        // set expectations
        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

Related Classes of com.volantis.mcs.expression.functions.diselect.DIColorIndexFunction

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.