Searched refs:MockVendorPolicy (Results 1 – 3 of 3) sorted by relevance
63 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()
22 public class MockVendorPolicy { class38 MockVendorPolicy.class); in inject()
31 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()