public class RefTest extends SampleDataRepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
RefTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAmbiguousRefsUnderRefs() |
void |
testGetShortExactRef() |
void |
testGetShortRef() |
void |
testReadAllIncludingSymrefs() |
void |
testReadLoosePackedRef()
Let an "outsider" create a loose ref with the same name as a packed one
|
void |
testReadLooseRef() |
void |
testReadSimplePackedRefSameRepo()
Modify a packed ref using the API.
|
void |
testReadSymRefToLoosePacked() |
void |
testReadSymRefToPacked() |
void |
testRefsUnderRefs() |
void |
testRemoteNames() |
void |
testResolvedNamesBranch() |
void |
testResolvedSymRef() |
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 testReadAllIncludingSymrefs()
throws Exception
Exceptionpublic void testReadSymRefToPacked()
throws IOException
IOExceptionpublic void testReadSymRefToLoosePacked()
throws IOException
IOExceptionpublic void testReadLooseRef()
throws IOException
IOExceptionpublic void testGetShortRef()
throws IOException
IOExceptionpublic void testGetShortExactRef()
throws IOException
IOExceptionpublic void testRefsUnderRefs()
throws IOException
IOExceptionpublic void testAmbiguousRefsUnderRefs()
throws IOException
IOExceptionpublic void testReadLoosePackedRef()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testReadSimplePackedRefSameRepo()
throws IOException
IOExceptionpublic void testResolvedNamesBranch()
throws IOException
IOExceptionpublic void testResolvedSymRef()
throws IOException
IOExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.