jgit/org.eclipse.jgit.junit
Jackson Toeniskoetter 8ed59c511c Make TestRepository AutoCloseable
Currently, unit tests need to either close the Repository underlying a
TestRepository manually, or not close it at all. Both are error prone.

The TestRepository holds a reference to 4 AutoCloseable objects:
Repository, ObjectInserter, Git, and RevWalk. The last two can escape
the TestRepository scope, so they are not closed when TestRepository is
closed.

Change-Id: I4461bb9104d517bd6bef09c38507c7c2ef5c31d4
Signed-off-by: Jackson Toeniskoetter <jackdt@google.com>
2019-01-10 12:10:43 -08:00
..
.settings Disable Eclipse warning about unrecognized @SuppressWarnings value 2018-10-17 10:40:36 +09:00
META-INF Prepare 5.3.0-SNAPSHOT builds 2018-12-03 02:32:49 +01:00
src/org/eclipse/jgit/junit Make TestRepository AutoCloseable 2019-01-10 12:10:43 -08:00
.classpath Fix test setup for Eclipse Photon and greater 2018-11-02 18:50:26 +01:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
BUILD Move SshTestGitServer to new bundle org.eclipse.jgit.junit.ssh 2018-11-17 07:28:08 -08:00
build.properties Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 5.3.0-SNAPSHOT builds 2018-12-03 02:32:49 +01:00