commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator EmailTest.java
Date Sat, 14 Jun 2003 18:49:03 GMT
dgraham     2003/06/14 11:49:03

  Modified:    validator/src/test/org/apache/commons/validator
                        EmailTest.java
  Log:
  Added test for '+' in email address.
  
  Revision  Changes    Path
  1.14      +7 -4      jakarta-commons/validator/src/test/org/apache/commons/validator/EmailTest.java
  
  Index: EmailTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/EmailTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- EmailTest.java	28 May 2003 04:28:00 -0000	1.13
  +++ EmailTest.java	14 Jun 2003 18:49:03 -0000	1.14
  @@ -232,6 +232,9 @@
           // The ' character is valid in an email address.
       	info.setValue("andy.o'reilly@data-workshop.com");
       	valueTest(info, true);
  +        
  +        info.setValue("foo+bar@i.am.not.in.us.example.com");
  +        valueTest(info, true);
       }
      
      /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message