public class ClientBlackBoxTest extends Object
Constructor and Description |
---|
ClientBlackBoxTest()
This method
|
Modifier and Type | Method and Description |
---|---|
static void |
globSetUp()
Global set up to start the server.
|
void |
setUp()
Simple setUp method.
|
void |
tearDown()
Simple tearDown method.
|
void |
testDeleteRes()
This method tests a delete request.d
|
void |
testGetRes()
This method tests the simple get method without additional query
parameters.
|
void |
testGetResParams()
This method tests a GET request with additional query parameters, such
like query and wrap.
|
void |
testPostQuery()
This method tests the query support for the HTTP POST method.
|
void |
testPut()
This method tests a put HTTP request to create a new resource.
|
public ClientBlackBoxTest() throws MalformedURLException
MalformedURLException
- URL exceptionpublic static void globSetUp() throws Exception
Exception
- any exceptionpublic void tearDown()
public void testGetRes() throws IOException, SAXException, ParserConfigurationException
IOException
- I/O exceptionParserConfigurationException
- parser exceptionSAXException
- SAX exceptionpublic void testGetResParams() throws IOException, SAXException, ParserConfigurationException
IOException
- I/O exceptionParserConfigurationException
- parser exceptionSAXException
- SAX exceptionpublic void testPut() throws IOException
IOException
- I/O exceptionpublic void testPostQuery() throws IOException, SAXException, ParserConfigurationException
IOException
- I/O exceptionParserConfigurationException
- parser exceptionSAXException
- SAX exceptionCopyright © 2013. All Rights Reserved.