public class RepositoryCacheTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
RepositoryCacheTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBareFileKey() |
void |
testCacheOpen() |
void |
testCacheRegisterOpen() |
void |
testFileKeyOpenExisting() |
void |
testFileKeyOpenNew() |
void |
testGetRegistered() |
void |
testGetRegisteredWhenEmpty() |
void |
testNonBareFileKey() |
void |
testReconfigure() |
void |
testRepositoryNotUnregisteringWhenClosing() |
void |
testRepositoryUnregisteringWhenExpired() |
void |
testRepositoryUnregisteringWhenExpiredAndUsageCountNegative() |
void |
testRepositoryUsageCount() |
void |
testRepositoryUsageCountWithRegisteredRepository() |
void |
testUnregister() |
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 testNonBareFileKey()
throws IOException
IOExceptionpublic void testBareFileKey()
throws IOException
IOExceptionpublic void testFileKeyOpenExisting()
throws IOException
IOExceptionpublic void testFileKeyOpenNew()
throws IOException
IOExceptionpublic void testGetRegisteredWhenEmpty()
public void testGetRegistered()
public void testUnregister()
public void testRepositoryUsageCountWithRegisteredRepository()
throws IOException
IOExceptionpublic void testRepositoryNotUnregisteringWhenClosing()
throws Exception
Exceptionpublic void testRepositoryUnregisteringWhenExpiredAndUsageCountNegative()
throws Exception
Exceptionpublic void testRepositoryUnregisteringWhenExpired()
throws Exception
Exceptionpublic void testReconfigure()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.