public class CommitCommandTest extends RepositoryTestCase
CommitCommand
.db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
CommitCommandTest() |
Modifier and Type | Method and Description |
---|---|
void |
commitAfterSquashMerge() |
void |
commitAmendOnInitialShouldFail() |
void |
commitAmendWithAuthorShouldUseIt() |
void |
commitAmendWithoutAuthorShouldSetOriginalAuthorAndAuthorTime() |
void |
commitEmptyCommits() |
void |
commitIgnoresSmudgedEntryWithDifferentId() |
void |
commitNewSubmodule() |
void |
commitOnlyShouldCommitUnmergedPathAndNotAffectOthers() |
void |
commitOnlyShouldHandleIgnored() |
void |
commitSubmoduleUpdate() |
void |
commitUpdatesSmudgedEntries() |
void |
testExecutableRetention() |
void |
testReflogs() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void commitUpdatesSmudgedEntries() throws Exception
Exception
public void commitIgnoresSmudgedEntryWithDifferentId() throws Exception
Exception
public void commitAmendOnInitialShouldFail() throws Exception
Exception
public void commitAmendWithoutAuthorShouldSetOriginalAuthorAndAuthorTime() throws Exception
Exception
public void commitAmendWithAuthorShouldUseIt() throws Exception
Exception
public void commitOnlyShouldCommitUnmergedPathAndNotAffectOthers() throws Exception
Exception
Copyright © 2017 Eclipse JGit Project. All rights reserved.