public class BranchCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
Constructor and Description |
---|
BranchCommandTest() |
Modifier and Type | Method and Description |
---|---|
Ref |
createBranch(org.eclipse.jgit.api.Git actGit,
String name,
boolean force,
String startPoint,
org.eclipse.jgit.api.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, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void setUp() throws Exception
setUp
in class org.eclipse.jgit.junit.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(org.eclipse.jgit.api.Git actGit, String name, boolean force, String startPoint, org.eclipse.jgit.api.CreateBranchCommand.SetupUpstreamMode mode) throws org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.api.errors.GitAPIException
Copyright © 2016 Eclipse JGit Project. All rights reserved.