diff options
Diffstat (limited to 'org.eclipse.jgit.ant.test')
-rw-r--r-- | org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java b/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java index a5a0dd50c2..7cd5b74516 100644 --- a/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java +++ b/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java @@ -50,8 +50,8 @@ import java.io.IOException; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DefaultLogger; import org.apache.tools.ant.Project; -import org.eclipse.jgit.internal.storage.file.FileRepository; import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase; +import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.lib.RepositoryCache; import org.eclipse.jgit.util.FS; import org.junit.Before; @@ -99,7 +99,7 @@ public class GitCloneTaskTest extends LocalDiskRepositoryTestCase { @Test public void shouldCloneAValidGitRepository() throws Exception { - FileRepository repo = createBareRepository(); + Repository repo = createBareRepository(); File directory = repo.getDirectory(); task.setUri("file://" + directory); task.execute(); @@ -109,7 +109,7 @@ public class GitCloneTaskTest extends LocalDiskRepositoryTestCase { @Test public void shouldCreateABareCloneOfAValidGitRepository() throws Exception { - FileRepository repo = createBareRepository(); + Repository repo = createBareRepository(); File directory = repo.getDirectory(); task.setUri("file://" + directory); task.setBare(true); |