You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Sean C. Sullivan" <se...@seansullivan.com> on 2002/02/18 06:00:41 UTC

[httpclient] TestHttpStatus.java, patch for HttpStatus.java

I wrote test code for the HttpStatus class.

The new test file is attached:   TestHttpStatus.java

I had to make patches to HttpStatus.java and
TestNoHost.java

The patches are attached.

I had to update HttpStatus.java because many status
codes were missing from the status code text map.

I ran the tests and it passed everything.

-Sean


[httpclient] unit tests for HttpMultiClient

Posted by "Sean C. Sullivan" <se...@seansullivan.com>.
Currently, there are no unit tests for HttpMultiClient

Is anybody working on unit tests for this class?

-Sean



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


[httpclient] patch for HttpMultiClient.java

Posted by "Sean C. Sullivan" <se...@seansullivan.com>.
I made modifications to HttpMultiClient.java

The patch file is attached.

I created the patch file using this command:
 
                    cvs diff -u Foo.java > Foo.patch
 
Changes in HttpMultiClient:

     improved javadoc comments


     improved parameter checking in executeMethod method

     improved exception handling in the "executeMethod" method

     minor code re-formatting

 -Sean