You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2017/02/05 19:03:59 UTC

svn commit: r1781790 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java

Author: sebb
Date: Sun Feb  5 19:03:59 2017
New Revision: 1781790

URL: http://svn.apache.org/viewvc?rev=1781790&view=rev
Log:
Not useful

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=1781790&r1=1781789&r2=1781790&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 Sun Feb  5 19:03:59 2017
@@ -491,17 +491,6 @@ protected void setUp() {
        assertTrue(validator.isValid("http://www.apache.org:/path"));
    }
 
-   /**
-    * Only used to debug the unit tests.
-    * @param argv
-    */
-   public static void main(String[] argv) {
-
-      UrlValidatorTest fct = new UrlValidatorTest("url test");
-      fct.setUp();
-      fct.testIsValid();
-      fct.testIsValidScheme();
-   }
    //-------------------- Test data for creating a composite URL
    /**
     * The data given below approximates the 4 parts of a URL



Re: svn commit: r1781790 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java

Posted by Benedikt Ritter <br...@apache.org>.
+1

> Am 05.02.2017 um 20:03 schrieb sebb@apache.org:
> 
> Author: sebb
> Date: Sun Feb  5 19:03:59 2017
> New Revision: 1781790
> 
> URL: http://svn.apache.org/viewvc?rev=1781790&view=rev
> Log:
> Not useful
> 
> 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=1781790&r1=1781789&r2=1781790&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 Sun Feb  5 19:03:59 2017
> @@ -491,17 +491,6 @@ protected void setUp() {
>        assertTrue(validator.isValid("http://www.apache.org:/path"));
>    }
> 
> -   /**
> -    * Only used to debug the unit tests.
> -    * @param argv
> -    */
> -   public static void main(String[] argv) {
> -
> -      UrlValidatorTest fct = new UrlValidatorTest("url test");
> -      fct.setUp();
> -      fct.testIsValid();
> -      fct.testIsValidScheme();
> -   }
>    //-------------------- Test data for creating a composite URL
>    /**
>     * The data given below approximates the 4 parts of a URL
> 
> 


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