Package org.auraframework.impl.root.library

Examples of org.auraframework.impl.root.library.ImportDefImpl$Builder


        StringSource<ImportDef> source = new StringSource<>(descriptor, String.format(
                "<%s library='%s' property='p'/>", ImportDefHandler.TAG, expectedLibrary), "myID", Format.XML);
        Mockito.doReturn(parentDescriptor).when(parentHandler).getDefDescriptor();
        ImportDefHandler handler = new ImportDefHandler(parentHandler, getReader(source), source);

        ImportDefImpl def = handler.getElement();

        DefDescriptor<LibraryDef> expectedDescriptor = DefDescriptorImpl.getInstance(expectedLibrary, LibraryDef.class);
        assertEquals(expectedDescriptor, def.getDescriptor());
        assertEquals(expectedDescriptor, def.getLibraryDescriptor());
    }
View Full Code Here

TOP

Related Classes of org.auraframework.impl.root.library.ImportDefImpl$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.