MessageOrderManagerTest.java | 46 private static void assertCanMove(MessageOrderManager mom, boolean newer, boolean older) { 47 Assert.assertEquals(older, mom.canMoveToOlder()); 48 Assert.assertEquals(newer, mom.canMoveToNewer()); 52 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); local 53 mom.assertStartQueryCalledAndReset(); 56 assertEquals(-1, mom.getCurrentMessageId()); 59 assertCanMove(mom, false, false); 60 assertFalse(mom.moveToNewer()); 61 assertFalse(mom.moveToOlder()); 64 mom.moveTo(54) 86 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); local 162 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); local 189 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); local 259 MessageOrderManager mom = new MessageOrderManager(getContext(), 1, new MyCallback()); local [all...] |