public class RefTest extends SampleDataRepositoryTestCase
ASSUME_UNCHANGED, CONTENT, CONTENT_ID, db, LENGTH, MOD_TIME, SMUDGE, trashauthor, committer| Constructor and Description |
|---|
RefTest() |
| Modifier and Type | Method and Description |
|---|---|
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 |
testRemoteNames() |
void |
testResolvedNamesBranch() |
void |
testResolvedSymRef() |
setUpassertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, indexState, lookup, read, resetIndex, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, 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 testReadLoosePackedRef()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testReadSimplePackedRefSameRepo()
throws IOException
IOExceptionpublic void testResolvedNamesBranch()
throws IOException
IOExceptionpublic void testResolvedSymRef()
throws IOException
IOExceptionCopyright © 2015 Eclipse JGit Project. All rights reserved.