org.vfny.geoserver.requests
Class LockSuite

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.vfny.geoserver.requests.RequestTestCase
              extended byorg.vfny.geoserver.requests.LockSuite
All Implemented Interfaces:
junit.framework.Test

public class LockSuite
extends RequestTestCase

Tests the lock feature request handling.


Field Summary
 
Fields inherited from class org.vfny.geoserver.requests.RequestTestCase
factory
 
Constructor Summary
LockSuite(java.lang.String testName)
          Constructor with super.
 
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 testKVP1()
          KVP TESTS KVP GetFeature parsing tests.
 void testKVP2()
           
 void testKVP3()
           
 void testKVP4()
           
 void testXml1()
           
 void testXml2()
           
 void testXml3()
           
 void testXml4()
           
 
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, setUp, 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

LockSuite

public LockSuite(java.lang.String testName)
Constructor with super.

Parameters:
testName - The name of the test.
Method Detail

getXmlReader

protected XmlRequestReader getXmlReader()
Description copied from class: RequestTestCase
This should return the appropriate xml reader to be used in running the tests.

Specified by:
getXmlReader in class RequestTestCase
Returns:
DOCUMENT ME!

getKvpReader

protected KvpRequestReader getKvpReader(java.util.Map kvps)
Description copied from class: RequestTestCase
This should return the appropriate xml reader to be used in running the tests.

Specified by:
getKvpReader in class RequestTestCase
Returns:
DOCUMENT ME!

testXml1

public void testXml1()
              throws java.lang.Exception
Throws:
java.lang.Exception

testXml2

public void testXml2()
              throws java.lang.Exception
Throws:
java.lang.Exception

testXml3

public void testXml3()
              throws java.lang.Exception
Throws:
java.lang.Exception

testXml4

public void testXml4()
              throws java.lang.Exception
Throws:
java.lang.Exception

testKVP1

public void testKVP1()
              throws java.lang.Exception
KVP TESTS KVP GetFeature parsing tests. Each test reads from a specific KVP string and compares it to the base request defined in the test itself. Tests are run via the static methods in this suite. The tests themselves are quite generic, so documentation is minimal.

Throws:
java.lang.Exception - DOCUMENT ME!

testKVP2

public void testKVP2()
              throws java.lang.Exception
Throws:
java.lang.Exception

testKVP3

public void testKVP3()
              throws java.lang.Exception
Throws:
java.lang.Exception

testKVP4

public void testKVP4()
              throws java.lang.Exception
Throws:
java.lang.Exception