public class PushProcessTest extends SampleDataRepositoryTestCase
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
PushProcessTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testPushResult()
Test for push operation result - that contains expected elements.
|
void |
testTrackingRefUpdateDisabled()
Test for local tracking ref update disabled.
|
void |
testTrackingRefUpdateEnabled()
Test for local tracking ref update.
|
void |
testTrackingRefUpdateOnReject()
Test for local tracking ref update when remote update has failed.
|
void |
testUpdateCreateRef()
Test for remote ref creation.
|
void |
testUpdateDelete()
Test for remote ref deletion.
|
void |
testUpdateDeleteNonExisting()
Test for remote ref deletion (try), when that ref doesn't exist on remote
repo.
|
void |
testUpdateExpectedRemote()
Test for remote ref update with expected remote object.
|
void |
testUpdateFastForward()
Test for fast-forward remote update.
|
void |
testUpdateMixedCases()
Test for remote refs updates with mixed cases that shouldn't depend on
each other.
|
void |
testUpdateNonFastForward()
Test for non fast-forward remote update, when remote object is known to
local repository, but it is not an ancestor of new object.
|
void |
testUpdateNonFastForwardForced()
Test for non fast-forward remote update, when force update flag is set.
|
void |
testUpdateNonFastForwardUnknownObject()
Test for non fast-forward remote update, when remote object is not known
to local repository.
|
void |
testUpdateRejectedByConnection()
Test for remote ref update, when connection rejects update.
|
void |
testUpdateUnexpectedRemote()
Test for remote ref update with expected old object set, when old object
is not that expected one.
|
void |
testUpdateUnexpectedRemoteVsForce()
Test for remote ref update with expected old object set, when old object
is not that expected one and force update flag is set (which should have
lower priority) - shouldn't change behavior.
|
void |
testUpdateUpToDate()
Test for remote ref update, when it is already up to date.
|
copyCGitTestPacks
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void setUp() throws Exception
setUp
in class SampleDataRepositoryTestCase
Exception
public void testUpdateFastForward() throws IOException
IOException
public void testUpdateNonFastForwardUnknownObject() throws IOException
IOException
public void testUpdateNonFastForward() throws IOException
IOException
public void testUpdateNonFastForwardForced() throws IOException
IOException
public void testUpdateCreateRef() throws IOException
IOException
public void testUpdateDelete() throws IOException
IOException
public void testUpdateDeleteNonExisting() throws IOException
IOException
public void testUpdateUpToDate() throws IOException
IOException
public void testUpdateExpectedRemote() throws IOException
IOException
public void testUpdateUnexpectedRemote() throws IOException
IOException
public void testUpdateUnexpectedRemoteVsForce() throws IOException
IOException
public void testUpdateRejectedByConnection() throws IOException
IOException
public void testUpdateMixedCases() throws IOException
IOException
public void testTrackingRefUpdateEnabled() throws IOException
IOException
public void testTrackingRefUpdateDisabled() throws IOException
IOException
public void testTrackingRefUpdateOnReject() throws IOException
IOException
public void testPushResult() throws IOException
IOException
Copyright © 2017 Eclipse JGit Project. All rights reserved.