test
Interface ITest

All Known Implementing Classes:
TestGZIP, TestTEXT, TestXBIS, TestZIP

public interface ITest

Test implementation interface. This needs to be implemented by each test program variation, which is then loaded by name and used directly by the RunTest test program.

Version:
0.8
Author:
Dennis M. Sosnoski

Method Summary
 void runTest(java.io.ByteArrayInputStream[] in, EventStore store, java.io.ByteArrayOutputStream out, int reps, int passes, int[] times)
          Time reading and writing documents in the format being tested.
 

Method Detail

runTest

public void runTest(java.io.ByteArrayInputStream[] in,
                    EventStore store,
                    java.io.ByteArrayOutputStream out,
                    int reps,
                    int passes,
                    int[] times)
             throws java.lang.Exception
Time reading and writing documents in the format being tested.

Parameters:
in - input stream for reading document text
store - parse event stream store
out - output stream for writing document representation to byte array
reps - number of repetitions to time
passes - number of passes to try (with best pass time saved)
Throws:
java.lang.Exception - anything thrown by example code


Company Web Site

XML Binary Information Set Home