public class CloneCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Constructor and Description |
|---|
CloneCommandTest() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setUp()
throws Exception
setUp in class org.eclipse.jgit.junit.RepositoryTestCaseExceptionpublic void testCloneRepository()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException,
URISyntaxException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionURISyntaxExceptionpublic void testCloneRepositoryExplicitGitDir()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCloneRepositoryDefaultDirectory()
throws URISyntaxException,
org.eclipse.jgit.api.errors.JGitInternalException
URISyntaxExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionpublic void testCloneBareRepositoryDefaultDirectory()
throws URISyntaxException,
org.eclipse.jgit.api.errors.JGitInternalException
URISyntaxExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionpublic void testCloneRepositoryExplicitGitDirNonStd()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCloneRepositoryExplicitGitDirBare()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testBareCloneRepository()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException,
URISyntaxException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionURISyntaxExceptionpublic void testCloneRepositoryCustomRemote()
throws Exception
Exceptionpublic void testBareCloneRepositoryCustomRemote()
throws Exception
Exceptionpublic void testBareCloneRepositoryNullRemote()
throws Exception
Exceptionpublic static org.eclipse.jgit.transport.RefSpec fetchRefSpec(Repository r) throws URISyntaxException
URISyntaxExceptionpublic void testCloneRepositoryWithBranch()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCloneRepositoryWithBranchShortName()
throws Exception
Exceptionpublic void testCloneRepositoryWithTagName()
throws Exception
Exceptionpublic void testCloneRepositoryOnlyOneBranch()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty()
throws IOException,
org.eclipse.jgit.api.errors.JGitInternalException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCloneRepositoryWithMultipleHeadBranches()
throws Exception
Exceptionpublic void testCloneRepositoryWithSubmodules()
throws Exception
Exceptionpublic void testCloneRepositoryWithNestedSubmodules()
throws Exception
ExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.