Package org.auraframework.def

Examples of org.auraframework.def.StyleDef


        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespaceTrueConditions",
                StyleDef.class);
        Aura.getContextService()
                .getCurrentContext()
                .setClient(new Client(UserAgent.GOOGLE_CHROME.getUserAgentString()));
        StyleDef style = descriptor.getDef();
        assertTrue(style.getName().equals("testStyleNamespaceTrueConditions"));
        goldFileText(style.getCode());
    }
View Full Code Here


        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespaceMediaAndConditions",
                StyleDef.class);
        Aura.getContextService()
                .getCurrentContext()
                .setClient(new Client(UserAgent.GOOGLE_CHROME.getUserAgentString()));
        StyleDef style = descriptor.getDef();
        assertTrue(style.getName().equals("testStyleNamespaceMediaAndConditions"));
        goldFileText(style.getCode());
    }
View Full Code Here

     * Tests keyframes
     */
    public void testKeyframes() throws Exception {
        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespaceKeyframes",
                StyleDef.class);
        StyleDef style = descriptor.getDef();
        goldFileText(style.getCode());
    }
View Full Code Here

     * Tests font faces
     */
    public void testFontface() throws Exception {
        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespaceFontface",
                StyleDef.class);
        StyleDef style = descriptor.getDef();
        goldFileText(style.getCode());
    }
View Full Code Here

    }

    public void testAutoPrefixing() throws Exception {
        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespacePrefixing",
                StyleDef.class);
        StyleDef style = descriptor.getDef();
        goldFileText(style.getCode());
    }
View Full Code Here

     * Test SVG data uris
     */
    public void testSvgUrl() throws Exception {
        DefDescriptor<StyleDef> descriptor = DefDescriptorImpl.getInstance("test.testStyleNamespaceSvgUrl",
                StyleDef.class);
        StyleDef style = descriptor.getDef();
        goldFileText(style.getCode());
    }
View Full Code Here

TOP

Related Classes of org.auraframework.def.StyleDef

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.