Package org.impalaframework.module.definition

Examples of org.impalaframework.module.definition.ModuleContainerImpl


*/
public class ChildModuleContainerTest extends TestCase {

    public void testChildContainer() {
        final ModuleDefinition[] strings = new ModuleDefinition[] { new SimpleModuleDefinition("p1"), new SimpleModuleDefinition("p2") };
        ModuleContainer container = new ModuleContainerImpl(strings);

        assertTrue(container.hasChildModuleDefinition("p1"));
        assertTrue(container.hasChildModuleDefinition("p2"));
        assertFalse(container.hasChildModuleDefinition("p3"));

        assertEquals(2, container.getChildModuleNames().size());
       
        //fail("To implement add() and remove() tests");
    }
View Full Code Here

TOP

Related Classes of org.impalaframework.module.definition.ModuleContainerImpl

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.