test
Class TestZIP
java.lang.Object
test.TestZIP
- All Implemented Interfaces:
- ITest
- public class TestZIP
- extends java.lang.Object
- implements ITest
Test code for XSLT output to text form which is then zipped, and parsing of
unzipped text.
- Version:
- 0.8
- Author:
- Dennis M. Sosnoski
Constructor Summary |
protected |
TestZIP()
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 |
TestZIP
protected TestZIP()
throws org.xml.sax.SAXException,
javax.xml.transform.TransformerConfigurationException,
javax.xml.transform.TransformerFactoryConfigurationError
- 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 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 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