History log of /packages/apps/Email/tests/src/com/android/email/MockVendorPolicy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
17d3a29c9d8f7a27c463239f190bdcc4e0804527 27-Nov-2013 Jerry Xie <jjx@google.com> Get Email units to compile

Change-Id: I171a0e2421c5006d9862ad94f886932146547020
/packages/apps/Email/tests/src/com/android/email/MockVendorPolicy.java
36d3dfaeac1a80561ef41a78ecc9bf3583d0ca7b 11-Jun-2010 Makoto Onuki <omakoto@google.com> Extract MockVendorPolicy, add standard mechanism to inject it.

One thing that bothers me regarding the new ImapStore is that there is no
tests to verify if the way how getImapId() uses a vendor policy hasn't changed.
This part is hard to test with a real vendor policy, and it can easily be
overlooked even if it's broken.

This CL offers ImapStoreUnitTests a way to test the interaction between
getImapId() and a vendor policy.

Also fixed a bug in VendorPolicyLoaderTest where it assumed the test apk
package name is "com.android.email.tests", but it may actually be
"com.google.android.email.tests" now. (Broken since the test makefile
used inherit-package.)

Change-Id: I8feb616ea28cb5cae5b4fba57e363771014ac599
/packages/apps/Email/tests/src/com/android/email/MockVendorPolicy.java