public class CloneCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
CloneCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
static String |
allRefNames(List<Ref> refs) |
static RefSpec |
fetchRefSpec(Repository r) |
void |
setUp() |
void |
testBareCloneRepository() |
void |
testBareCloneRepositoryCustomRemote() |
void |
testBareCloneRepositoryNullRemote() |
void |
testCloneRepository() |
void |
testCloneRepositoryCustomRemote() |
void |
testCloneRepositoryExplicitGitDir() |
void |
testCloneRepositoryExplicitGitDirBare() |
void |
testCloneRepositoryExplicitGitDirNonStd() |
void |
testCloneRepositoryOnlyOneBranch() |
void |
testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty() |
void |
testCloneRepositoryWithBranch() |
void |
testCloneRepositoryWithBranchShortName() |
void |
testCloneRepositoryWithMultipleHeadBranches() |
void |
testCloneRepositoryWithNestedSubmodules() |
void |
testCloneRepositoryWithSubmodules() |
void |
testCloneRepositoryWithTagName() |
void |
testCloneWithAutoSetupRebase() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, 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 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 © 2016 Eclipse JGit Project. All rights reserved.