[jboss-cvs] jboss-seam/examples/booking/src/org/jboss/seam/example/booking/test ...
Gavin King
gavin.king at jboss.com
Thu Oct 26 17:10:41 EDT 2006
User: gavin
Date: 06/10/26 17:10:41
Modified: examples/booking/src/org/jboss/seam/example/booking/test
BookingTest.java ChangePasswordTest.java
Log:
minor
Revision Changes Path
1.39 +3 -3 jboss-seam/examples/booking/src/org/jboss/seam/example/booking/test/BookingTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BookingTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/src/org/jboss/seam/example/booking/test/BookingTest.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- BookingTest.java 26 Oct 2006 18:34:08 -0000 1.38
+++ BookingTest.java 26 Oct 2006 21:10:41 -0000 1.39
@@ -1,4 +1,4 @@
-//$Id: BookingTest.java,v 1.38 2006/10/26 18:34:08 gavin Exp $
+//$Id: BookingTest.java,v 1.39 2006/10/26 21:10:41 gavin Exp $
package org.jboss.seam.example.booking.test;
import java.util.Calendar;
@@ -109,7 +109,7 @@
@Override
protected void processValidations() throws Exception
{
- validate(Booking.class, "creditCard", "123");
+ validateValue("#{booking.creditCard}", "123");
assert isValidationFailure();
}
@@ -130,7 +130,7 @@
@Override
protected void processValidations() throws Exception
{
- validate(Booking.class, "creditCardName", "");
+ validateValue("#{booking.creditCardName}", "");
assert isValidationFailure();
}
1.13 +2 -2 jboss-seam/examples/booking/src/org/jboss/seam/example/booking/test/ChangePasswordTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ChangePasswordTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/src/org/jboss/seam/example/booking/test/ChangePasswordTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- ChangePasswordTest.java 26 Oct 2006 18:34:08 -0000 1.12
+++ ChangePasswordTest.java 26 Oct 2006 21:10:41 -0000 1.13
@@ -1,4 +1,4 @@
-//$Id: ChangePasswordTest.java,v 1.12 2006/10/26 18:34:08 gavin Exp $
+//$Id: ChangePasswordTest.java,v 1.13 2006/10/26 21:10:41 gavin Exp $
package org.jboss.seam.example.booking.test;
import org.jboss.seam.contexts.Contexts;
@@ -30,7 +30,7 @@
@Override
protected void processValidations() throws Exception
{
- validate(User.class, "password", "xxx");
+ validateValue("#{user.password}", "xxx");
assert isValidationFailure();
}
More information about the jboss-cvs-commits
mailing list