summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2016-06-02 03:30:03 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2016-06-02 03:30:03 -0400
commitefc1f7a1128a61c694694f070cae0033ae9d2652 (patch)
tree4f0fbcdfc3a40d01609c37b88bea07a5618c02b7 /org.eclipse.jgit.test
parentdf75b9c0c189cffdf7df6fa05fad2812c2d29142 (diff)
parent1c1885b81dc3a3f78309c76ce4d832ad200d2a87 (diff)
downloadjgit-efc1f7a1128a61c694694f070cae0033ae9d2652.tar.gz
jgit-efc1f7a1128a61c694694f070cae0033ae9d2652.zip
Merge "Add missing @Test annotation in RepositoryCacheTest"
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryCacheTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryCacheTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryCacheTest.java
index a1cec2d914..dd14e64dd5 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryCacheTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryCacheTest.java
@@ -195,6 +195,7 @@ public class RepositoryCacheTest extends RepositoryTestCase {
assertEquals(0, ((Repository) db).useCnt.get());
}
+ @Test
public void testRepositoryUnregisteringWhenClosing() throws Exception {
FileKey loc = FileKey.exact(db.getDirectory(), db.getFS());
Repository d2 = RepositoryCache.open(loc);