You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dw...@apache.org on 2002/03/30 05:30:56 UTC
cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator RequiredNameTest.java
dwinterfeldt 02/03/29 20:30:56
Modified: validator/src/test/org/apache/commons/validator
RequiredNameTest.java
Log:
The class Name was renamed to NameBean.
Revision Changes Path
1.3 +12 -6 jakarta-commons/validator/src/test/org/apache/commons/validator/RequiredNameTest.java
Index: RequiredNameTest.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/RequiredNameTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RequiredNameTest.java 17 Mar 2002 00:27:35 -0000 1.2
+++ RequiredNameTest.java 30 Mar 2002 04:30:56 -0000 1.3
@@ -1,4 +1,9 @@
/*
+ * $Header: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/RequiredNameTest.java,v 1.3 2002/03/30 04:30:56 dwinterfeldt Exp $
+ * $Revision: 1.3 $
+ * $Date: 2002/03/30 04:30:56 $
+ *
+ * ====================================================================
*
* The Apache Software License, Version 1.1
*
@@ -72,6 +77,7 @@
* <p>Performs Validation Test.</p>
*
* @author David Winterfeldt
+ * @version $Revision: 1.3 $ $Date: 2002/03/30 04:30:56 $
*/
public class RequiredNameTest extends TestCase {
@@ -149,7 +155,7 @@
*/
public void testRequired() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
// Construct validator based on the loaded resources
// and the form key
@@ -186,7 +192,7 @@
*/
public void testRequiredFirstNameBlank() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
name.setFirstName("");
// Construct validator based on the loaded resources
@@ -220,7 +226,7 @@
*/
public void testRequiredFirstName() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
name.setFirstName("Joe");
// Construct validator based on the loaded resources
@@ -254,7 +260,7 @@
*/
public void testRequiredLastNameBlank() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
name.setLastName("");
// Construct validator based on the loaded resources
@@ -288,7 +294,7 @@
*/
public void testRequiredLastName() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
name.setLastName("Smith");
// Construct validator based on the loaded resources
@@ -323,7 +329,7 @@
*/
public void testRequiredName() throws ValidatorException {
// Create bean to run test on.
- Name name = new Name();
+ NameBean name = new NameBean();
name.setFirstName("Joe");
name.setLastName("Smith");
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>