OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MockVendorPolicy
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Email/tests/src/com/android/email/
MockVendorPolicy.java
24
public class
MockVendorPolicy
{
36
* Call it to enable {@link
MockVendorPolicy
}.
40
MockVendorPolicy
.class);
VendorPolicyLoaderTest.java
60
* Actually call {@link VendorPolicyLoader#getPolicy}, using
MockVendorPolicy
as a vendor
64
MockVendorPolicy
.inject(getContext());
70
MockVendorPolicy
.mockResult = result;
80
assertEquals("policy", "policy1",
MockVendorPolicy
.passedPolicy);
81
assertEquals("arg", "a",
MockVendorPolicy
.passedBundle.getString("arg1"));
93
MockVendorPolicy
.class.getName(), false);
95
MockVendorPolicy
.passedPolicy = null;
100
//
MockVendorPolicy
.getPolicy() shouldn't get called.
101
assertNull(
MockVendorPolicy
.passedPolicy);
/packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java
32
import com.android.email.
MockVendorPolicy
;
148
MockVendorPolicy
.inject(mTestContext);
294
MockVendorPolicy
.inject(mTestContext);
299
MockVendorPolicy
.mockResult = result;
309
assertEquals("getImapId",
MockVendorPolicy
.passedPolicy);
310
assertEquals("user-name",
MockVendorPolicy
.passedBundle.getString("getImapId.user"));
311
assertEquals("host-name",
MockVendorPolicy
.passedBundle.getString("getImapId.host"));
313
MockVendorPolicy
.passedBundle.getString("getImapId.capabilities"));
[
all
...]
Completed in 551 milliseconds