commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1781677 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
Date Sat, 04 Feb 2017 14:49:45 GMT
Author: sebb
Date: Sat Feb  4 14:49:45 2017
New Revision: 1781677

URL: http://svn.apache.org/viewvc?rev=1781677&view=rev
Log:
Also test max+1

Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java?rev=1781677&r1=1781676&r2=1781677&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
Sat Feb  4 14:49:45 2017
@@ -543,6 +543,7 @@ protected void setUp() {
    };
    ResultPair[] testUrlPort = {new ResultPair(":80", true),
                              new ResultPair(":65535", true), // max possible
+                             new ResultPair(":65536", false), // max possible +1
                              new ResultPair(":0", true),
                              new ResultPair("", true),
                              new ResultPair(":-1", false),



Mime
View raw message