|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.fatdog.xmlEngine.junitTest.ProtocolHandlerTest
A Junit test case that tests XQEngine custom-protocol handling.
This test instantiates, registers, and then indirectly requests XML content from
a custom protocol handler, XYZ_ProtocolHandler
.
Constructor Summary | |
ProtocolHandlerTest()
|
Method Summary | |
static junit.framework.Test |
suite()
|
void |
test_badHandler_1()
Ask the protocol handler to return content from a document that's never been indexed. |
void |
test_badHandler_2()
Attempt to index a document the protocol handler doesn't recognize. |
void |
test_badHandler_3()
|
void |
test_goodHandler_1()
Index two "XYZ::"-scheme based documents and query their content. |
void |
test_goodHandler_2()
Ask the protocol handler indirectly to return content from one document on a query. |
void |
test_goodHandler_3()
Ask the protocol handler to return content from a second document on a query. |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProtocolHandlerTest()
Method Detail |
public void test_goodHandler_1() throws InvalidQueryException
InvalidQueryException
public void test_goodHandler_2() throws InvalidQueryException
InvalidQueryException
public void test_goodHandler_3() throws InvalidQueryException
InvalidQueryException
public void test_badHandler_1()
public void test_badHandler_2()
public void test_badHandler_3() throws InvalidQueryException
InvalidQueryException
public static junit.framework.Test suite()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |