public class CloneCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| 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 RepositoryTestCaseExceptionpublic void testCloneRepository()
throws IOException,
JGitInternalException,
GitAPIException,
URISyntaxException
public void testCloneRepositoryExplicitGitDir()
throws IOException,
JGitInternalException,
GitAPIException
public void testCloneRepositoryDefaultDirectory()
throws URISyntaxException,
JGitInternalException
public void testCloneBareRepositoryDefaultDirectory()
throws URISyntaxException,
JGitInternalException
public void testCloneRepositoryExplicitGitDirNonStd()
throws IOException,
JGitInternalException,
GitAPIException
public void testCloneRepositoryExplicitGitDirBare()
throws IOException,
JGitInternalException,
GitAPIException
public void testBareCloneRepository()
throws IOException,
JGitInternalException,
GitAPIException,
URISyntaxException
public void testCloneRepositoryCustomRemote()
throws Exception
Exceptionpublic void testBareCloneRepositoryCustomRemote()
throws Exception
Exceptionpublic void testBareCloneRepositoryNullRemote()
throws Exception
Exceptionpublic static RefSpec fetchRefSpec(Repository r) throws URISyntaxException
URISyntaxExceptionpublic void testCloneRepositoryWithBranch()
throws IOException,
JGitInternalException,
GitAPIException
public void testCloneRepositoryWithBranchShortName()
throws Exception
Exceptionpublic void testCloneRepositoryWithTagName()
throws Exception
Exceptionpublic void testCloneRepositoryOnlyOneBranch()
throws IOException,
JGitInternalException,
GitAPIException
public void testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty()
throws IOException,
JGitInternalException,
GitAPIException
public void testCloneRepositoryWithMultipleHeadBranches()
throws Exception
Exceptionpublic void testCloneRepositoryWithSubmodules()
throws Exception
Exceptionpublic void testCloneRepositoryWithNestedSubmodules()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.