- /**
- * Run the int compare(StreamInputReader,StreamInputReader) method test.
- */
- @Test
- public void testCompare() {
- StreamInputReader a, b;
- a = new StreamInputReader(new StreamInput(new Stream(
- TestParams.createTrace()), (FileChannel) null,
- TestParams.getEmptyFile()));
- a.setCurrentEvent(null);
- b = new StreamInputReader(new StreamInput(new Stream(
- TestParams.createTrace()), (FileChannel) null,
- TestParams.getEmptyFile()));
-
- int result = fixture.compare(a, b);
- assertEquals(0, result);
- }