public class BranchCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
BranchCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
Ref |
createBranch(Git actGit,
String name,
boolean force,
String startPoint,
CreateBranchCommand.SetupUpstreamMode mode) |
void |
setUp() |
void |
testCreateAndList() |
void |
testCreateForce() |
void |
testCreateFromAnnotatetdTag() |
void |
testCreateFromCommit() |
void |
testCreateFromLightweightTag() |
void |
testCreationImplicitStart() |
void |
testCreationNullStartPoint() |
void |
testDelete() |
void |
testListAllBranchesShouldNotDie() |
void |
testListBranchesWithContains() |
void |
testPullConfigLocalBranch() |
void |
testPullConfigRemoteBranch() |
void |
testPullConfigRenameLocalBranch() |
void |
testRenameLocalBranch() |
void |
testRenameRemoteTrackingBranch() |
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 testListAllBranchesShouldNotDie()
throws Exception
Exceptionpublic void testListBranchesWithContains()
throws Exception
Exceptionpublic void testCreateFromLightweightTag()
throws Exception
Exceptionpublic void testCreateFromAnnotatetdTag()
throws Exception
Exceptionpublic void testPullConfigRemoteBranch()
throws Exception
Exceptionpublic void testPullConfigLocalBranch()
throws Exception
Exceptionpublic void testPullConfigRenameLocalBranch()
throws Exception
Exceptionpublic void testRenameRemoteTrackingBranch()
throws Exception
Exceptionpublic void testCreationImplicitStart()
throws Exception
Exceptionpublic void testCreationNullStartPoint()
throws Exception
Exceptionpublic Ref createBranch(Git actGit, String name, boolean force, String startPoint, CreateBranchCommand.SetupUpstreamMode mode) throws JGitInternalException, GitAPIException
JGitInternalExceptionGitAPIExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.