public class PushCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
PushCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testPrePushHook() |
void |
testPush() |
void |
testPushAfterGC()
Check that missing refs don't cause errors during push
|
void |
testPushRefUpdate()
Check that pushes over file protocol lead to appropriate ref-updates.
|
void |
testPushWithLease() |
void |
testPushWithoutPushRefSpec()
Check that only HEAD is pushed if no refspec is given.
|
void |
testPushWithRefSpecFromConfig()
Check that the push refspec is read from config.
|
void |
testTrackingUpdate() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testPush()
throws JGitInternalException,
IOException,
GitAPIException,
URISyntaxException
public void testPrePushHook()
throws JGitInternalException,
IOException,
GitAPIException,
URISyntaxException
public void testPushRefUpdate()
throws Exception
Exceptionpublic void testPushWithRefSpecFromConfig()
throws Exception
Exceptionpublic void testPushWithoutPushRefSpec()
throws Exception
Exceptionpublic void testPushAfterGC()
throws Exception
Exceptionpublic void testPushWithLease()
throws JGitInternalException,
IOException,
GitAPIException,
URISyntaxException
Copyright © 2017 Eclipse JGit Project. All rights reserved.