Package org.auraframework.impl.javascript.model

Examples of org.auraframework.impl.javascript.model.JavascriptModelDef$Builder


     * Verify that javascript model defs are serializable.
     */
    public void testDefaults() throws Exception {
        // Find the model by autowiring
        Aura.getDefinitionService().getDefinition("test:jsModel", ComponentDef.class);
        JavascriptModelDef modelDef = (JavascriptModelDef) Aura.getDefinitionService().getDefinition(
                "js://test.jsModel", ModelDef.class);

        // Make sure the properties expected are found on the def
        validateProperty(modelDef, "obj", Maps.newHashMap());
        validateProperty(modelDef, "bool", true);
View Full Code Here

TOP

Related Classes of org.auraframework.impl.javascript.model.JavascriptModelDef$Builder

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.