Package org.apache.pluto.core

Source Code of org.apache.pluto.core.ContainerInvocationTest

package org.apache.pluto.core;

import junit.framework.TestCase;
import org.apache.pluto.PortletWindow;
import org.apache.pluto.PortletWindowID;

import javax.portlet.WindowState;
import javax.portlet.PortletMode;


public class ContainerInvocationTest extends TestCase
{
    private static PortletContainerImpl container =
        new PortletContainerImpl("test", null, null);

    public void testSetInvocation()
    {
        ContainerInvocation.setInvocation(container, new PortletWindow() {

            public PortletWindowID getId() {
                return null//To change body of implemented methods use File | Settings | File Templates.
            }

            public String getContextPath() {
                return null//To change body of implemented methods use File | Settings | File Templates.
            }

            public String getPortletName() {
                return null//To change body of implemented methods use File | Settings | File Templates.
            }

            public WindowState getWindowState() {
                return null//To change body of implemented methods use File | Settings | File Templates.
            }

            public PortletMode getPortletMode() {
                return null//To change body of implemented methods use File | Settings | File Templates.
            }
        });

    }

    public void testClearInvocation()
    {
        ContainerInvocation.clearInvocation();
    }

}
TOP

Related Classes of org.apache.pluto.core.ContainerInvocationTest

TOP
Copyright © 2018 www.massapi.com. 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.