C# Class GitSharp.Core.Tests.RefUpdateTest

Inheritance: GitSharp.Core.Tests.SampleDataRepositoryTestCase
Show file Open project: stschake/GitSharp

Public Methods

Method Description
tryRenameWhenLocked ( string toLock, string fromName, string toName, string headPointsTo ) : void

Private Methods

Method Description
assertExists ( bool positive, string toName ) : void
delete ( RefUpdate @ref, RefUpdate expected ) : void
delete ( RefUpdate @ref, RefUpdate expected, bool exists, bool removed ) : void
testDeleteFastForward ( ) : void
testDeleteForce ( ) : void
testDeleteHEADreferencedRef ( ) : void
testDeleteHead ( ) : void
testDeleteLooseAndItsDirectory ( ) : void
testDeleteLoosePacked ( ) : void
testDeleteLoosePackedRejected ( ) : void
testDeleteNotFound ( ) : void
testLooseDelete ( ) : void
testNewNamespaceConflictWithLoosePrefixNameExists ( ) : void
testNewNamespaceConflictWithLoosePrefixOfExisting ( ) : void
testNewNamespaceConflictWithPackedPrefixNameExists ( ) : void
testNewNamespaceConflictWithPackedPrefixOfExisting ( ) : void
testNoCacheObjectIdSubclass ( ) : void
testRefKeySameAsOrigName ( ) : void
testRefsCacheAfterUpdate ( ) : void
testRefsCacheAfterUpdateLoosOnly ( ) : void
testRenameBranchAlsoInPack ( ) : void
testRenameBranchCannotLockAFileHEADisFromLockFrom ( ) : void
testRenameBranchCannotLockAFileHEADisFromLockHEAD ( ) : void
testRenameBranchCannotLockAFileHEADisFromLockTo ( ) : void
testRenameBranchCannotLockAFileHEADisOtherLockFrom ( ) : void
testRenameBranchCannotLockAFileHEADisOtherLockTmp ( ) : void
testRenameBranchCannotLockAFileHEADisOtherLockTo ( ) : void
testRenameBranchCannotLockAFileHEADisToLockFrom ( ) : void
testRenameBranchCannotLockAFileHEADisToLockTmp ( ) : void
testRenameBranchCannotLockAFileHEADisToLockTo ( ) : void
testRenameBranchHasPreviousLog ( ) : void
testRenameBranchNoPreviousLog ( ) : void
testRenameCurrentBranch ( ) : void
testRenameRefNameColission1avoided ( ) : void
testRenameRefNameColission2avoided ( ) : void
testUpdateRefDetached ( ) : void
testUpdateRefDetachedUnbornHead ( ) : void
testUpdateRefForward ( ) : void
testUpdateRefForwardWithCheck1 ( ) : void
testUpdateRefForwardWithCheck2 ( ) : void
testUpdateRefLockFailureLocked ( ) : void
testUpdateRefLockFailureWrongOldValue ( ) : void
testUpdateRefNoChange ( ) : void
updateRef ( string name ) : RefUpdate

Method Details

tryRenameWhenLocked() public method

public tryRenameWhenLocked ( string toLock, string fromName, string toName, string headPointsTo ) : void
toLock string
fromName string
toName string
headPointsTo string
return void