Package org.fcrepo.client
Class FcrepoClientTest
- java.lang.Object
-
- org.fcrepo.client.FcrepoClientTest
-
public class FcrepoClientTest extends Object
- Author:
- acoburn
-
-
Constructor Summary
Constructors Constructor Description FcrepoClientTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBadRequest()voidtestBadResponseBody()voidtestDelete()voidtestDeleteError()voidtestDeleteWithResponseBody()voidtestGet()voidtestGet100()voidtestGet300()voidtestGetError()voidtestGetNoAccept()voidtestHead()voidtestHeadError()voidtestHeadersCaseInsensitive()voidtestPatch()voidtestPatchError()voidtestPatchNoContent()voidtestPatchResponseBody()voidtestPost()voidtestPostError()voidtestPostErrorNullUrl()voidtestPostNoBody()voidtestPostResponseBody()voidtestPut()voidtestPutError()voidtestPutNoBody()voidtestPutWithResponseBody()
-
-
-
Constructor Detail
-
FcrepoClientTest
public FcrepoClientTest()
-
-
Method Detail
-
setUp
public void setUp() throws IOException
- Throws:
IOException
-
testGet
public void testGet() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testGetError
public void testGetError() throws Exception
- Throws:
Exception
-
testGet100
public void testGet100() throws Exception
- Throws:
Exception
-
testGet300
public void testGet300() throws Exception
- Throws:
Exception
-
testGetNoAccept
public void testGetNoAccept() throws Exception
- Throws:
Exception
-
testHead
public void testHead() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testHeadersCaseInsensitive
public void testHeadersCaseInsensitive() throws Exception
- Throws:
Exception
-
testHeadError
public void testHeadError() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPut
public void testPut() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPutNoBody
public void testPutNoBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPutWithResponseBody
public void testPutWithResponseBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPutError
public void testPutError() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testDelete
public void testDelete() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testDeleteWithResponseBody
public void testDeleteWithResponseBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testDeleteError
public void testDeleteError() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPatch
public void testPatch() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPatchNoContent
public void testPatchNoContent() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPatchResponseBody
public void testPatchResponseBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPatchError
public void testPatchError() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPost
public void testPost() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPostResponseBody
public void testPostResponseBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPostNoBody
public void testPostNoBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPostError
public void testPostError() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testPostErrorNullUrl
public void testPostErrorNullUrl() throws Exception
- Throws:
Exception
-
testBadRequest
public void testBadRequest() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
testBadResponseBody
public void testBadResponseBody() throws IOException, org.fcrepo.client.FcrepoOperationFailedException
- Throws:
IOExceptionorg.fcrepo.client.FcrepoOperationFailedException
-
-