public class RestXPathProcessorTest extends Object
RestXPathProcessor.| Modifier and Type | Field and Description |
|---|---|
IRevisioning |
mRevisioning |
IBackend.IBackendFactory |
mStorageFac |
static String |
PARAMAUTHOR
Instances param author static variable.
|
static String |
PARAMBOOKS
Instances param books static variable.
|
static String |
PARAMJAXRES
Instances param jaxrx result static variable.
|
static String |
PARAMJRESTSEQ
Instances param rest sequence static variable.
|
| Constructor and Description |
|---|
RestXPathProcessorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpGlobal() |
void |
testGetXpathResourceFileLongStringBooleanLongOutputStreamBoolean()
Test method for
RestXPathProcessor.getXpathResource(String, String, boolean, Long, OutputStream, boolean)
. |
void |
testGetXpathResourceStringStringBooleanLongOutputStreamBoolean()
Test method for
RestXPathProcessor.getXpathResource(java.lang.String, java.lang.String, boolean, java.lang.Long, java.io.OutputStream, boolean)
. |
void |
testRestXPathProcessor()
Test method for
RestXPathProcessor.RestXPathProcessor(org.treetank.api.IStorage)
. |
public static final transient String PARAMBOOKS
public static final transient String PARAMAUTHOR
public static final transient String PARAMJAXRES
public static final transient String PARAMJRESTSEQ
@Inject public IBackend.IBackendFactory mStorageFac
@Inject public IRevisioning mRevisioning
public void setUpGlobal()
throws org.treetank.exception.TTException
org.treetank.exception.TTExceptionpublic final void testRestXPathProcessor()
throws org.treetank.exception.TTException
RestXPathProcessor.RestXPathProcessor(org.treetank.api.IStorage)
.org.treetank.exception.TTExceptionpublic final void testGetXpathResourceStringStringBooleanLongOutputStreamBoolean()
throws IOException,
SAXException,
ParserConfigurationException,
org.treetank.exception.TTException
RestXPathProcessor.getXpathResource(java.lang.String, java.lang.String, boolean, java.lang.Long, java.io.OutputStream, boolean)
.IOExceptionParserConfigurationExceptionSAXExceptionTreetankExceptionorg.treetank.exception.TTExceptionpublic final void testGetXpathResourceFileLongStringBooleanLongOutputStreamBoolean()
throws SAXException,
IOException,
ParserConfigurationException,
org.treetank.exception.TTException
RestXPathProcessor.getXpathResource(String, String, boolean, Long, OutputStream, boolean)
.ParserConfigurationExceptionIOExceptionSAXExceptionTreetankExceptionorg.treetank.exception.TTExceptionCopyright © 2013. All Rights Reserved.