public class RebaseCommandTest extends RepositoryTestCase
Modifier and Type | Field and Description |
---|---|
protected Git |
git |
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
RebaseCommandTest() |
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
protected Git git
public void setUp() throws Exception
setUp
in class RepositoryTestCase
Exception
public void testFastForwardWithNewFile() throws Exception
Exception
public void testFastForwardWithMultipleCommits() throws Exception
Exception
public 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)
Exception
public void testRebasePreservingMerges1() throws Exception
Exception
public void testRebasePreservingMerges2() throws Exception
Exception
public void testRebasePreservingMergesWithUnrelatedSide1() throws Exception
Exception
public void testRebasePreservingMergesWithUnrelatedSide2() throws Exception
Exception
public void testRebaseParentOntoHeadShouldBeUptoDate() throws Exception
Exception
public void testConflictFreeWithSingleFile() throws Exception
Exception
public void testFilesAddedFromTwoBranches() throws Exception
Exception
public void testStopOnConflictAndAbortWithDetachedHEAD() throws Exception
Exception
public void testStopOnConflictAndContinue() throws Exception
Exception
public void testStopOnConflictAndContinueWithNoDeltaToMaster() throws Exception
Exception
public void testStopOnConflictAndFailContinueIfFileIsDirty() throws Exception
Exception
public void testStopOnLastConflictAndContinue() throws Exception
Exception
public void testStopOnLastConflictAndSkip() throws Exception
Exception
public void testMergeFirstStopOnLastConflictAndSkip() throws Exception
Exception
public void testStopOnConflictAndSkipNoConflict() throws Exception
Exception
public void testStopOnConflictAndSkipWithConflict() throws Exception
Exception
public void testStopOnConflictCommitAndContinue() throws Exception
Exception
public void testStopOnConflictFileCreationAndDeletion() throws Exception
Exception
public void testAuthorScriptConverter() throws Exception
Exception
public void testRepositoryStateChecks() throws Exception
Exception
public void testRebaseWithUntrackedFile() throws Exception
Exception
public void testRebaseWithUnstagedTopicChange() throws Exception
Exception
public void testRebaseWithUncommittedTopicChange() throws Exception
Exception
public void testRebaseWithUnstagedMasterChange() throws Exception
Exception
public void testRebaseWithUncommittedMasterChange() throws Exception
Exception
public void testRebaseWithUnstagedMasterChangeBaseCommit() throws Exception
Exception
public void testRebaseWithUncommittedMasterChangeBaseCommit() throws Exception
Exception
public void testRebaseWithUnstagedMasterChangeOtherCommit() throws Exception
Exception
public void testRebaseWithUncommittedMasterChangeOtherCommit() throws Exception
Exception
public void testFastForwardRebaseWithModification() throws Exception
Exception
public void testRebaseWithModificationShouldNotDeleteData() throws Exception
Exception
public void testRebaseWithUncommittedDelete() throws Exception
Exception
public void testRebaseWithAutoStashConflictOnApply() throws Exception
Exception
public void testFastForwardRebaseWithAutoStash() throws Exception
Exception
public void testFastForwardWithMultipleCommitsOnDifferentBranches() throws Exception
Exception
public void testRebaseShouldLeaveWorkspaceUntouchedWithUnstagedChangesConflict() throws Exception
Exception
public void testAbortShouldAlsoAbortNonInteractiveRebaseWithRebaseApplyDir() throws Exception
Exception
public void testRebaseShouldBeAbleToHandleEmptyLinesInRebaseTodoFile() throws IOException
IOException
public void testRebaseShouldBeAbleToHandleLinesWithoutCommitMessageInRebaseTodoFile() throws IOException
IOException
public void testRebaseShouldNotFailIfUserAddCommentLinesInPrepareSteps() throws Exception
Exception
public void testOnlyCommentRebaseTodo() throws Exception
Exception
public void testLeadingSpacesRebaseTodo() throws Exception
Exception
public void testRebaseShouldTryToParseValidLineMarkedAsComment() throws IOException
IOException
public void testRebaseTodoLineSetComment() throws Exception
Exception
public void testRebaseInteractiveReword() throws Exception
Exception
public void testRebaseInteractiveEdit() throws Exception
Exception
public void testParseSquashFixupSequenceCount()
public void testRebaseInteractiveSingleSquashAndModifyMessage() throws Exception
Exception
public void testRebaseInteractiveMultipleSquash() throws Exception
Exception
public void testRebaseInteractiveMixedSquashAndFixup() throws Exception
Exception
public void testRebaseInteractiveSingleFixup() throws Exception
Exception
public void testRebaseInteractiveFixupWithBlankLines() throws Exception
Exception
public void testRebaseInteractiveFixupFirstCommitShouldFail() throws Exception
Exception
public void testRebaseInteractiveSquashFirstCommitShouldFail() throws Exception
Exception
public void testRebaseEndsIfLastStepIsEdit() throws Exception
Exception
public void testRebaseShouldStopForEditInCaseOfConflict() throws Exception
Exception
public void testRebaseShouldStopForRewordInCaseOfConflict() throws Exception
Exception
public void testRebaseShouldSquashInCaseOfConflict() throws Exception
Exception
public void testRebaseShouldFixupInCaseOfConflict() throws Exception
Exception
Copyright © 2018 Eclipse JGit Project. All rights reserved.