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. |
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 textstore
- parse event stream storeout
- output stream for writing document representation to byte
arrayreps
- number of repetitions to timepasses
- number of passes to try (with best pass time saved)
- Throws:
java.lang.Exception
- anything thrown by example code