public class PushCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
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 |
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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testPush() throws org.eclipse.jgit.api.errors.JGitInternalException, IOException, org.eclipse.jgit.api.errors.GitAPIException, URISyntaxException
org.eclipse.jgit.api.errors.JGitInternalException
IOException
org.eclipse.jgit.api.errors.GitAPIException
URISyntaxException
public void testPrePushHook() throws org.eclipse.jgit.api.errors.JGitInternalException, IOException, org.eclipse.jgit.api.errors.GitAPIException, URISyntaxException
org.eclipse.jgit.api.errors.JGitInternalException
IOException
org.eclipse.jgit.api.errors.GitAPIException
URISyntaxException
public void testPushRefUpdate() throws Exception
Exception
public void testPushWithRefSpecFromConfig() throws Exception
Exception
public void testPushWithoutPushRefSpec() throws Exception
Exception
Copyright © 2016 Eclipse JGit Project. All rights reserved.