Add JUnit tests for DirCache compatibility with C Git
commit3f98b35e12cfab6a610b21b635885f7c14cb0df3
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Aug 2008 01:08:06 +0000 (11 18:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 14 Aug 2008 17:33:20 +0000 (14 19:33 +0200)
tree9ea9a97a1fe36087a241aba7f905f088f365d508
parentf58aa62e1ef55266c50a7a0ae2aeac8229fa54b6
Add JUnit tests for DirCache compatibility with C Git

This new compability test uses an existing (known) DIRC version 2 with
the 'TREE' extension and output from C Git's ls-files and ls-tree tools
to validate DirCache read the file correctly, and writes it back the
same way it found it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheCGitCompatabilityTest.java [new file with mode: 0644]
org.spearce.jgit.test/tst/org/spearce/jgit/dircache/gitgit.index [new file with mode: 0644]
org.spearce.jgit.test/tst/org/spearce/jgit/dircache/gitgit.lsfiles [new file with mode: 0644]
org.spearce.jgit.test/tst/org/spearce/jgit/dircache/gitgit.lstree [new file with mode: 0644]