public abstract class RevWalkTestCase extends RepositoryTestCase
RevWalk class.| Modifier and Type | Field and Description |
|---|---|
protected RevWalk |
rw |
ASSUME_UNCHANGED, CONTENT, CONTENT_ID, db, LENGTH, MOD_TIME, SMUDGE, trashauthor, committer| Constructor and Description |
|---|
RevWalkTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertCommit(RevCommit exp,
RevCommit act) |
protected RevBlob |
blob(String content) |
protected RevCommit |
commit(int secDelta,
RevCommit... parents) |
protected RevCommit |
commit(int secDelta,
RevTree tree,
RevCommit... parents) |
protected RevCommit |
commit(RevCommit... parents) |
protected RevCommit |
commit(RevTree tree,
RevCommit... parents) |
protected TestRepository.CommitBuilder |
commitBuilder() |
protected RevWalk |
createRevWalk() |
protected DirCacheEntry |
file(String path,
RevBlob blob) |
protected RevObject |
get(RevTree tree,
String path) |
protected Date |
getClock() |
protected void |
markStart(RevCommit commit) |
protected void |
markUninteresting(RevCommit commit) |
protected <T extends RevObject> |
parseBody(T t) |
void |
setUp() |
protected RevTag |
tag(String name,
RevObject dst) |
protected void |
tick(int secDelta) |
protected RevTree |
tree(DirCacheEntry... entries) |
assertEqualsFile, 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, writeprotected RevWalk rw
public void setUp()
throws Exception
setUp in class RepositoryTestCaseExceptionprotected RevWalk createRevWalk()
protected Date getClock()
protected void tick(int secDelta)
protected DirCacheEntry file(String path, RevBlob blob) throws Exception
Exceptionprotected RevTree tree(DirCacheEntry... entries) throws Exception
Exceptionprotected RevCommit commit(RevTree tree, RevCommit... parents) throws Exception
Exceptionprotected RevCommit commit(int secDelta, RevCommit... parents) throws Exception
Exceptionprotected RevCommit commit(int secDelta, RevTree tree, RevCommit... parents) throws Exception
Exceptionprotected TestRepository.CommitBuilder commitBuilder() throws Exception
Exceptionprotected void markUninteresting(RevCommit commit) throws Exception
ExceptionCopyright © 2015 Eclipse JGit Project. All rights reserved.