public class BranchCommandTest extends RepositoryTestCase
db, trash
ASSUME_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, writeTrashFiles
addRepoToClose, createBareRepository, createRepository, 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 testListAllBranchesShouldNotDie() throws Exception
Exception
public void testListBranchesWithContains() throws Exception
Exception
public void testCreateFromLightweightTag() throws Exception
Exception
public void testCreateFromAnnotatetdTag() throws Exception
Exception
public void testPullConfigRemoteBranch() throws Exception
Exception
public void testPullConfigLocalBranch() throws Exception
Exception
public void testPullConfigRenameLocalBranch() throws Exception
Exception
public void testRenameRemoteTrackingBranch() throws Exception
Exception
public void testCreationImplicitStart() throws Exception
Exception
public void testCreationNullStartPoint() throws Exception
Exception
public Ref createBranch(Git actGit, String name, boolean force, String startPoint, CreateBranchCommand.SetupUpstreamMode mode) throws JGitInternalException, GitAPIException
JGitInternalException
GitAPIException
Copyright © 2017 Eclipse JGit Project. All rights reserved.