Public Member Functions | |
MultiFileCacheTest () throws Exception | |
Override void | setUp () throws Exception |
Override void | tearDown () throws Exception |
void | testFileCreation () throws Exception |
void | testFileDeletion () throws Exception |
void | testGetSize () throws Exception |
void | testClear () throws Exception |
void | testGetFirstLog () throws Exception |
void | testGetLastLog () throws Exception |
void | testkKeySet () throws Exception |
void | testGet () throws Exception |
void | testReplace () throws Exception |
Private Attributes | |
LogMultiFileCache | cache |
Static Private Attributes | |
int | TESTCACHE_SIZE = 1500 |
|
Constructor |
|
|
|
|
|
Test the clearing of the cache |
|
|
|
Test deletion of logs
|
|
Test the getting of logs out of the cache
|
|
Test getFirstLog() |
|
Test getLastLog() |
|
Test the functioning of getSize()
|
|
Test keySet()
|
|
Test replacement of logs
|
|
|
|
|