commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r453757 - /jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java
Date Fri, 06 Oct 2006 20:33:56 GMT
Author: bayard
Date: Fri Oct  6 13:33:55 2006
New Revision: 453757

URL: http://svn.apache.org/viewvc?view=rev&rev=453757
Log:
Applying unit test for #VALIDATOR-204

Modified:
    jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java

Modified: jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java?view=diff&rev=453757&r1=453756&r2=453757
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java
(original)
+++ jakarta/commons/proper/validator/trunk/src/test/org/apache/commons/validator/UrlTest.java
Fri Oct  6 13:33:55 2006
@@ -141,6 +141,13 @@
        urlValidator.isValid("http://www.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.logoworks.comwww.log");
    }
 
+   public void testValidator204() {
+       String[] schemes = {"http","https"};
+       UrlValidator urlValidator = new UrlValidator(schemes);
+       System.err.println("11111");
+       assertTrue(urlValidator.isValid("http://tech.yahoo.com/rc/desktops/102;_ylt=Ao8yevQHlZ4On0O3ZJGXLEQFLZA5"));
+   }
+
    static boolean incrementTestPartsIndex(int[] testPartsIndex, Object[] testParts) {
       boolean carry = true;  //add 1 to lowest order part.
       boolean maxIndex = 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