[jboss-cvs] JBossAS SVN: r100767 - trunk/testsuite/src/resources/web/jspinjection.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 9 12:38:26 EST 2010


Author: remy.maucherat at jboss.com
Date: 2010-02-09 12:38:25 -0500 (Tue, 09 Feb 2010)
New Revision: 100767

Modified:
   trunk/testsuite/src/resources/web/jspinjection/nested.jsp
Log:
- "Fix" the test since doing "new Nested()" is never going to inject anything. The test will now fail as it does for simple.jsp,
  but this is as expected.
- For some reason, asserts don't work in JSPs.

Modified: trunk/testsuite/src/resources/web/jspinjection/nested.jsp
===================================================================
--- trunk/testsuite/src/resources/web/jspinjection/nested.jsp	2010-02-09 17:33:41 UTC (rev 100766)
+++ trunk/testsuite/src/resources/web/jspinjection/nested.jsp	2010-02-09 17:38:25 UTC (rev 100767)
@@ -47,6 +47,7 @@
 %>
 <%
  Nested nested = new Nested();
+ _jsp_instancemanager.newInstance(nested);
  
  assert nested.getSimpleStateful() != null : "Nested.stateful is null";
  assert nested.getSimpleStateful().doSomething() == true : "Nested.stateful returned false";




More information about the jboss-cvs-commits mailing list