public abstract class PackIndexTestCase extends RepositoryTestCase
ASSUME_UNCHANGED, CONTENT, CONTENT_ID, db, LENGTH, MOD_TIME, SMUDGE, trashauthor, committer| Constructor and Description |
|---|
PackIndexTestCase() |
| Modifier and Type | Method and Description |
|---|---|
abstract File |
getFileForPack34be9032()
Return file with appropriate index version for prepared pack.
|
abstract File |
getFileForPackdf2982f28()
Return file with appropriate index version for prepared pack.
|
void |
setUp() |
void |
testCompareEntriesOffsetsWithFindOffsets()
Compare offset from iterator entries with output of findOffset() method.
|
void |
testCompareEntriesOffsetsWithGetOffsets()
Compare offset from iterator entries with output of getOffset() method.
|
abstract void |
testCRC32()
Verify CRC32 support.
|
void |
testIteratorMethodsContract()
Test contracts of Iterator methods and this implementation remove()
limitations.
|
void |
testIteratorReturnedValues1()
Test results of iterator comparing to content of well-known (prepared)
small index.
|
void |
testIteratorReturnedValues2()
Test partial results of iterator comparing to content of well-known
(prepared) dense index, that may need multi-level indexing.
|
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, writepublic void setUp()
throws Exception
setUp in class RepositoryTestCaseExceptionpublic abstract File getFileForPack34be9032()
public abstract File getFileForPackdf2982f28()
public abstract void testCRC32()
throws MissingObjectException,
UnsupportedOperationException
public void testIteratorMethodsContract()
public void testIteratorReturnedValues1()
public void testCompareEntriesOffsetsWithFindOffsets()
public void testCompareEntriesOffsetsWithGetOffsets()
public void testIteratorReturnedValues2()
Copyright © 2015. All rights reserved.