]> source.dussan.org Git - jgit.git/commit
Refactor ReadTreeTest to allow testing other checkout classes 92/792/3
authorChristian Halstrick <christian.halstrick@sap.com>
Fri, 4 Jun 2010 22:18:17 +0000 (00:18 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 4 Jun 2010 22:18:17 +0000 (00:18 +0200)
commiteca29464574e9551d978c3215f3d981415e31868
tree2db3213153bce1bc0bcbc8650f52ba5df771b7e6
parent046d1a2ef6ddea2a9521ac49ae339e05c1cc0acd
Refactor ReadTreeTest to allow testing other checkout classes

ReadTreeTest contains a lot of useful tests for "checkout"
implementations. But ReadTreeTest was hardcoded to test only
WorkDirCheckout. This change doesn't add/modify any tests semantically
but refactors ReadTreeTest so that a different implementations of
checkout can be tested. This was done to allow DirCacheCheckout to be
tested without rewriting all these tests.

Change-Id: I36e34264482b855ed22c9dde98824f573cf8ae22
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