public class PushCommandTest extends RepositoryTestCase
ASSUME_UNCHANGED, CONTENT, CONTENT_ID, db, LENGTH, MOD_TIME, SMUDGE, trashauthor, committer| Constructor and Description |
|---|
PushCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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, indexState, lookup, read, resetIndex, setUp, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testPush()
throws JGitInternalException,
IOException,
GitAPIException,
URISyntaxException
public void testPushRefUpdate()
throws Exception
Exceptionpublic void testPushWithRefSpecFromConfig()
throws Exception
Exceptionpublic void testPushWithoutPushRefSpec()
throws Exception
ExceptionCopyright © 2015 Eclipse JGit Project. All rights reserved.