org.savarese.barehttp
Class HTTPTestCase
java.lang.Object
TestCase
org.savarese.barehttp.HTTPTestCase
- Direct Known Subclasses:
- HTTPServerTest, HTTPSessionTest
public abstract class HTTPTestCase
- extends TestCase
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. Subclasses must override the package-scoped
issueRequest method.
- Author:
- Daniel F. Savarese
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPTestCase
public HTTPTestCase()
throws java.io.IOException
- Throws:
java.io.IOException
testGetRequest09
public void testGetRequest09()
throws java.io.IOException
- Tests an HTTP 0.9 simple request.
- Throws:
java.io.IOException
testGetRequest11
public void testGetRequest11()
throws java.io.IOException
- Tests an HTTP 1.1 GET request.
- Throws:
java.io.IOException
Copyright © 2001,2006,2010,2012 Daniel F. Savarese. All Rights Reserved.