Add a few test cases for AbstractTreeIterator's pathCompare
commit92b0364c892643779bae5117f62832153a5ccd51
authorTor Arne Vestbø <torarnv@gmail.com>
Tue, 3 Feb 2009 17:20:23 +0000 (3 18:20 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 3 Feb 2009 17:45:04 +0000 (3 09:45 -0800)
tree9b1914d7ae48949c9a6d102461eaea176e08c198
parent67b00d0386ccec2030709a02f8b5ec6f83c6b432
Add a few test cases for AbstractTreeIterator's pathCompare

Tests that files sort before trees if the path is the same, and
that if both path and mode is the same, they are considered equal.

Signed-off-by: Tor Arne Vestbø <torarnv@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/AbstractTreeIteratorTest.java [new file with mode: 0644]