|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
org.savarese.barehttp.HTTPTestCase
org.savarese.barehttp.HTTPServerTest
org.savarese.barehttp.MainTest
public class MainTest
Tests the Main class by making use of HTTPServerTest,
calling Main.main to start a server instead of instantiating
HTTPServer.
| Constructor Summary | |
|---|---|
MainTest()
|
|
| Method Summary | |
|---|---|
void |
testBadArgs()
Tests that an invalid number of arguments doesn't start server. |
| Methods inherited from class org.savarese.barehttp.HTTPServerTest |
|---|
testHTTPServer, testStop |
| 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 |
|---|
public MainTest()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void testBadArgs()
throws java.io.IOException
java.io.IOException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||