test
Class TestXBIS

java.lang.Object
  extended bytest.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
 

Constructor Detail

TestXBIS

protected TestXBIS()
            throws org.xml.sax.SAXException
Constructor.

Method Detail

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 text
store - parse event stream store
out - output stream for writing document text to byte array
reps - number of repetitions to time
passes - 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


Company Web Site

XML Binary Information Set Home