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

  /packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java 22 public class MockVendorPolicy {
34 * Call it to enable {@link MockVendorPolicy}.
38 MockVendorPolicy.class);
VendorPolicyLoaderTest.java 59 * Actually call {@link VendorPolicyLoader#getPolicy}, using MockVendorPolicy as a vendor
63 MockVendorPolicy.inject(getContext());
69 MockVendorPolicy.mockResult = result;
79 assertEquals("policy", "policy1", MockVendorPolicy.passedPolicy);
80 assertEquals("arg", "a", MockVendorPolicy.passedBundle.getString("arg1"));
92 MockVendorPolicy.class.getName(), false);
94 MockVendorPolicy.passedPolicy = null;
99 // MockVendorPolicy.getPolicy() shouldn't get called.
100 assertNull(MockVendorPolicy.passedPolicy);
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 31 import com.android.email.MockVendorPolicy;
146 MockVendorPolicy.inject(mTestContext);
292 MockVendorPolicy.inject(mTestContext);
297 MockVendorPolicy.mockResult = result;
307 assertEquals("getImapId", MockVendorPolicy.passedPolicy);
308 assertEquals("user-name", MockVendorPolicy.passedBundle.getString("getImapId.user"));
309 assertEquals("host-name", MockVendorPolicy.passedBundle.getString("getImapId.host"));
311 MockVendorPolicy.passedBundle.getString("getImapId.capabilities"));
    [all...]

Completed in 1120 milliseconds