test
Class TestTEXT

java.lang.Object
  extended bytest.TestTEXT
All Implemented Interfaces:
ITest

public class TestTEXT
extends java.lang.Object
implements ITest

Test code for XSLT output to text form and direct parsing of text.

Version:
0.8
Author:
Dennis M. Sosnoski

Constructor Summary
protected TestTEXT()
          Constructor.
 
Method Summary
 void runTest(java.io.ByteArrayInputStream[] ins, EventStore store, java.io.ByteArrayOutputStream out, int reps, int passes, int[] times)
          Time writing and parsing documents as text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTEXT

protected TestTEXT()
            throws org.xml.sax.SAXException,
                   javax.xml.transform.TransformerConfigurationException,
                   javax.xml.transform.TransformerFactoryConfigurationError
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 parsing documents as text. This override of the abstract base class method gives the time required by this model to save and restore the documents as text.

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