public abstract class SampleDataRepositoryTestCase extends RepositoryTestCase
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
SampleDataRepositoryTestCase() |
Modifier and Type | Method and Description |
---|---|
static void |
copyCGitTestPacks(FileRepository repo)
Copy C Git generated pack files into given repository for testing
|
void |
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 setUp() throws Exception
setUp
in class RepositoryTestCase
Exception
public static void copyCGitTestPacks(FileRepository repo) throws IOException
repo
- test repository to receive packfile copiesIOException
Copyright © 2017 Eclipse JGit Project. All rights reserved.