HomeSort by relevance Sort by last modified time
    Searched defs:mockContext (Results 1 - 3 of 3) sorted by null

  /external/android-mock/livetests/com/google/android/testing/mocking/test/
MockingTest.java 40 Context mockContext = AndroidMock.createMock(Context.class);
41 String packageName = mockContext.getClass().getPackage().getName();
  /frameworks/base/services/tests/servicestests/src/com/android/server/search/
SearchablesTest.java 36 import android.test.mock.MockContext;
102 MyMockContext mockContext = new MyMockContext(mContext, mockPM);
106 Searchables searchables = new Searchables(mockContext, 0);
122 MyMockContext mockContext = new MyMockContext(mContext, mockPM);
125 Searchables searchables = new Searchables(mockContext, 0);
228 private class MyMockContext extends MockContext {
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityUnitTests.java 311 private long getLastUpdateKey(Context mockContext, long mailboxId) {
312 return Utility.getFirstRowLong(mockContext, Mailbox.CONTENT_URI,
318 Context mockContext = DBTestHelper.ProviderContextSetupHelper.getProviderContext(mContext);
321 Account account1 = ProviderTestUtils.setupAccount("account1", true, mockContext);
322 Account account2 = ProviderTestUtils.setupAccount("account2", true, mockContext);
323 Account account3 = ProviderTestUtils.setupAccount("account3", true, mockContext);
324 Account account4 = ProviderTestUtils.setupAccount("account4", true, mockContext);
326 mockContext, Mailbox.TYPE_INBOX);
328 mockContext, Mailbox.TYPE_MAIL);
330 mockContext, Mailbox.TYPE_DRAFTS)
    [all...]

Completed in 2827 milliseconds