axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/test/functional TestBidBuySample.java TestStockSample.java
Date Tue, 05 Jun 2001 12:15:29 GMT
rubys       01/06/05 05:15:29

  Modified:    java/test/functional TestBidBuySample.java
                        TestStockSample.java
  Log:
  Minor cleanup
  
  Revision  Changes    Path
  1.2       +1 -13     xml-axis/java/test/functional/TestBidBuySample.java
  
  Index: TestBidBuySample.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/functional/TestBidBuySample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestBidBuySample.java	2001/06/01 06:48:00	1.1
  +++ TestBidBuySample.java	2001/06/05 12:15:24	1.2
  @@ -89,7 +89,7 @@
           TestClient.main(args);
       }
       
  -    public void testService () throws Exception {
  +    public void testBidBuyService () throws Exception {
           try {
               System.out.println("Testing bidbuy sample.");
               System.out.println("Testing deployment...");
  @@ -103,18 +103,6 @@
               e.printStackTrace();
               throw new Exception("Fault returned from test: "+e);
           }
  -    }
  -    
  -    /**
  -     * Read all the contents that are to be read
  -     */
  -    static void readFully(HttpURLConnection connection) throws IOException
  -    {
  -        // finish reading it to prevent (harmless) server-side exceptions
  -        BufferedInputStream is = new BufferedInputStream(connection.getInputStream());
  -        byte[] buffer = new byte[256];
  -        while((is.read(buffer)) > 0) {}
  -        is.close();
       }
       
   }
  
  
  
  1.2       +0 -12     xml-axis/java/test/functional/TestStockSample.java
  
  Index: TestStockSample.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/functional/TestStockSample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestStockSample.java	2001/06/01 06:48:01	1.1
  +++ TestStockSample.java	2001/06/05 12:15:25	1.2
  @@ -122,17 +122,5 @@
           }
       }
       
  -    /**
  -     * Read all the contents that are to be read
  -     */
  -    static void readFully(HttpURLConnection connection) throws IOException
  -    {
  -        // finish reading it to prevent (harmless) server-side exceptions
  -        BufferedInputStream is = new BufferedInputStream(connection.getInputStream());
  -        byte[] buffer = new byte[256];
  -        while((is.read(buffer)) > 0) {}
  -        is.close();
  -    }
  -    
   }
   
  
  
  

Mime
View raw message