public class PushProcessTest extends SampleDataRepositoryTestCase
| 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.
|
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, indexState, lookup, read, resetIndex, writeTrashFile, writeTrashFile, writeTrashFilespublic void setUp()
throws Exception
setUp in class SampleDataRepositoryTestCaseExceptionpublic void testUpdateFastForward()
throws IOException
IOExceptionpublic void testUpdateNonFastForwardUnknownObject()
throws IOException
IOExceptionpublic void testUpdateNonFastForward()
throws IOException
IOExceptionpublic void testUpdateNonFastForwardForced()
throws IOException
IOExceptionpublic void testUpdateCreateRef()
throws IOException
IOExceptionpublic void testUpdateDelete()
throws IOException
IOExceptionpublic void testUpdateDeleteNonExisting()
throws IOException
IOExceptionpublic void testUpdateUpToDate()
throws IOException
IOExceptionpublic void testUpdateExpectedRemote()
throws IOException
IOExceptionpublic void testUpdateUnexpectedRemote()
throws IOException
IOExceptionpublic void testUpdateUnexpectedRemoteVsForce()
throws IOException
IOExceptionpublic void testUpdateRejectedByConnection()
throws IOException
IOExceptionpublic void testUpdateMixedCases()
throws IOException
IOExceptionpublic void testTrackingRefUpdateEnabled()
throws IOException
IOExceptionpublic void testTrackingRefUpdateDisabled()
throws IOException
IOExceptionpublic void testTrackingRefUpdateOnReject()
throws IOException
IOExceptionpublic void testPushResult()
throws IOException
IOExceptionCopyright © 2015 Eclipse JGit Project. All rights reserved.