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

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

public class ResourceBundleTest
extends AbstractReflectivePortletTest

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

Author:
David H. DeWolf

Constructor Summary
ResourceBundleTest()
           
 
Method Summary
protected  TestResult checkGetEnglishBundle(javax.portlet.PortletConfig config, javax.portlet.PortletRequest req)
           
protected  TestResult checkGetGermanBundle(javax.portlet.PortletConfig config, javax.portlet.PortletRequest req)
           
protected  TestResult checkGetNames(javax.portlet.PortletConfig config, javax.portlet.PortletRequest req)
           
protected  TestResult checkResourceBundleExists(javax.portlet.PortletConfig config, javax.portlet.PortletRequest req)
           
 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

ResourceBundleTest

public ResourceBundleTest()
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)

checkResourceBundleExists

protected TestResult checkResourceBundleExists(javax.portlet.PortletConfig config,
                                               javax.portlet.PortletRequest req)

checkGetNames

protected TestResult checkGetNames(javax.portlet.PortletConfig config,
                                   javax.portlet.PortletRequest req)

checkGetGermanBundle

protected TestResult checkGetGermanBundle(javax.portlet.PortletConfig config,
                                          javax.portlet.PortletRequest req)

checkGetEnglishBundle

protected TestResult checkGetEnglishBundle(javax.portlet.PortletConfig config,
                                           javax.portlet.PortletRequest req)


Copyright © 2003-2011 . All Rights Reserved.