public class NodeIdRepresentationTest extends Object
NodeIdRepresentation
class.Modifier and Type | Field and Description |
---|---|
org.treetank.revisioning.IRevisioning |
mRevisioning |
org.treetank.io.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 org.treetank.io.IBackend.IBackendFactory mStorageFac
@Inject public org.treetank.revisioning.IRevisioning mRevisioning
public final void testGetResource() throws javax.ws.rs.WebApplicationException, IOException, ParserConfigurationException, SAXException
NodeIdRepresentation.getResource(java.lang.String, long, java.util.Map)
.IOException
javax.ws.rs.WebApplicationException
SAXException
ParserConfigurationException
public 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)
.IOException
javax.ws.rs.WebApplicationException
SAXException
ParserConfigurationException
public final void testPerformQueryOnResource() throws javax.ws.rs.WebApplicationException, IOException, ParserConfigurationException, SAXException
NodeIdRepresentation.performQueryOnResource(java.lang.String, long, java.lang.String, java.util.Map)
.IOException
javax.ws.rs.WebApplicationException
SAXException
ParserConfigurationException
public final void testDeleteResource() throws javax.ws.rs.WebApplicationException, IOException, ParserConfigurationException, SAXException, InterruptedException
NodeIdRepresentation.deleteResource(java.lang.String, long)
.IOException
javax.ws.rs.WebApplicationException
SAXException
ParserConfigurationException
InterruptedException
public final void testModifyResource() throws org.jaxrx.core.JaxRxException, org.treetank.exception.TTException
NodeIdRepresentation.modifyResource(java.lang.String, long, java.io.InputStream)
.org.treetank.exception.TTException
org.jaxrx.core.JaxRxException
public 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)
.IOException
javax.ws.rs.WebApplicationException
SAXException
ParserConfigurationException
Copyright © 2013. All Rights Reserved.