[jboss-cvs] jboss-seam/examples/blog/src/test ...
Norman Richards
norman.richards at jboss.com
Tue Dec 26 12:36:43 EST 2006
User: nrichards
Date: 06/12/26 12:36:43
Modified: examples/blog/src/test BlogTest.java
Log:
post action no longer returns view id
Revision Changes Path
1.13 +8 -8 jboss-seam/examples/blog/src/test/BlogTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BlogTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/src/test/BlogTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- BlogTest.java 26 Oct 2006 17:55:52 -0000 1.12
+++ BlogTest.java 26 Dec 2006 17:36:43 -0000 1.13
@@ -21,7 +21,6 @@
@Test
public void testPost() throws Exception
{
-
new FacesRequest("/post.xhtml")
{
@@ -37,7 +36,9 @@
@Override
protected void invokeApplication() throws Exception
{
- assert invokeMethod("#{postAction.post}").equals("/index.xhtml");
+ // post now returns void
+ // assert invokeMethod("#{postAction.post}").equals("/index.xhtml");
+ invokeMethod("#{postAction.post}");
setOutcome("/index.xhtml");
}
@@ -165,5 +166,4 @@
{
return new SeamExtendedManagedPersistencePhaseListener();
}
-
}
More information about the jboss-cvs-commits
mailing list