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
62
* Actually call {@link VendorPolicyLoader#getPolicy}, using
MockVendorPolicy
as a vendor
66
MockVendorPolicy
.inject(getContext());
72
MockVendorPolicy
.mockResult = result;
82
assertEquals("policy", "policy1",
MockVendorPolicy
.passedPolicy);
83
assertEquals("arg", "a",
MockVendorPolicy
.passedBundle.getString("arg1"));
95
MockVendorPolicy
.class.getName(), false);
97
MockVendorPolicy
.passedPolicy = null;
102
//
MockVendorPolicy
.getPolicy() shouldn't get called.
103
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 60 milliseconds