Package org.auraframework.util.type

Examples of org.auraframework.util.type.CustomPairType


        DefDescriptor<ComponentDef> cmpDesc = addSourceAutoCleanup(
                ComponentDef.class,
                String.format(baseComponentTag, "",
                        "<aura:attribute name='pairAttr' type='java://org.auraframework.util.type.CustomPairType' default='HouseNo$300'/>"));
        Component cmp = Aura.getInstanceService().getInstance(cmpDesc);
        assertEquals("Failed to convert attribute default value to custom data type object.", new CustomPairType(
                "HouseNo", 300), cmp.getValue(new PropertyReferenceImpl("v.pairAttr", AuraUtil
                .getExternalLocation("direct attributeset access"))));
    }
View Full Code Here

TOP

Related Classes of org.auraframework.util.type.CustomPairType

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.