|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--net.groboclown.junit.v1.MultiThreadedTestCase | +--net.groboclown.util.http.v1.tests.BaseTestHttp
Inner Class Summary | |
private class |
BaseTestHttp.ConnectionRunner
|
Inner classes inherited from class net.groboclown.junit.v1.MultiThreadedTestCase |
MultiThreadedTestCase.StopThreadsTest, MultiThreadedTestCase.TestCaseRunnable |
Field Summary | |
protected static String |
TEST_PAGE_1
|
protected static String |
TEST_PAGE_1_CONTENTS
|
protected static String |
TEST_SITE
|
Fields inherited from class net.groboclown.junit.v1.MultiThreadedTestCase |
m_synch, m_testResult, m_threadGroup, m_threadsFinished |
Fields inherited from class junit.framework.TestCase |
fName |
Constructor Summary | |
BaseTestHttp(String name)
|
Method Summary | |
protected void |
assertMessageCompareEquals(byte[] found,
byte[] test)
|
protected IHttpResponseMessage |
openThreadedConnection(SimpleHttpGet shg,
URL url)
|
protected IHttpResponseMessage |
openThreadedConnection(SimpleHttpGet shg,
URL url,
String method,
Hashtable headers,
String messageData)
|
protected byte[] |
openThreadedConnectionByte(SimpleHttpGet shg,
URL url)
|
protected void |
setUp()
|
protected void |
tearDown()
|
protected byte[] |
trim(byte[] b)
|
Methods inherited from class net.groboclown.junit.v1.MultiThreadedTestCase |
handleException, interruptThreads, run, runTestCaseRunnables, runTestCaseRunnables |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected static final String TEST_SITE
protected static final String TEST_PAGE_1
protected static final String TEST_PAGE_1_CONTENTS
Constructor Detail |
public BaseTestHttp(String name)
Method Detail |
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
protected void assertMessageCompareEquals(byte[] found, byte[] test)
protected byte[] trim(byte[] b)
protected IHttpResponseMessage openThreadedConnection(SimpleHttpGet shg, URL url)
protected byte[] openThreadedConnectionByte(SimpleHttpGet shg, URL url)
protected IHttpResponseMessage openThreadedConnection(SimpleHttpGet shg, URL url, String method, Hashtable headers, String messageData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |