@TestCase({Assertion.JSR168_36, Assertion.JSR168_37})
public class RequestDispatchingDependingOnPortletMode
{
public RequestDispatchingDependingOnPortletMode(PortletTestCase seq)
{
seq.bindAction(new JoinPoint(org.gatein.pc.test.portlet.jsr168.tck.portletmode.spec.RequestDispatchingDependingOnModePortlet.NAME, JoinPointType.PORTLET_ACTION), new PortletActionTestAction()
{
protected void run(Portlet portlet, ActionRequest request, ActionResponse response, PortletTestContext context) throws PortletException, IOException
{
throw new AssertionError();
}
});
seq.bindAction(new JoinPoint(org.gatein.pc.test.portlet.jsr168.tck.portletmode.spec.RequestDispatchingDependingOnModePortlet.NAME, JoinPointType.PORTLET_RENDER), new PortletRenderTestAction()
{
protected Response run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context) throws PortletException, IOException
{
throw new AssertionError();
}