[jboss-cvs] jboss-seam/examples/todo/src/org/jboss/seam/example/todo/test ...
Gavin King
gavin.king at jboss.com
Wed Oct 25 19:55:58 EDT 2006
User: gavin
Date: 06/10/25 19:55:58
Modified: examples/todo/src/org/jboss/seam/example/todo/test
TodoTest.java
Log:
new test fwk
Revision Changes Path
1.9 +5 -5 jboss-seam/examples/todo/src/org/jboss/seam/example/todo/test/TodoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TodoTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/todo/src/org/jboss/seam/example/todo/test/TodoTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- TodoTest.java 17 Jun 2006 20:52:25 -0000 1.8
+++ TodoTest.java 25 Oct 2006 23:55:58 -0000 1.9
@@ -1,4 +1,4 @@
-//$Id: TodoTest.java,v 1.8 2006/06/17 20:52:25 gavin Exp $
+//$Id: TodoTest.java,v 1.9 2006/10/25 23:55:58 gavin Exp $
package org.jboss.seam.example.todo.test;
import java.util.List;
@@ -23,7 +23,7 @@
public void testTodo() throws Exception
{
- new Script() {
+ new FacesRequest() {
@Override
protected void updateModelValues() throws Exception
@@ -46,7 +46,7 @@
}.run();
- new Script()
+ new FacesRequest()
{
@Override
@@ -74,11 +74,11 @@
}.run();
- new Script()
+ new FacesRequest()
{
@Override
- protected void setup()
+ protected void beforeRequest()
{
getParameters().put( "taskId", new String[] { Long.toString(taskId) } );
}
More information about the jboss-cvs-commits
mailing list