]> source.dussan.org Git - jgit.git/commit
Fix ReadTreeTest 25/1125/3
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 13 Jul 2010 12:28:42 +0000 (12:28 +0000)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 13 Jul 2010 13:53:14 +0000 (15:53 +0200)
commit33160cd2da1a65ba8504b8c5b10828b03d80d9dd
tree235702bf795d9d04da1a8a3a720cfd6a9aa460be
parentb878cdcf6b4c2445553dcd1507d5c3008bf56b7b
Fix ReadTreeTest

After refactoring ReadTreeTest the tests failed for filesystems
with coarse modification time granularity. This is fixed by
explicitly telling the repo to reread the index after we build
a new index.

Additionally the test testDirectoryFileSimple was simplified
by using buildTree() instead of misusing GitIndex to construct
trees.

Change-Id: I20d2f097491e4cc8c657a696beabc7026b485017
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ReadTreeTest.java