public final class NodeElementTestHelper extends Object
Session
s for test
cases.
This includes instantiation of databases plus resources.Modifier and Type | Class and Description |
---|---|
static class |
NodeElementTestHelper.DocumentCreater
TestDocument
|
Modifier and Type | Field and Description |
---|---|
static String |
XML
String representation of test document.
|
Constructor and Description |
---|
NodeElementTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createDocumentRootNode(org.treetank.api.INodeWriteTrx pWtx)
Generating a Document Root node.
|
static void |
createTestDocument(org.treetank.access.conf.ResourceConfiguration mResourceConfig)
Creating a test document at
CoreTestHelper.PATHS.PATH1 . |
public static final String XML
public static void createTestDocument(org.treetank.access.conf.ResourceConfiguration mResourceConfig) throws org.treetank.exception.TTException
CoreTestHelper.PATHS.PATH1
.org.treetank.exception.TTException
public static final void createDocumentRootNode(org.treetank.api.INodeWriteTrx pWtx) throws org.treetank.exception.TTException
pWtx
- where the docroot should be generated.org.treetank.exception.TTException
Copyright © 2013. All Rights Reserved.