697698699700701702703704705706707
//Verify 40 msgs in store assertEquals(40, ms.size()); //Verify 40 refs in queue assertEquals(40, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging
736737738739740741742743744745746
//Verify 60 msgs in store assertEquals(60, ms.size()); //Verify 60 refs in queue assertEquals(60, queue.memoryRefCount()); //Verify 0 refs in downcache assertEquals(0, queue.downCacheCount()); //Verify not paging
776777778779780781782783784785786
//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
809810811812813814815816817818819
//Verify 120 msgs in store assertEquals(120, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 20 deliveries
844845846847848849850851852853854
//Verify 120 msgs in store assertEquals(120, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 13 deliveries
879880881882883884885886887888889
//Verify 110 msgs in store assertEquals(110, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 10 deliveries
916917918919920921922923924925926
//Verify 100 msgs in store assertEquals(100, ms.size()); //Verify 100 refs in queue assertEquals(100, queue.memoryRefCount()); //Verify paging assertTrue(queue.isPaging()); //Verify 0 deliveries
945946947948949950951952953954955
//Verify 70 msgs in store assertEquals(70, ms.size()); //Verify 70 refs in queue assertEquals(70, queue.memoryRefCount()); //Verify not paging assertFalse(queue.isPaging()); //Verify 0 deliveries
972973974975976977978979980981982
//Verify 0 msgs in store assertEquals(0, ms.size()); //Verify 0 refs in queue assertEquals(0, queue.memoryRefCount()); //Make sure there are no more refs in queue assertEquals(0, queue.getMessageCount());
738739740741742743744745746747748