public class DirCacheTreeTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
DirCacheTreeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEmptyCache_Clear_NoCacheTree() |
void |
testEmptyCache_CreateEmptyCacheTree() |
void |
testEmptyCache_NoCacheTree() |
void |
testSingleSubtree() |
void |
testTwoLevelSubtree() |
void |
testWriteReadTree()
We had bugs related to buffer size in the DirCache.
|
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testEmptyCache_NoCacheTree()
throws Exception
Exceptionpublic void testEmptyCache_CreateEmptyCacheTree()
throws Exception
Exceptionpublic void testEmptyCache_Clear_NoCacheTree()
throws Exception
Exceptionpublic void testWriteReadTree()
throws CorruptObjectException,
IOException
CorruptObjectExceptionIOExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.