org.apache.pluto.portalImpl.portlet.test
Class SimpleAttributeTest

java.lang.Object
  extended by org.apache.pluto.portalImpl.portlet.test.AbstractReflectivePortletTest
      extended by org.apache.pluto.portalImpl.portlet.test.SimpleAttributeTest
All Implemented Interfaces:
PortletTest

public class SimpleAttributeTest
extends AbstractReflectivePortletTest

Tests basic attribute retrieval and storage functions within the portlet request, session, and context objects.

Author:
David H. DeWolf

Constructor Summary
SimpleAttributeTest()
           
 
Method Summary
protected  TestResult checkEnumerateAttributes(javax.portlet.PortletContext req)
           
protected  TestResult checkEnumerateAttributes(javax.portlet.PortletRequest req)
           
protected  TestResult checkEnumerateAttributes(javax.portlet.PortletSession req)
           
protected  TestResult checkGetNullAttribute(javax.portlet.PortletContext context)
           
protected  TestResult checkGetNullAttribute(javax.portlet.PortletRequest req)
           
protected  TestResult checkGetNullAttribute(javax.portlet.PortletSession session)
           
protected  TestResult checkRemoveAttribute(javax.portlet.PortletContext context)
           
protected  TestResult checkRemoveAttribute(javax.portlet.PortletRequest req)
           
protected  TestResult checkRemoveAttribute(javax.portlet.PortletSession session)
           
protected  TestResult checkSetAttribute(javax.portlet.PortletContext context)
           
protected  TestResult checkSetAttribute(javax.portlet.PortletRequest req)
           
protected  TestResult checkSetAttribute(javax.portlet.PortletSession session)
           
 java.util.Map doPrerequisiteAction(javax.portlet.PortletContext context, javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
 java.lang.String getTestSuiteName()
           
 
Methods inherited from class org.apache.pluto.portalImpl.portlet.test.AbstractReflectivePortletTest
doTest, getConfig, getInitParameters, getRenderParameters, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttributeTest

public SimpleAttributeTest()
Method Detail

getTestSuiteName

public java.lang.String getTestSuiteName()

doPrerequisiteAction

public java.util.Map doPrerequisiteAction(javax.portlet.PortletContext context,
                                          javax.portlet.ActionRequest req,
                                          javax.portlet.ActionResponse res)

checkGetNullAttribute

protected TestResult checkGetNullAttribute(javax.portlet.PortletRequest req)

checkSetAttribute

protected TestResult checkSetAttribute(javax.portlet.PortletRequest req)

checkRemoveAttribute

protected TestResult checkRemoveAttribute(javax.portlet.PortletRequest req)

checkEnumerateAttributes

protected TestResult checkEnumerateAttributes(javax.portlet.PortletRequest req)

checkGetNullAttribute

protected TestResult checkGetNullAttribute(javax.portlet.PortletSession session)

checkSetAttribute

protected TestResult checkSetAttribute(javax.portlet.PortletSession session)

checkRemoveAttribute

protected TestResult checkRemoveAttribute(javax.portlet.PortletSession session)

checkEnumerateAttributes

protected TestResult checkEnumerateAttributes(javax.portlet.PortletSession req)

checkGetNullAttribute

protected TestResult checkGetNullAttribute(javax.portlet.PortletContext context)

checkSetAttribute

protected TestResult checkSetAttribute(javax.portlet.PortletContext context)

checkRemoveAttribute

protected TestResult checkRemoveAttribute(javax.portlet.PortletContext context)

checkEnumerateAttributes

protected TestResult checkEnumerateAttributes(javax.portlet.PortletContext req)


Copyright © 2003-2011 . All Rights Reserved.