Savarese.Org

org.savarese.barehttp
Class HTTPServerTest

java.lang.Object
  extended by TestCase
      extended by org.savarese.barehttp.HTTPTestCase
          extended by org.savarese.barehttp.HTTPServerTest
Direct Known Subclasses:
MainTest

public class HTTPServerTest
extends HTTPTestCase

Tests the HTTPServer class by making use of HTTPTestCase fixtures and issuing requests over a socket connection.

Author:
Daniel F. Savarese

Constructor Summary
HTTPServerTest()
           
 
Method Summary
 void testHTTPServer()
          Verifies constructor arguments.
 void testStop()
          Starts a server instance and stops it.
 
Methods inherited from class org.savarese.barehttp.HTTPTestCase
testGetRequest09, testGetRequest11
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPServerTest

public HTTPServerTest()
               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

testHTTPServer

public void testHTTPServer()
Verifies constructor arguments.


testStop

public void testStop()
              throws java.io.IOException
Starts a server instance and stops it.

Throws:
java.io.IOException

Savarese.Org

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