olegk       2004/10/31 10:02:02

  Modified:    httpclient/src/test/org/apache/commons/httpclient
                        HttpClientTestBase.java
  Log:
  Roll back some bad changes of my previous patch. SimpleHttpServer is reinstantiated 
on a per test method basis againt
  
  Revision  Changes    Path
  1.4       +6 -6      
jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/HttpClientTestBase.java
  
  Index: HttpClientTestBase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/HttpClientTestBase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HttpClientTestBase.java   31 Oct 2004 14:42:59 -0000      1.3
  +++ HttpClientTestBase.java   31 Oct 2004 18:02:02 -0000      1.4
  @@ -56,8 +56,6 @@
       // ------------------------------------------------------------ Constructor
       public HttpClientTestBase(final String testName) throws IOException {
           super(testName);
  -        // configure the server
  -        this.server = new SimpleHttpServer(); // use arbitrary port
       }
   
       // ------------------------------------------------------------------- Main
  @@ -75,6 +73,8 @@
       // ------------------------------------------------- TestCase setup/shutdown
   
       public void setUp() throws IOException {
  +        this.server = new SimpleHttpServer(); // use arbitrary port
  +
           this.client = new HttpClient();
           this.client.getHostConfiguration().setHost(
               this.server.getLocalAddress(), 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to