public class WorkerHelperTest extends Object
WorkerHelper
class.Modifier and Type | Field and Description |
---|---|
org.treetank.revisioning.IRevisioning |
mRevisioning |
org.treetank.io.IBackend.IBackendFactory |
mStorageFac |
Constructor and Description |
---|
WorkerHelperTest() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
setUp()
A simple set up.
|
void |
testClose()
This method tests
WorkerHelper.closeWTX(boolean, INodeWriteTrx, ISession) |
void |
testCreateStringBuilderObject()
This method tests
WorkerHelper.createStringBuilderObject() |
void |
testSerializeXML()
This method tests
WorkerHelper.serializeXML(ISession, OutputStream, boolean, boolean,Long) |
void |
testShredInputStream()
This method tests
WorkerHelper.shredInputStream(INodeWriteTrx, InputStream, EShredderInsert) |
@Inject public org.treetank.io.IBackend.IBackendFactory mStorageFac
@Inject public org.treetank.revisioning.IRevisioning mRevisioning
public void setUp() throws FileNotFoundException, org.treetank.exception.TTException
FileNotFoundException
org.treetank.exception.TTException
public void after() throws org.treetank.exception.TTException
org.treetank.exception.TTException
public void testCreateStringBuilderObject()
WorkerHelper.createStringBuilderObject()
public void testSerializeXML() throws org.treetank.exception.TTException, IOException
WorkerHelper.serializeXML(ISession, OutputStream, boolean, boolean,Long)
org.treetank.exception.TTException
IOException
public void testShredInputStream() throws org.treetank.exception.TTException, IOException
WorkerHelper.shredInputStream(INodeWriteTrx, InputStream, EShredderInsert)
org.treetank.exception.TTException
IOException
public void testClose() throws org.treetank.exception.TTException
WorkerHelper.closeWTX(boolean, INodeWriteTrx, ISession)
org.treetank.exception.TTException
Copyright © 2013. All Rights Reserved.