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, write
public void setUp() throws Exception
setUp
in class LocalDiskRepositoryTestCase
Exception
public void testCreate() throws IOException
IOException
public void testGetRefs_EmptyDatabase() throws IOException
IOException
public void testGetRefs_HeadOnOneBranch() throws IOException
IOException
public void testGetRefs_DeatchedHead1() throws IOException
IOException
public void testGetRefs_DeatchedHead2() throws IOException
IOException
public void testGetRefs_DeeplyNestedBranch() throws IOException
IOException
public void testGetRefs_HeadBranchNotBorn() throws IOException
IOException
public void testGetRefs_LooseOverridesPacked() throws IOException
IOException
public void testGetRefs_IgnoresGarbageRef1() throws IOException
IOException
public void testGetRefs_IgnoresGarbageRef2() throws IOException
IOException
public void testGetRefs_IgnoresGarbageRef3() throws IOException
IOException
public void testGetRefs_IgnoresGarbageRef4() throws IOException
IOException
public void testFirstExactRef_IgnoresGarbageRef() throws IOException
IOException
public void testExactRef_IgnoresGarbageRef() throws IOException
IOException
public void testGetRefs_InvalidName() throws IOException
IOException
public void testReadNotExistingBranchConfig() throws IOException
IOException
public void testReadBranchConfig() throws IOException
IOException
public void testGetRefs_HeadsOnly_AllLoose() throws IOException
IOException
public void testGetRefs_HeadsOnly_AllPacked1() throws IOException
IOException
public void testGetRefs_HeadsOnly_SymrefToPacked() throws IOException
IOException
public void testGetRefs_HeadsOnly_Mixed() throws IOException
IOException
public void testFirstExactRef_Mixed() throws IOException
IOException
public void testGetRefs_TagsOnly_AllLoose() throws IOException
IOException
public void testGetRefs_LooseSortedCorrectly() throws IOException
IOException
public void testGetRefs_LooseSorting_Bug_348834() throws IOException
IOException
public void testGetRefs_TagsOnly_AllPacked() throws IOException
IOException
public void testGetRefs_DiscoversNewLoose1() throws IOException
IOException
public void testGetRefs_DiscoversNewLoose2() throws IOException
IOException
public void testGetRefs_DiscoversModifiedLoose() throws IOException
IOException
public void testGetRef_DiscoversModifiedLoose() throws IOException
IOException
public void testGetRefs_DiscoversDeletedLoose1() throws IOException
IOException
public void testGetRef_DiscoversDeletedLoose() throws IOException
IOException
public void testGetRefs_DiscoversDeletedLoose2() throws IOException
IOException
public void testGetRefs_DiscoversDeletedLoose3() throws IOException
IOException
public void testGetRefs_DiscoversDeletedLoose4() throws IOException
IOException
public void testGetRefs_DiscoversDeletedLoose5() throws IOException
IOException
public void testGetRefs_SkipsLockFiles() throws IOException
IOException
public void testGetRefs_CycleInSymbolicRef() throws IOException
IOException
public void testGetRef_CycleInSymbolicRef() throws IOException
IOException
public void testGetRefs_PackedNotPeeled_Sorted() throws IOException
IOException
public void testGetRef_PackedNotPeeled_WrongSort() throws IOException
IOException
public void testGetRefs_PackedWithPeeled() throws IOException
IOException
public void testGetRef_EmptyDatabase() throws IOException
IOException
public void testExactRef_EmptyDatabase() throws IOException
IOException
public void testGetRef_FetchHead() throws IOException
IOException
public void testExactRef_FetchHead() throws IOException
IOException
public void testGetRef_AnyHeadWithGarbage() throws IOException
IOException
public void testGetRefs_CorruptSymbolicReference() throws IOException
IOException
public void testGetRef_CorruptSymbolicReference() throws IOException
IOException
public void testGetRefs_CorruptObjectIdReference() throws IOException
IOException
public void testGetRef_CorruptObjectIdReference() throws IOException
IOException
public void testIsNameConflicting() throws IOException
IOException
public void testPeelLooseTag() throws IOException
IOException
public void testPeelCommit() throws IOException
IOException
public void testRefsChangedStackOverflow() throws Exception
Exception
Copyright © 2018 Eclipse JGit Project. All rights reserved.