public class RebaseCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jgit.api.Git |
git |
| Constructor and Description |
|---|
RebaseCommandTest() |
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 org.eclipse.jgit.junit.RepositoryTestCaseExceptionpublic void testFastForwardWithNewFile()
throws Exception
Exceptionpublic void testFastForwardWithMultipleCommits()
throws Exception
Exceptionpublic void testRebaseShouldIgnoreMergeCommits()
throws Exception
A - B (master)
\
C - D - F (topic)
\ /
E - (side)
into
A - B - (master) C' - D' - E' (topic')
\
C - D - F (topic)
\ /
E - (side)
Exceptionpublic void testRebasePreservingMerges1()
throws Exception
Exceptionpublic void testRebasePreservingMerges2()
throws Exception
Exceptionpublic void testRebasePreservingMergesWithUnrelatedSide1()
throws Exception
Exceptionpublic void testRebasePreservingMergesWithUnrelatedSide2()
throws Exception
Exceptionpublic void testRebaseParentOntoHeadShouldBeUptoDate()
throws Exception
Exceptionpublic void testConflictFreeWithSingleFile()
throws Exception
Exceptionpublic void testFilesAddedFromTwoBranches()
throws Exception
Exceptionpublic void testStopOnConflictAndAbortWithDetachedHEAD()
throws Exception
Exceptionpublic void testStopOnConflictAndContinue()
throws Exception
Exceptionpublic void testStopOnConflictAndContinueWithNoDeltaToMaster()
throws Exception
Exceptionpublic void testStopOnConflictAndFailContinueIfFileIsDirty()
throws Exception
Exceptionpublic void testStopOnLastConflictAndContinue()
throws Exception
Exceptionpublic void testStopOnLastConflictAndSkip()
throws Exception
Exceptionpublic void testMergeFirstStopOnLastConflictAndSkip()
throws Exception
Exceptionpublic void testStopOnConflictAndSkipNoConflict()
throws Exception
Exceptionpublic void testStopOnConflictAndSkipWithConflict()
throws Exception
Exceptionpublic void testStopOnConflictCommitAndContinue()
throws Exception
Exceptionpublic void testStopOnConflictFileCreationAndDeletion()
throws Exception
Exceptionpublic void testAuthorScriptConverter()
throws Exception
Exceptionpublic void testRepositoryStateChecks()
throws Exception
Exceptionpublic void testRebaseWithUntrackedFile()
throws Exception
Exceptionpublic void testRebaseWithUnstagedTopicChange()
throws Exception
Exceptionpublic void testRebaseWithUncommittedTopicChange()
throws Exception
Exceptionpublic void testRebaseWithUnstagedMasterChange()
throws Exception
Exceptionpublic void testRebaseWithUncommittedMasterChange()
throws Exception
Exceptionpublic void testRebaseWithUnstagedMasterChangeBaseCommit()
throws Exception
Exceptionpublic void testRebaseWithUncommittedMasterChangeBaseCommit()
throws Exception
Exceptionpublic void testRebaseWithUnstagedMasterChangeOtherCommit()
throws Exception
Exceptionpublic void testRebaseWithUncommittedMasterChangeOtherCommit()
throws Exception
Exceptionpublic void testFastForwardRebaseWithModification()
throws Exception
Exceptionpublic void testRebaseWithModificationShouldNotDeleteData()
throws Exception
Exceptionpublic void testRebaseWithUncommittedDelete()
throws Exception
Exceptionpublic void testRebaseWithAutoStashConflictOnApply()
throws Exception
Exceptionpublic void testFastForwardRebaseWithAutoStash()
throws Exception
Exceptionpublic void testFastForwardWithMultipleCommitsOnDifferentBranches()
throws Exception
Exceptionpublic void testRebaseShouldLeaveWorkspaceUntouchedWithUnstagedChangesConflict()
throws Exception
Exceptionpublic void testAbortShouldAlsoAbortNonInteractiveRebaseWithRebaseApplyDir()
throws Exception
Exceptionpublic void testRebaseShouldBeAbleToHandleEmptyLinesInRebaseTodoFile()
throws IOException
IOExceptionpublic void testRebaseShouldBeAbleToHandleLinesWithoutCommitMessageInRebaseTodoFile()
throws IOException
IOExceptionpublic void testRebaseShouldNotFailIfUserAddCommentLinesInPrepareSteps()
throws Exception
Exceptionpublic void testOnlyCommentRebaseTodo()
throws Exception
Exceptionpublic void testLeadingSpacesRebaseTodo()
throws Exception
Exceptionpublic void testRebaseShouldTryToParseValidLineMarkedAsComment()
throws IOException
IOExceptionpublic void testRebaseTodoLineSetComment()
throws Exception
Exceptionpublic void testRebaseInteractiveReword()
throws Exception
Exceptionpublic void testRebaseInteractiveEdit()
throws Exception
Exceptionpublic void testParseSquashFixupSequenceCount()
public void testRebaseInteractiveSingleSquashAndModifyMessage()
throws Exception
Exceptionpublic void testRebaseInteractiveMultipleSquash()
throws Exception
Exceptionpublic void testRebaseInteractiveMixedSquashAndFixup()
throws Exception
Exceptionpublic void testRebaseInteractiveSingleFixup()
throws Exception
Exceptionpublic void testRebaseInteractiveFixupWithBlankLines()
throws Exception
Exceptionpublic void testRebaseInteractiveFixupFirstCommitShouldFail()
throws Exception
Exceptionpublic void testRebaseInteractiveSquashFirstCommitShouldFail()
throws Exception
Exceptionpublic void testRebaseEndsIfLastStepIsEdit()
throws Exception
Exceptionpublic void testRebaseShouldStopForEditInCaseOfConflict()
throws Exception
Exceptionpublic void testRebaseShouldStopForRewordInCaseOfConflict()
throws Exception
Exceptionpublic void testRebaseShouldSquashInCaseOfConflict()
throws Exception
Exceptionpublic void testRebaseShouldFixupInCaseOfConflict()
throws Exception
ExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.