Public Member Functions | |
TestEngineCacheEntriesQueue () | |
void | testPushPopQueue () throws Exception |
void | testPushPopQueueVector () throws Exception |
void | testPushPopQueueVectorFile () throws Exception |
void | testClear () throws Exception |
void | testRandomOrder () throws Exception |
Protected Member Functions | |
Override void | setUp () throws Exception |
Override void | tearDown () throws Exception |
Private Member Functions | |
void | populateEntries () throws Exception |
Private Attributes | |
Vector< CacheEntry > | entries = new Vector<CacheEntry>() |
CacheEntriesQueue | queue |
Static Private Attributes | |
final int | TEST_ENTRIES = 100000 |
|
Constructor |
|
Generate a set of |
|
|
|
|
|
Test the clearing of the queue |
|
Push and pop entries involving only the Implementation note:
|
|
Push and pop entries involving the Implementation note:
|
|
Push and pop entries involving the Implementation note:
The limit of this test is that entries have been sent in the queue before reading. |
|
This test completes what is done by
|
|
The vector of |
|
The queue to test |
|
The number of |