History log of /packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb68c13afa630cae058eb40d3ce68644f3f3c8b9 07-Sep-2014 Paul Westbrook <pwestbro@google.com> Changes to support smaller email tombstone apk size

This reduces the tombstone down by 100K

A follow-on cl will remove the unused resources from the tombstone build

Bug: 17414014
Change-Id: I5d38811b17a5273ec726e750ab123e10e36cee04
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
06415a635f5f01d8e1620b29f44d68dc4dfdf435 25-Jun-2014 Tony Mantler <nicoya@google.com> Unify settings activity

b/9566150

- Install PublicPreferenceActivity
- Create AccountServerSettingsActivity to contain all the crazy
logic we don't want in AccountSettings
- Add restoreAccountWithAddress to Account
- Refactor almost everything out of AccountSettings
- Tidy the QuickResponse fragment
- Majorly refactor the AccountSettingsFragment to decouple it from
the activity, and make it save settings immediately instead of
when pausing
- Move login warning dialog to AccountSettingsFragment
- Tweak HeadlessAccountSettingsLoader

Change-Id: Ie69181d968b9c3e5940cfef9690b1f5c70e21aa8
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
452744474af7b33d54b5c37f8a09370532ae5315 18-Mar-2014 Tony Mantler <nicoya@google.com> Fix broken tests and remove dead code

Change-Id: I3ae31c604c86641622f997915dc7d86bf2c662a2
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
951eb080f98e86d50cb549ee52fb72d8f07196c3 28-Feb-2014 Tony Mantler <nicoya@google.com> Fix tests

b/13244976

Change-Id: I8aa00e32b1a2155242ed30a61b27db16fe15b605
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
76472ae40cd55d17edb0420e8fc2a7bae60c50de 13-Feb-2014 Tony Mantler <nicoya@google.com> Merge setup fragments under a single activity

Change-Id: I10cf8bb9f6bc1a26ea97ae664f0196ae9e9493b5
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
c5685ba600f25e663da6c2612040e668db81ec49 21-Feb-2014 Tony Mantler <nicoya@google.com> Fix tests

Change-Id: I89370919dd5a8a129ea946f2d3429f0d4a056eb6
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
10c7412555ce7f1499cf2834f35e95adf4769de3 20-Feb-2014 Martin Hibdon <mhibdon@google.com> Fix some broken tests

b/13085182
You can't look up emailServiceInfo for smtp, we don't store that
in services.xml. The thing is, if we're using outgoing settings,
we're always using smtp, which allows oauth.

Change-Id: I5c6032e8d5020ba83fa1c803666b83f134f87f75
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
7037a0bd3d8e925a9115f475f5c0d05ddae2eeee 17-Dec-2013 Jerry Xie <jjx@google.com> Disable, suppress, remove broken and obsolete Email tests

Change-Id: Ia4dcba1c6966f23dd2a15e69324b7345aed8f944
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
9c8c471f971f9c8e40002503a0799ce56c5bfd76 06-Dec-2013 Tony Mantler <nicoya@google.com> Convert SetupData into a retained fragment

This will keep it from being recreated quite as much while off-thread tasks are possibly mutating it.

Change-Id: Ic9873489906339c33a76b8a600c0fc28016debc4
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
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/activity/setup/AccountSetupOutgoingTests.java
f5418f1f93b02e7fab9f15eb201800b65510998e 14-Jun-2011 Marc Blank <mblank@google.com> Move Account into its own top-level class

Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
85e4c101b014857fe40f87c3837b82564cfc5b6c 08-Jun-2011 Marc Blank <mblank@google.com> Remove storeUri's except during auto-setup

* Remove per-store limitations
* Use constants for VISIBLE_WINDOW, rather than having the
potential for differences between Stores

Change-Id: Idd5e0874bba6e3390e4f093bcb03f4b1bb399c11
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
313586c8eb4e23ceec068b82f3dc0be1c8a7045f 07-Jun-2011 Ben Komalo <benkomalo@google.com> Introduce client cert alias for HostAuth.

Some email servers require client certificates to be presented to
establish an SSL connection. While this certificate will be maintained
by the system key store, we need to store the "alias" of the certificate
stored in that system store.

Wiring up to use the actual alias will be done in future CL's. It is
currently unused.

Change-Id: I8d1290151342daea9ceb0df8a4088405b44faa81
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
12b82d9374947c9268217f45befe8a74bd9b60d7 20-May-2011 Ben Komalo <benkomalo@google.com> Move HostAuth to top level class.

No other changes made.

Change-Id: I1c6497c98abc0f99443ea42d8aed6295b263c123
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
040ddf60cfef4aaecf4bfe1f897fce3248d777a4 04-Feb-2011 Todd Kennedy <toddke@google.com> Resolve build warnings; part 5

Remove dependence upon URIs for creating the host auth structure

Change-Id: I92dee36fa329a8976b76bbd4991ed3469c6475f2
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
a7bc0319a75184ad706bb35c049af107ac3688e6 10-Feb-2011 Marc Blank <mblank@google.com> Email split, part six: EmailContent

* Moved EmailContent to emailcommon

Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
fb4333b3a5051b08d3a255000bb1b8331e2a1d43 25-Sep-2010 Andrew Stadler <stadler@android.com> Allow spaces in passwords

* Separate/identical fixes for incoming, outgoing, exchange
* Unit tests
* Some protocols will fail anyway (e.g. POP3)

TODO: Some sort of warning (master only - won't backport that)
Bug: 2981433

Change-Id: I82984e5912fc7fcb88e747815d0fe33cb36605e7
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
4c3a8ede019f8683a7d15defd995790c4b5ebdac 09-Sep-2010 Andrew Stadler <stadler@android.com> Quick fixes for account setup unit tests

Some of these broke in 8bcb572ccfdac6974c111fe6dfc753a5e0d4e7ca
which changed the [Next] button to an ActionBar menu item.

However, the entirety of AccountSettingsXLTests needed to be disabled
because the PreferenceActivity is very different on phone or XL sized
devices, and the tests infrastructure will need to be refactored to deal
with that (on another day.)

Change-Id: I9adbfc9b8da6179e4c4e82d29bb872ee05619a41
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
e6cc662abc0b5fffe223cda5e980b4f05a4e91dd 08-Jul-2010 Marc Blank <mblank@google.com> Use AccountManager for POP/IMAP; refactor setup classes

There are two major, interrelated parts to this CL:

1) Clean up the activities to reduce the use of Intents to pass
information between activities; instead, we use a common
SetupData structure that automatically saved/restored as necessary
during the setup flow. A fair amount of code and inconsistent
use of Bundle extras has been eliminated in the process.

* Create SetupData structure, setters/getters, and initialization
methods to simplify the preservation of state during setup flow
* Remove all state/flow extras from Intents; Intents now only
specify the Activity to be started, which should greatly simplify
the transition to Fragments.
* Remove all state/flow fields from Activities
* Modify existing setup activity unit tests and confirm tests pass

2) Create AccountManager accounts for POP/IMAP email accounts to
provide consistency in user experience. Also, internal flows are
now identical as between account types.

* Move account reconciliation from SyncManager to MailService, so
that reconciliation is consistent between email and exchange
accounts; move unit tests as appropriate
* Add a "Sync Email" setting for POP/IMAP/EAS
* Change MailService to respect the "Sync Email" setting in
Settings -> Accounts & sync
* Create PopImapSyncAdapterService to handle manual POP/IMAP sync as
requested by SyncManager; add EmailSyncAdapterService to perform
the same function for EAS
* Use new PopImapAuthenticatorService to add AccountManager accounts
for POP/IMAP accounts; setup appropriate stanzas in AndroidManifest
and add related xml files
* Update AccountSettings to use SetupData

Miscellaneous other changes:

* Only allow valid port numbers in incoming/outgoing setup

Bug: 1712475

Change-Id: Ibdac52fb2c5578b86bf3992ddb1acd10f162391a
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
83457b0235b8a13e2d885d5b7550784ad470bb9c 12-Feb-2010 Makoto Onuki <omakoto@google.com> Preparing for renaming package.

- Made tests use the new package-name-free constructor of ActivityInstrumentationTestCase2.

Bug 2226160
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
a290f503f14432163f74548a5e5d1dc5003ad049 15-Jun-2009 Marc Blank <mblank@google.com> Refactored EmailStore, EmailContent, EmailProvider

EmailStore goes away, replaced by EmailContent
All database activity is moved to EmailProvider
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
d2b0efa2f591f883eaad3d9f8996bbacdcec5c34 09-Jun-2009 Andrew Stadler <stadler@android.com> Cleanup broken unit tests from previous submit. This now works:

What works:
* All unit tests
* Editing existing accounts
* Create new accounts
* Checking account settings against server
* Mail sync using accounts
* Viewing mailboxes

What breaks (in approx order of planned fixes)
* Viewing messages
* Composing messages
* Some details of account editing
* Import of existing accounts
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
96c5af40d639d629267794f4f0338a267ff94ce5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
8c2158a5ebb88e226c23b66ff95910158a2727df 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java
687f9962d7095e18ef994cd0e64337f02ed1a5bd 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Email/tests/src/com/android/email/activity/setup/AccountSetupOutgoingTests.java