public class RefUpdateTest extends SampleDataRepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
RefUpdateTest() |
copyCGitTestPacks, setUpassertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testNoCacheObjectIdSubclass()
throws IOException
IOExceptionpublic void testNewNamespaceConflictWithLoosePrefixNameExists()
throws IOException
IOExceptionpublic void testNewNamespaceConflictWithPackedPrefixNameExists()
throws IOException
IOExceptionpublic void testNewNamespaceConflictWithLoosePrefixOfExisting()
throws IOException
IOExceptionpublic void testNewNamespaceConflictWithPackedPrefixOfExisting()
throws IOException
IOExceptionpublic void testDeleteHEADreferencedRef()
throws IOException
IOExceptionpublic void testLooseDelete()
throws IOException
IOExceptionpublic void testDeleteHead()
throws IOException
IOExceptionpublic void testDeleteHeadInBareRepo()
throws IOException
IOExceptionpublic void testDeleteLooseAndItsDirectory()
throws IOException
IOExceptionpublic void testDeleteNotFound()
throws IOException
IOExceptionpublic void testDeleteFastForward()
throws IOException
IOExceptionpublic void testDeleteForce()
throws IOException
IOExceptionpublic void testDeleteWithoutHead()
throws IOException
IOExceptionpublic void testRefKeySameAsName()
public void testUpdateRefForward()
throws IOException
IOExceptionpublic void testUpdateRefDetached()
throws Exception
Exceptionpublic void testUpdateRefDetachedUnbornHead()
throws Exception
Exceptionpublic void testDeleteLoosePacked()
throws IOException
IOExceptionpublic void testUpdateRefNoChange()
throws IOException
IOExceptionpublic void testRefsCacheAfterUpdate()
throws Exception
Exceptionpublic void testRefsCacheAfterUpdateLooseOnly()
throws Exception
Exceptionpublic void testUpdateRefLockFailureWrongOldValue()
throws IOException
IOExceptionpublic void testUpdateRefForwardWithCheck1()
throws IOException
IOExceptionpublic void testUpdateRefForwardWithCheck2()
throws IOException
IOExceptionpublic void testUpdateRefLockFailureLocked()
throws IOException
IOExceptionpublic void testDeleteLoosePackedRejected()
throws IOException
IOExceptionpublic void testRenameBranchNoPreviousLog()
throws IOException
IOExceptionpublic void testRenameBranchHasPreviousLog()
throws IOException
IOExceptionpublic void testRenameCurrentBranch()
throws IOException
IOExceptionpublic void testRenameBranchAlsoInPack()
throws IOException
IOExceptionpublic void tryRenameWhenLocked(String toLock, String fromName, String toName, String headPointsTo) throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisFromLockHEAD()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisFromLockFrom()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisFromLockTo()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisToLockFrom()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisToLockTo()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisOtherLockFrom()
throws IOException
IOExceptionpublic void testRenameBranchCannotLockAFileHEADisOtherLockTo()
throws IOException
IOExceptionpublic void testRenameRefNameColission1avoided()
throws IOException
IOExceptionpublic void testRenameRefNameColission2avoided()
throws IOException
IOExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.