You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/01/01 15:03:10 UTC
cvs commit: jakarta-cactus/sample-servlet/src/unit/share/org/apache/cactus/unit TestServletTestCaseOverrideRedirector.java
vmassol 2003/01/01 06:03:10
Modified: sample-servlet/src/unit/share/org/apache/cactus/unit
TestServletTestCaseOverrideRedirector.java
Log:
Added missing javadoc
Revision Changes Path
1.2 +16 -1 jakarta-cactus/sample-servlet/src/unit/share/org/apache/cactus/unit/TestServletTestCaseOverrideRedirector.java
Index: TestServletTestCaseOverrideRedirector.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/sample-servlet/src/unit/share/org/apache/cactus/unit/TestServletTestCaseOverrideRedirector.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestServletTestCaseOverrideRedirector.java 1 Jan 2003 13:24:56 -0000 1.1
+++ TestServletTestCaseOverrideRedirector.java 1 Jan 2003 14:03:10 -0000 1.2
@@ -132,11 +132,22 @@
//-------------------------------------------------------------------------
+ /**
+ * Verify that it is possible to set back the original redirector
+ * again.
+ *
+ * @param theRequest the request object that serves to initialize the
+ * HTTP connection to the server redirector.
+ */
public void beginRedirectorOverride2(WebRequest theRequest)
{
theRequest.setRedirectorName("ServletRedirector");
}
+ /**
+ * Verify that it is possible to set back the original redirector
+ * again.
+ */
public void testRedirectorOverride2()
{
assertEquals("value1 used for testing",
@@ -145,6 +156,10 @@
//-------------------------------------------------------------------------
+ /**
+ * Verify that when no redirector is overriden the default redirector
+ * is the expected one.
+ */
public void testRedirectorOverride3()
{
assertEquals("value1 used for testing",
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>