|
|
@ -51,6 +51,7 @@ import org.eclipse.jgit.api.ListBranchCommand.ListMode; |
|
|
|
import org.eclipse.jgit.errors.RepositoryNotFoundException; |
|
|
|
import org.eclipse.jgit.errors.RepositoryNotFoundException; |
|
|
|
import org.eclipse.jgit.lib.Repository; |
|
|
|
import org.eclipse.jgit.lib.Repository; |
|
|
|
import org.eclipse.jgit.lib.RepositoryTestCase; |
|
|
|
import org.eclipse.jgit.lib.RepositoryTestCase; |
|
|
|
|
|
|
|
import org.junit.After; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Test; |
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
|
@ -73,6 +74,14 @@ public class GitConstructionTest extends RepositoryTestCase { |
|
|
|
.getRepository(); |
|
|
|
.getRepository(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
@After |
|
|
|
|
|
|
|
public void tearDown() throws Exception { |
|
|
|
|
|
|
|
db.close(); |
|
|
|
|
|
|
|
bareRepo.close(); |
|
|
|
|
|
|
|
super.tearDown(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testWrap() { |
|
|
|
public void testWrap() { |
|
|
|
Git git = Git.wrap(db); |
|
|
|
Git git = Git.wrap(db); |
|
|
|