|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.struts.action.TestActionRedirect
public class TestActionRedirect
Unit tests for the ActionRedirect
class.
Constructor Summary | |
---|---|
TestActionRedirect(String s)
|
Method Summary | |
---|---|
static junit.framework.TestSuite |
getSuite()
|
static void |
main(String[] args)
|
void |
testActionRedirectAddParameter()
Test all addParameter methods accepting different data types. |
void |
testActionRedirectAddSameNameParameter()
Test adding parameters with the same name. |
void |
testActionRedirectFromExistingForward()
Test creating an ActionRedirect which copies its configuration from an existing ActionForward (except for the "redirect" property). |
void |
testActionRedirectRedirectFlag()
Check that the redirect flag is set. |
void |
testActionRedirectWithAnchor()
Test redirect with anchor. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestActionRedirect(String s)
Method Detail |
---|
public static junit.framework.TestSuite getSuite()
public static void main(String[] args)
public void testActionRedirectRedirectFlag()
public void testActionRedirectAddParameter()
public void testActionRedirectWithAnchor()
public void testActionRedirectAddSameNameParameter()
public void testActionRedirectFromExistingForward()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |