HomeSort by relevance Sort by last modified time
    Searched refs:mMockClock (Results 1 - 2 of 2) sorted by null

  /packages/apps/Email/tests/src/com/android/email/activity/
RecentMailboxManagerTest.java 46 private MockClock mMockClock;
58 mMockClock = new MockClock();
59 RecentMailboxManager.sClock = mMockClock;
105 assertEquals(mMockClock.getTime(), touchedMailbox.mLastTouchedTime);
107 mMockClock.advance(1000L);
140 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[7].mId).get(); // costello
158 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[3].mId); // sent
159 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[4].mId); // trash
160 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[2].mId); // outbox
161 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[8].mId); // bud_lo
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
NotificationControllerTest.java 39 private final MockClock mMockClock = new MockClock();
47 super(context, mMockClock);
180 assertEquals(mMockClock.mTime, n.when);
190 assertEquals(mMockClock.mTime, n.when);

Completed in 752 milliseconds