Savarese.Org
H M O T

H

HTTPServerTest - Class in org.savarese.barehttp
Tests the HTTPServer class by making use of HTTPTestCase fixtures and issuing requests over a socket connection.
HTTPServerTest() - Constructor for class org.savarese.barehttp.HTTPServerTest
 
HTTPSessionTest - Class in org.savarese.barehttp
Tests the HTTPSession class by making use of HTTPTestCase fixtures, issuing requests from a ByteInputStream, and storing the replies in a ByteArrayOutputStream.
HTTPSessionTest() - Constructor for class org.savarese.barehttp.HTTPSessionTest
 
HTTPTestCase - Class in org.savarese.barehttp
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.
HTTPTestCase() - Constructor for class org.savarese.barehttp.HTTPTestCase
 

M

MainTest - Class in org.savarese.barehttp
Tests the Main class by making use of HTTPServerTest, calling Main.main to start a server instead of instantiating HTTPServer.
MainTest() - Constructor for class org.savarese.barehttp.MainTest
 

O

org.savarese.barehttp - package org.savarese.barehttp
The BareHTTP unit tests.

T

testBadArgs() - Method in class org.savarese.barehttp.MainTest
Tests that an invalid number of arguments doesn't start server.
testGetRequest09() - Method in class org.savarese.barehttp.HTTPTestCase
Tests an HTTP 0.9 simple request.
testGetRequest11() - Method in class org.savarese.barehttp.HTTPTestCase
Tests an HTTP 1.1 GET request.
testHTTPServer() - Method in class org.savarese.barehttp.HTTPServerTest
Verifies constructor arguments.
testStop() - Method in class org.savarese.barehttp.HTTPServerTest
Starts a server instance and stops it.

H M O T
Savarese.Org

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