jtaylor 02/03/21 10:47:40
Modified: src/rttest/org/apache/turbine JspServletTest.java
Log:
Changed the expected title to match the title of 'Index.jsp'. If the tests
were working correctly this would be the correct assertation, as it stands
it might break the tests. The problem is not in the test itself but in the
setUp / tearDown of the test case.
Revision Changes Path
1.3 +2 -2
jakarta-turbine-3/src/rttest/org/apache/turbine/JspServletTest.java
Index: JspServletTest.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-3/src/rttest/org/apache/turbine/JspServletTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JspServletTest.java 23 Jan 2002 04:35:59 -0000 1.2
+++ JspServletTest.java 21 Mar 2002 18:47:40 -0000 1.3
@@ -70,7 +70,7 @@
* tested here.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: JspServletTest.java,v 1.2 2002/01/23 04:35:59 brekke Exp $
+ * @version $Id: JspServletTest.java,v 1.3 2002/03/21 18:47:40 jtaylor Exp $
*/
public class JspServletTest
extends ServletTestCase
@@ -146,6 +146,6 @@
public void endHomepage(WebResponse theResponse)
throws Exception
{
- assertEquals("Test Application", theResponse.getTitle());
+ assertEquals("Test Application JSP Page", theResponse.getTitle());
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>