test
Class TestXBIS
java.lang.Object
test.TestXBIS
- All Implemented Interfaces:
- ITest
- public class TestXBIS
- extends java.lang.Object
- implements ITest
Test code for XBIS encoding and decoding.
- Version:
- 0.8
- Author:
- Dennis M. Sosnoski
Constructor Summary |
protected |
TestXBIS()
Constructor. |
Method Summary |
void |
runTest(java.io.ByteArrayInputStream[] ins,
EventStore store,
java.io.ByteArrayOutputStream out,
int reps,
int passes,
int[] times)
Time writing and reading documents in XBIS encoding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestXBIS
protected TestXBIS()
throws org.xml.sax.SAXException
- Constructor.
runTest
public void runTest(java.io.ByteArrayInputStream[] ins,
EventStore store,
java.io.ByteArrayOutputStream out,
int reps,
int passes,
int[] times)
throws java.lang.Exception
- Time writing and reading documents in XBIS encoding.
- Specified by:
runTest
in interface ITest
- Parameters:
ins
- input streams for reading document textstore
- parse event stream storeout
- output stream for writing document text to byte arrayreps
- number of repetitions to timepasses
- number of passes to try (with best pass time saved)times
- array of time values filled in by test run
- Throws:
java.lang.Exception
- anything thrown by example code