You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by pb...@apache.org on 2007/03/03 03:00:37 UTC
svn commit: r514052 -
/struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java
Author: pbenedict
Date: Fri Mar 2 18:00:37 2007
New Revision: 514052
URL: http://svn.apache.org/viewvc?view=rev&rev=514052
Log:
STR-3009: Modify test to match reverted behavior
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java
Modified: struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java
URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java?view=diff&rev=514052&r1=514051&r2=514052
==============================================================================
--- struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java (original)
+++ struts/struts1/branches/STRUTS_1_3_BRANCH/core/src/test/java/org/apache/struts/action/TestActionRedirect.java Fri Mar 2 18:00:37 2007
@@ -104,7 +104,7 @@
/**
* Test creating an ActionRedirect which copies its configuration from an
- * existing ActionForward.
+ * existing ActionForward (except for the "redirect" property).
*/
public void testActionRedirectFromExistingForward() {
ActionForward forward = new ActionForward("/path.do?param=param1");
@@ -123,7 +123,7 @@
ar.getOriginalPath());
assertEquals("Incorrect or missing property", "value",
ar.getProperty("key"));
- assertTrue("Original had redirect to false", !ar.getRedirect());
+ assertTrue("Original had redirect to false", ar.getRedirect());
}
/**