public class HookTest extends RepositoryTestCase
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, MOD_TIME, SMUDGE
Constructor and Description |
---|
HookTest() |
Modifier and Type | Method and Description |
---|---|
void |
testCommitMsgHookCanModifyCommitMessage() |
void |
testCommitMsgHookReceivesCorrectParameter() |
void |
testFailedCommitMsgHookBlocksCommit() |
void |
testFailedPreCommitHookBlockCommit() |
void |
testFindHook() |
void |
testRunHook() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testFailedCommitMsgHookBlocksCommit() throws Exception
Exception
public void testCommitMsgHookReceivesCorrectParameter() throws Exception
Exception
public void testCommitMsgHookCanModifyCommitMessage() throws Exception
Exception
Copyright © 2015 Eclipse JGit Project. All rights reserved.