public class NodeIdRepresentationTest extends Object
NodeIdRepresentation class.| Modifier and Type | Field and Description |
|---|---|
IRevisioning |
mRevisioning |
IBackend.IBackendFactory |
mStorageFac |
| Constructor and Description |
|---|
NodeIdRepresentationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
The set up method.
|
void |
tearDown()
The tear down method.
|
void |
testAddSubResource()
Test method for
NodeIdRepresentation.addSubResource(java.lang.String, long, java.io.InputStream, org.treetank.service.jaxrx.enums.EIdAccessType)
. |
void |
testDeleteResource()
Test method for
NodeIdRepresentation.deleteResource(java.lang.String, long)
. |
void |
testGetResource()
Test method for
NodeIdRepresentation.getResource(java.lang.String, long, java.util.Map)
. |
void |
testGetResourceByAT()
Test method for
NodeIdRepresentation.getResourceByAT(java.lang.String, long, java.util.Map, org.treetank.service.jaxrx.enums.EIdAccessType)
. |
void |
testModifyResource()
Test method for
NodeIdRepresentation.modifyResource(java.lang.String, long, java.io.InputStream)
. |
void |
testPerformQueryOnResource()
Test method for
NodeIdRepresentation.performQueryOnResource(java.lang.String, long, java.lang.String, java.util.Map)
. |
@Inject public IBackend.IBackendFactory mStorageFac
@Inject public IRevisioning mRevisioning
public final void testGetResource()
throws javax.ws.rs.WebApplicationException,
IOException,
ParserConfigurationException,
SAXException
NodeIdRepresentation.getResource(java.lang.String, long, java.util.Map)
.IOExceptionjavax.ws.rs.WebApplicationExceptionSAXExceptionParserConfigurationExceptionpublic final void testGetResourceByAT()
throws javax.ws.rs.WebApplicationException,
IOException,
ParserConfigurationException,
SAXException
NodeIdRepresentation.getResourceByAT(java.lang.String, long, java.util.Map, org.treetank.service.jaxrx.enums.EIdAccessType)
.IOExceptionjavax.ws.rs.WebApplicationExceptionSAXExceptionParserConfigurationExceptionpublic final void testPerformQueryOnResource()
throws javax.ws.rs.WebApplicationException,
IOException,
ParserConfigurationException,
SAXException
NodeIdRepresentation.performQueryOnResource(java.lang.String, long, java.lang.String, java.util.Map)
.IOExceptionjavax.ws.rs.WebApplicationExceptionSAXExceptionParserConfigurationExceptionpublic final void testDeleteResource()
throws javax.ws.rs.WebApplicationException,
IOException,
ParserConfigurationException,
SAXException,
InterruptedException
NodeIdRepresentation.deleteResource(java.lang.String, long)
.IOExceptionjavax.ws.rs.WebApplicationExceptionSAXExceptionParserConfigurationExceptionInterruptedExceptionpublic final void testModifyResource()
throws org.jaxrx.core.JaxRxException,
org.treetank.exception.TTException
NodeIdRepresentation.modifyResource(java.lang.String, long, java.io.InputStream)
.org.treetank.exception.TTExceptionorg.jaxrx.core.JaxRxExceptionpublic final void testAddSubResource()
throws javax.ws.rs.WebApplicationException,
IOException,
ParserConfigurationException,
SAXException
NodeIdRepresentation.addSubResource(java.lang.String, long, java.io.InputStream, org.treetank.service.jaxrx.enums.EIdAccessType)
.IOExceptionjavax.ws.rs.WebApplicationExceptionSAXExceptionParserConfigurationExceptionCopyright © 2013. All Rights Reserved.