public class MergeCommandTest extends RepositoryTestCase
| Modifier and Type | Field and Description |
|---|---|
static MergeStrategy[] |
mergeStrategies |
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
MergeCommandTest() |
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 static MergeStrategy[] mergeStrategies
public void setUp()
throws Exception
setUp in class RepositoryTestCaseExceptionpublic void testMergeSuccessAllStrategies(MergeStrategy mergeStrategy) throws Exception
Exceptionpublic void testMergeSuccessAllStrategiesNoCommit(MergeStrategy mergeStrategy) throws Exception
Exceptionpublic void testMergeNonVersionedPaths()
throws Exception
Exceptionpublic void testMultipleCreationsSameContent()
throws Exception
Exceptionpublic void testSuccessfulContentMerge()
throws Exception
Exceptionpublic void testSuccessfulContentMergeNoCommit()
throws Exception
Exceptionpublic void testSuccessfulContentMergeAndDirtyworkingTree()
throws Exception
Exceptionpublic void testDeletionOnMasterConflict()
throws Exception
Exceptionpublic void testDeletionOnSideConflict()
throws Exception
Exceptionpublic void testMergeFailingWithDirtyWorkingTree()
throws Exception
Exceptionpublic void testMergeConflictFileFolder()
throws Exception
Exceptionpublic void testSuccessfulMergeFailsDueToDirtyIndex()
throws Exception
Exceptionpublic void testConflictingMergeFailsDueToDirtyIndex()
throws Exception
Exceptionpublic void testSuccessfulMergeFailsDueToDirtyWorktree()
throws Exception
Exceptionpublic void testConflictingMergeFailsDueToDirtyWorktree()
throws Exception
Exceptionpublic void testMergeRemovingFoldersWithoutFastForward()
throws Exception
Exceptionpublic void testFileModeMergeWithDirtyWorkTree()
throws Exception
Exceptionpublic void testNoFastForwardNoCommit()
throws Exception
Exceptionpublic void testFastForwardOnlyNotPossible()
throws Exception
Exceptionpublic void testRecursiveMergeWithConflict()
throws Exception
Exceptionpublic void testMergeWithMessageOption()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.