9293949596979899100101102
} List refIds = getReferenceIdsOrderedByPageOrd(queue.getChannelID()); assertEquals(100, refIds.size()); assertEquals(100, queue.memoryRefCount()); assertEquals(0, queue.downCacheCount()); assertTrue(queue.isPaging());
385386387388389390391392393394395
//Verify 100 msgs in store assertEquals(100, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify paging
424425426427428429430431432433434
//Verify 101 msgs in store assertEquals(101, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify 1 refs in downcache assertEquals(1, queue.downCacheCount()); //Verify paging
458459460461462463464465466467468
//Verify 100 msgs in store assertEquals(100, ms.size()); //Verify 99 refs in queue assertEquals(99, queue.memoryRefCount()); //Verify 1 refs in downcache assertEquals(1, queue.downCacheCount()); //Verify paging
495496497498499500501502503504505
//Verify 82 msgs in store assertEquals(82, ms.size()); //Verify 81 refs in queue assertEquals(81, queue.memoryRefCount()); //Verify 1 refs in downcache assertEquals(1, queue.downCacheCount()); //Verify paging
529530531532533534535536537538539
563564565566567568569570571572573
595596597598599600601602603604605
//Verify 81 msgs in store assertEquals(100, ms.size()); //Verify 81 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify paging
627628629630631632633634635636637
//Verify 80 msgs in store assertEquals(80, ms.size()); //Verify 80 refs in queue assertEquals(80, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging
659660661662663664665666667668669
//Verify 20 msgs in store assertEquals(20, ms.size()); //Verify 20 refs in queue assertEquals(20, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging