public class PushCommandTest extends RepositoryTestCase
ASSUME_UNCHANGED, CONTENT, CONTENT_ID, db, LENGTH, MOD_TIME, SMUDGE, trash
author, 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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testPush() throws JGitInternalException, IOException, GitAPIException, URISyntaxException
public void testPushRefUpdate() throws Exception
Exception
public void testPushWithRefSpecFromConfig() throws Exception
Exception
public void testPushWithoutPushRefSpec() throws Exception
Exception
Copyright © 2015 Eclipse JGit Project. All rights reserved.