diff options
author | Shawn Pearce <spearce@spearce.org> | 2011-05-31 10:01:56 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2011-05-31 10:01:56 -0400 |
commit | a00b951323b0d23482a25b2bb813a56fad7f935b (patch) | |
tree | c2cca29c601b5472ece303f3ab17cc9566de5ba7 | |
parent | 475461d05266fe13b05bc2c6645b9ef928521b4c (diff) | |
parent | 802f84650d1930cfdd44f87ba66f32dde722124d (diff) | |
download | jgit-a00b951323b0d23482a25b2bb813a56fad7f935b.tar.gz jgit-a00b951323b0d23482a25b2bb813a56fad7f935b.zip |
Merge "Fix GitConstructionTest teardown"
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java index 0e0b18732b..8aacbb063c 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java @@ -51,6 +51,7 @@ import org.eclipse.jgit.api.ListBranchCommand.ListMode; import org.eclipse.jgit.errors.RepositoryNotFoundException; import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.lib.RepositoryTestCase; +import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -73,6 +74,14 @@ public class GitConstructionTest extends RepositoryTestCase { .getRepository(); } + @Override + @After + public void tearDown() throws Exception { + db.close(); + bareRepo.close(); + super.tearDown(); + } + @Test public void testWrap() { Git git = Git.wrap(db); |