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, writeTrashFilesaddRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setUp()
throws Exception
setUp in class org.eclipse.jgit.junit.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(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.JGitInternalExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionCopyright © 2016 Eclipse JGit Project. All rights reserved.