| org.apache.struts.action.TestActionRedirect
TestActionRedirect | public class TestActionRedirect extends TestCase (Code) | | Unit tests for the
ActionRedirect class.
version: $Rev: 514052 $ $Date: 2007-03-02 20:00:37 -0600 (Fri, 02 Mar 2007) $ |
assertHasParameter | static void assertHasParameter(Map parameters, String paramName, String paramValue)(Code) | | Assert that the given parameters contains an entry for
paramValue under the paramName key.
Parameters: parameters - the map of parameters to check into Parameters: paramName - the key of the value to be checked Parameters: paramValue - the value to check for |
countParameters | static int countParameters(Map parameters, String paramName)(Code) | | Determine the number of values that are available for a specific
parameter.
Parameters: parameters - the map of parameters to check into Parameters: paramName - the key of the value(s) to count the number of values for the specified parameter |
getSuite | public static TestSuite getSuite()(Code) | | |
testActionRedirectAddParameter | public void testActionRedirectAddParameter()(Code) | | Test all addParameter methods accepting different data types.
|
testActionRedirectAddSameNameParameter | public void testActionRedirectAddSameNameParameter()(Code) | | Test adding parameters with the same name.
|
testActionRedirectFromExistingForward | public void testActionRedirectFromExistingForward()(Code) | | Test creating an ActionRedirect which copies its configuration from an
existing ActionForward (except for the "redirect" property).
|
testActionRedirectRedirectFlag | public void testActionRedirectRedirectFlag()(Code) | | Check that the redirect flag is set.
|
testActionRedirectWithAnchor | public void testActionRedirectWithAnchor()(Code) | | Test redirect with anchor.
|
|
|