public class RepositoryCacheTest extends RepositoryTestCase
db, trash
ASSUME_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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testNonBareFileKey() throws IOException
IOException
public void testBareFileKey() throws IOException
IOException
public void testFileKeyOpenExisting() throws IOException
IOException
public void testFileKeyOpenNew() throws IOException
IOException
public void testGetRegisteredWhenEmpty()
public void testGetRegistered()
public void testUnregister()
public void testRepositoryUsageCountWithRegisteredRepository()
public void testRepositoryNotUnregisteringWhenClosing() throws Exception
Exception
public void testRepositoryUnregisteringWhenExpiredAndUsageCountNegative() throws Exception
Exception
public void testRepositoryUnregisteringWhenExpired() throws Exception
Exception
public void testReconfigure() throws InterruptedException
InterruptedException
Copyright © 2017 Eclipse JGit Project. All rights reserved.