Package org.apache.pluto.descriptors.portlet

Examples of org.apache.pluto.descriptors.portlet.CustomPortletModeDD


       
       
        List customPortletModes = dd.getCustomPortletModes();
        assertEquals(2, customPortletModes.size());
       
        CustomPortletModeDD cpm1 = (CustomPortletModeDD)customPortletModes.get(0);
        assertEquals("customMode", cpm1.getPortletMode());
        assertEquals(1, cpm1.getDescriptions().size());
       
        CustomPortletModeDD cpm2 = (CustomPortletModeDD)customPortletModes.get(1);
        assertEquals("customMode2", cpm2.getPortletMode());
        assertEquals(1, cpm2.getDescriptions().size());
       
        assertEquals(2, dd.getCustomWindowStates().size());
        assertEquals(1, dd.getUserAttributes().size());

        assertEquals(1, dd.getSecurityConstraints().size());
View Full Code Here

TOP

Related Classes of org.apache.pluto.descriptors.portlet.CustomPortletModeDD

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.