Home
last modified time | relevance | path

Searched refs:MockVendorPolicy (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java63 MockVendorPolicy.inject(getContext()); in testGetPolicy()
69 MockVendorPolicy.mockResult = result; in testGetPolicy()
79 assertEquals("policy", "policy1", MockVendorPolicy.passedPolicy); in testGetPolicy()
80 assertEquals("arg", "a", MockVendorPolicy.passedBundle.getString("arg1")); in testGetPolicy()
92 MockVendorPolicy.class.getName(), false); in testGetPolicyNonSystem()
94 MockVendorPolicy.passedPolicy = null; in testGetPolicyNonSystem()
100 assertNull(MockVendorPolicy.passedPolicy); in testGetPolicyNonSystem()
DMockVendorPolicy.java22 public class MockVendorPolicy { class
38 MockVendorPolicy.class); in inject()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java31 import com.android.email.MockVendorPolicy;
146 MockVendorPolicy.inject(mTestContext); in setUp()
292 MockVendorPolicy.inject(mTestContext); in testImapIdWithVendorPolicy()
297 MockVendorPolicy.mockResult = result; in testImapIdWithVendorPolicy()
307 assertEquals("getImapId", MockVendorPolicy.passedPolicy); in testImapIdWithVendorPolicy()
308 assertEquals("user-name", MockVendorPolicy.passedBundle.getString("getImapId.user")); in testImapIdWithVendorPolicy()
309 assertEquals("host-name", MockVendorPolicy.passedBundle.getString("getImapId.host")); in testImapIdWithVendorPolicy()
311 MockVendorPolicy.passedBundle.getString("getImapId.capabilities")); in testImapIdWithVendorPolicy()