Package org.auraframework.impl.javascript.model

Examples of org.auraframework.impl.javascript.model.JavascriptValueDef


        }
    }

    private void validateProperty(JavascriptModelDef def, String name, Object expectedValue) throws Exception {
        // Validate the default from the def
        JavascriptValueDef valueDef = (JavascriptValueDef) def.getMemberByName(name);
        Object defaultValue = valueDef.getDefaultValue();
        assertEquals(expectedValue, defaultValue);

        // Also validate that the default appropriately shows up on an instance
        // of this model.
        Model model = def.newInstance();
View Full Code Here

TOP

Related Classes of org.auraframework.impl.javascript.model.JavascriptValueDef

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.