public class RefDirectoryTest extends LocalDiskRepositoryTestCase
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
RefDirectoryTest() |
addRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setUp()
throws Exception
setUp in class LocalDiskRepositoryTestCaseExceptionpublic void testCreate()
throws IOException
IOExceptionpublic void testGetRefs_EmptyDatabase()
throws IOException
IOExceptionpublic void testGetRefs_HeadOnOneBranch()
throws IOException
IOExceptionpublic void testGetRefs_DeatchedHead1()
throws IOException
IOExceptionpublic void testGetRefs_DeatchedHead2()
throws IOException
IOExceptionpublic void testGetRefs_DeeplyNestedBranch()
throws IOException
IOExceptionpublic void testGetRefs_HeadBranchNotBorn()
throws IOException
IOExceptionpublic void testGetRefs_LooseOverridesPacked()
throws IOException
IOExceptionpublic void testGetRefs_IgnoresGarbageRef1()
throws IOException
IOExceptionpublic void testGetRefs_IgnoresGarbageRef2()
throws IOException
IOExceptionpublic void testGetRefs_IgnoresGarbageRef3()
throws IOException
IOExceptionpublic void testGetRefs_IgnoresGarbageRef4()
throws IOException
IOExceptionpublic void testFirstExactRef_IgnoresGarbageRef()
throws IOException
IOExceptionpublic void testExactRef_IgnoresGarbageRef()
throws IOException
IOExceptionpublic void testGetRefs_InvalidName()
throws IOException
IOExceptionpublic void testReadNotExistingBranchConfig()
throws IOException
IOExceptionpublic void testReadBranchConfig()
throws IOException
IOExceptionpublic void testGetRefs_HeadsOnly_AllLoose()
throws IOException
IOExceptionpublic void testGetRefs_HeadsOnly_AllPacked1()
throws IOException
IOExceptionpublic void testGetRefs_HeadsOnly_SymrefToPacked()
throws IOException
IOExceptionpublic void testGetRefs_HeadsOnly_Mixed()
throws IOException
IOExceptionpublic void testFirstExactRef_Mixed()
throws IOException
IOExceptionpublic void testGetRefs_TagsOnly_AllLoose()
throws IOException
IOExceptionpublic void testGetRefs_LooseSortedCorrectly()
throws IOException
IOExceptionpublic void testGetRefs_LooseSorting_Bug_348834()
throws IOException
IOExceptionpublic void testGetRefs_TagsOnly_AllPacked()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversNewLoose1()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversNewLoose2()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversModifiedLoose()
throws IOException
IOExceptionpublic void testGetRef_DiscoversModifiedLoose()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversDeletedLoose1()
throws IOException
IOExceptionpublic void testGetRef_DiscoversDeletedLoose()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversDeletedLoose2()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversDeletedLoose3()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversDeletedLoose4()
throws IOException
IOExceptionpublic void testGetRefs_DiscoversDeletedLoose5()
throws IOException
IOExceptionpublic void testGetRefs_SkipsLockFiles()
throws IOException
IOExceptionpublic void testGetRefs_CycleInSymbolicRef()
throws IOException
IOExceptionpublic void testGetRef_CycleInSymbolicRef()
throws IOException
IOExceptionpublic void testGetRefs_PackedNotPeeled_Sorted()
throws IOException
IOExceptionpublic void testGetRef_PackedNotPeeled_WrongSort()
throws IOException
IOExceptionpublic void testGetRefs_PackedWithPeeled()
throws IOException
IOExceptionpublic void testGetRef_EmptyDatabase()
throws IOException
IOExceptionpublic void testExactRef_EmptyDatabase()
throws IOException
IOExceptionpublic void testGetRef_FetchHead()
throws IOException
IOExceptionpublic void testExactRef_FetchHead()
throws IOException
IOExceptionpublic void testGetRef_AnyHeadWithGarbage()
throws IOException
IOExceptionpublic void testGetRefs_CorruptSymbolicReference()
throws IOException
IOExceptionpublic void testGetRef_CorruptSymbolicReference()
throws IOException
IOExceptionpublic void testGetRefs_CorruptObjectIdReference()
throws IOException
IOExceptionpublic void testGetRef_CorruptObjectIdReference()
throws IOException
IOExceptionpublic void testIsNameConflicting()
throws IOException
IOExceptionpublic void testPeelLooseTag()
throws IOException
IOExceptionpublic void testPeelCommit()
throws IOException
IOExceptionpublic void testRefsChangedStackOverflow()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.