|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.vfny.geoserver.requests.RequestTestCase
org.vfny.geoserver.requests.CapabilitiesSuite
Tests the get capabilities request handling.
| Field Summary |
| Fields inherited from class org.vfny.geoserver.requests.RequestTestCase |
factory |
| Constructor Summary | |
CapabilitiesSuite(java.lang.String testName)
Initializes the database and request handler. |
|
| Method Summary | |
protected KvpRequestReader |
getKvpReader(java.util.Map kvps)
This should return the appropriate xml reader to be used in running the tests. |
protected XmlRequestReader |
getXmlReader()
This should return the appropriate xml reader to be used in running the tests. |
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testKvp1()
Checks to make sure that a standard KVP request is handled correctly. |
void |
testKvp2()
Checks to make sure that a standard non-matching KVP request is handled correctly. |
void |
testXml1()
Check to make sure that a standard XML request is handled correctly. |
void |
testXml2()
Check to make sure that a standard non-matching XML request is handled correctly. |
| Methods inherited from class org.vfny.geoserver.requests.RequestTestCase |
runKvpTest, runXmlTest |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CapabilitiesSuite(java.lang.String testName)
testName - The name of this test.| Method Detail |
public static junit.framework.Test suite()
public void setUp()
protected XmlRequestReader getXmlReader()
RequestTestCase
getXmlReader in class RequestTestCaseprotected KvpRequestReader getKvpReader(java.util.Map kvps)
RequestTestCase
getKvpReader in class RequestTestCase
public void testXml1()
throws java.lang.Exception
java.lang.Exception - If anything goes wrong.
public void testXml2()
throws java.lang.Exception
java.lang.Exception - If anything goes wrong.
public void testKvp1()
throws java.lang.Exception
java.lang.Exception - If anything goes wrong.
public void testKvp2()
throws java.lang.Exception
java.lang.Exception - If anything goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||