public class CloneCommandTest extends RepositoryTestCase
db, trash
ASSUME_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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void setUp() throws Exception
setUp
in class RepositoryTestCase
Exception
public 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
Exception
public void testBareCloneRepositoryCustomRemote() throws Exception
Exception
public void testBareCloneRepositoryNullRemote() throws Exception
Exception
public static RefSpec fetchRefSpec(Repository r) throws URISyntaxException
URISyntaxException
public void testCloneRepositoryWithBranch() throws IOException, JGitInternalException, GitAPIException
public void testCloneRepositoryWithBranchShortName() throws Exception
Exception
public void testCloneRepositoryWithTagName() throws Exception
Exception
public void testCloneRepositoryOnlyOneBranch() throws IOException, JGitInternalException, GitAPIException
public void testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty() throws IOException, JGitInternalException, GitAPIException
public void testCloneRepositoryWithMultipleHeadBranches() throws Exception
Exception
public void testCloneRepositoryWithSubmodules() throws Exception
Exception
public void testCloneRepositoryWithNestedSubmodules() throws Exception
Exception
Copyright © 2016 Eclipse JGit Project. All rights reserved.