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