compareChunk("regular file, no renames", c, new Object[] { "file1", 0, 9, 0, 9 }, 0);
// restricted range
frh = new FileRenameHistory(3, 6);
Assert.assertFalse(frh.isOutOfRange(df, 9));
frh.build(df, 9); // start from out of range revision
errorCollector.assertEquals(1, frh.chunks());
c = frh.iterate(OldToNew).iterator().next();
compareChunk("regular file, no renames, in range 3..6", c, new Object[] { "file1", 3, 6, 3, 6 }, 0);
}
private void compareChunk(String msg, Chunk chunk, Object[] expected, int recordOffset) {