Savarese.Org

Package org.savarese.barehttp

The BareHTTP unit tests.

See:
          Description

Class Summary
HTTPServerTest Tests the HTTPServer class by making use of HTTPTestCase fixtures and issuing requests over a socket connection.
HTTPSessionTest Tests the HTTPSession class by making use of HTTPTestCase fixtures, issuing requests from a ByteInputStream, and storing the replies in a ByteArrayOutputStream.
HTTPTestCase An abstract class that provides support for testing HTTP requests by creating a temporary file, filling it with random data, issuing requests for the file, and comparing the retrieved data with the original data.
MainTest Tests the Main class by making use of HTTPServerTest, calling Main.main to start a server instead of instantiating HTTPServer.
 

Package org.savarese.barehttp Description

The BareHTTP unit tests.


Savarese.Org

Copyright © 2001,2006,2010,2012 Daniel F. Savarese. All Rights Reserved.