Package org.auraframework.impl.javascript.renderer

Examples of org.auraframework.impl.javascript.renderer.JavascriptRendererDef


     *
     * @throws Exception
     */
    public void testIsLocal() throws Exception {
        JavascriptRendererDef.Builder builder = new JavascriptRendererDef.Builder();
        JavascriptRendererDef def = builder.build();
        assertFalse("Javascript renderers should not be defined as Local, they are run in clients", def.isLocal());
    }
View Full Code Here


        Definition renderer = parser.parse(descriptor, source);

        // STEP 2:Verify the RENDERERDEF object
        assertTrue(renderer instanceof JavascriptRendererDef);
        // Convert from a generic DEFINITION to a Javascript Renderer Definition
        JavascriptRendererDef obj = (JavascriptRendererDef) renderer;
        // Step 3: Gold file the JAvascriptRenderDef
        serializeAndGoldFile(renderer, "_JSRendererDef");
        // Step 4: Verify properties of JavascriptRenderDef Object
        // OBject that is to be verified, Qualified name,
        assertEquals("unexpected qualifiedName of renderer",
                "js://test.testJSRenderer", obj.getDescriptor()
                        .getQualifiedName());
    }
View Full Code Here

TOP

Related Classes of org.auraframework.impl.javascript.renderer.JavascriptRendererDef

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.