public class RefTest extends SampleDataRepositoryTestCase
db, trash
ASSUME_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, setUp
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testReadAllIncludingSymrefs() throws Exception
Exception
public void testReadSymRefToPacked() throws IOException
IOException
public void testReadSymRefToLoosePacked() throws IOException
IOException
public void testReadLooseRef() throws IOException
IOException
public void testGetShortRef() throws IOException
IOException
public void testGetShortExactRef() throws IOException
IOException
public void testRefsUnderRefs() throws IOException
IOException
public void testAmbiguousRefsUnderRefs() throws IOException
IOException
public void testReadLoosePackedRef() throws IOException, InterruptedException
IOException
InterruptedException
public void testReadSimplePackedRefSameRepo() throws IOException
IOException
public void testResolvedNamesBranch() throws IOException
IOException
public void testResolvedSymRef() throws IOException
IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.