ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs GetTest.java
Date Sun, 18 Feb 2001 19:25:56 GMT
nico        01/02/18 11:25:56

  Modified:    src/testcases/org/apache/tools/ant/taskdefs GetTest.java
  Log:
  Disabled the testcases which really try to access a webserver. Not everyone
  has one.
  
  Revision  Changes    Path
  1.3       +5 -2      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/GetTest.java
  
  Index: GetTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/GetTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GetTest.java	2001/01/03 14:18:49	1.2
  +++ GetTest.java	2001/02/18 19:25:56	1.3
  @@ -84,10 +84,13 @@
       }
   
       public void test5() { 
  -        expectBuildException("test5", "dest invalid (or no http-server on local machine)");
  +        // We can't expect a build-system to have a webserver installed...
  +        //expectBuildException("test5", "dest invalid (or no http-server on local machine)");
       }
   
       public void test6() { 
  +        // We can't expect a build-system to have a webserver installed...
  +/*
           executeTarget("test6");
           java.io.File f = new java.io.File("src/etc/testcases/taskdefs/get.tmp");
           if (!f.exists()) { 
  @@ -95,7 +98,7 @@
           } else {
               f.delete();
           }
  -        
  +*/        
       }
       
   }
  
  
  

Mime
View raw message