History log of /packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a49afa2ad697307cc04ef4cb86570574fa720f2 06-Dec-2016 Gary Mai <garymai@google.com> Collapse common package (2/2)

Ran optimize imports on the project as well to re-order everything
which would have changed because of removing common.

Test: Built GoogleContacts, GoogleContactsTests, Contacts,
ContactsTests and ran unit tests.

Bug: 33252370
Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
202ad07c52c55910cc573b6488ccb58eb2779100 21-Oct-2016 James Laskey <laskey@google.com> Fix for test breakage in ContactDeletion

Needed to update tests to account for accessing
DISPLAY_NAME_ALTERNATIVE.

Bug: 32321497
Test: Testsuite passes with no failures
Change-Id: I48f860446efa708c0c373ce85e8614377a107e77
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
4beed7e96dfaaaebd8c3f5ca86dfa8683eb3569f 15-Sep-2016 James Laskey <laskey@google.com> Insert name into toast during contact deletion

Bug: 29882910
Test: manual inspection of toast contents

Change-Id: I0816163e430680a5b76c185a7fd1c466c86f3894
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
38212ae82e7d0327ca9dc5493662af3a16beed6d 13-Sep-2016 Marcus Hagerott <mhagerott@google.com> Tweak test size annotations.

ContactDeletionInteractionTest is slow relative to the other tests so use
@MediumTest instead of @SmallTest.

Change-Id: I111817ac3c7117643e45932f9a6fbeccd6ea4564
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
3e8fedc402fe561b063fdecf1e184ebae9ede2f3 15-Nov-2014 Jeff Brown <jeffbrown@google.com> Remove call to deleted method AsyncTask.init().

Bug: 18192406
Change-Id: If4516c0439ed6f2b144923596a702f559bdc80ee
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
7039633999b3a46a87c851fa06d9168897ccc54b 28-May-2014 Yorke Lee <yorkelee@google.com> Fix broken contacts tests

Change-Id: Ie9c803ede45b300f20a03a25d6a646cd6eb1f39e
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
28daa7d3e7f81e92ebc134b19ae7fe2d902aa531 29-May-2014 Ed Heyl <edheyl@google.com> Fix build breakage: Revert "Fix broken contacts tests"

This reverts commit 90ef577763f3ccb2d43fda1d21c62533acbbecdb.

Change-Id: If98147879e1658c3a48d04b855c033d191fec2f6
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
90ef577763f3ccb2d43fda1d21c62533acbbecdb 28-May-2014 Yorke Lee <yorkelee@google.com> Fix broken contacts tests

Change-Id: I0edda45234edb7fe4e322138ad48af426133634f
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
cd321f65f1e50409812976380ad1f0fdb3fa35cb 28-Oct-2013 Yorke Lee <yorkelee@google.com> Move ContactLoader related code to ContactsCommon

This CL simply moves classes from Contacts into ContactsCommon.

This is needed so that Dialer can use ContactLoader related code
for b/11294679. A ContactLoader will also be needed in the future
to allow InCallUI to download hi-res photos while in call.
Bug: 11294679

Change-Id: Ia033f3ea2406a907a4e71290c9ce810a5583dab8
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
428f008513d1591cc08fcfe2cf0c9237fb313241 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
dabac3f99c85bd6af90681a774796748c2775beb 02-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager singleton out of app context.

Put singleton directly into AccountTypeManager class instead of pulling it
from the custom context ContactsApplication class.

Bug: 6993891
Change-Id: Icc1b9736dff8916407c923ceaebb7844fca3e097
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
34793c436c1f95a1c57b1227466fd929e5d64e17 31-Oct-2012 Chiao Cheng <chiaocheng@google.com> Moving PhoneNumberInteraction to Dialer.

And moving dependent related resources and test classes.

Bug: 6993891
Change-Id: I4962098d6b1e05d16a6721bbf889f9e3f26194a8
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
a2180f32d3c5d6842c421adb5aa2f85c69caccfb 18-Aug-2012 Chiao Cheng <chiaocheng@google.com> Initial removal of dialer features.

- Moved main activities and classes out including all necessary dependencies
for a first working version.
- There are still dialer dependencies in contacts after this check-in. Further
separation coming.

Bug: 6993891
Change-Id: I1761b554fe5daf29acddbb43532f571191db2eaf
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
851222a96b5d68602fb361ea3527101e893f67e3 21-Jun-2012 Maurice Chu <mochu@google.com> Added thin object layer around contact data

This refactoring abstracts out the need to directly
refer to Contacts database columns throughout the code. Instead,
all of this information is retained in getter/setter methods
within the Contact, RawContact, and DataItem classes and
sub-classes.

ContactLoader.Result class has been pulled to the top level as
the Contact class.

The Entity class has been removed and replaced with a RawContact
class, with getters/setters to raw contact information.
Renamed EntityDelta to RawContactDelta for better understandability
as well as adding getters/setters for specific fields in the
ValuesDelta nested class within EntityDelta. EntityDeltaList
and EntityModifier have been renamed to RawContactDeltaList and
RawContactModifier with the methods using the RawContact class
directly rather than the Entity class.

Data items for a raw contact are represented by a DataItem object
with specialized getters/setters for subclasses of DataItem.
(e.g., EmailDataItem, PhoneDataItem. etc.). DataItem is a wrapper
around ContentValues. This abstracts away the ContactsContract
column fields into getters/setters.

The above refactoring is accompanied with changes throughout the
codebase to use the new Contact, RawContact, and DataItem classes.

Change-Id: I31c1dccd724e9652f9d0af78ca81feb6c5acd71d
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
0454960b4b9e43b75bbfd0fb296c25d59111a765 23-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix test breakage

- Fix broken tests
- Add one test for SIP call in PhoneNumberInteraction.
- Move some tests to the category "small test"

Bug: 5661071
Change-Id: If27295928e1af46e193a462ca4f6c3c5168f893f
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
96e87fd6e808e9d853263ffeb5104f3253a18639 21-Sep-2011 Daniel Lehmann <lehmannd@google.com> Use existence of editor as indicator whether source is editable.

Bug:3093621

Change-Id: I3ba344667ce1b0f2da6847d783c0ac90f36ebd8f
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
0556250b620ee26a490d5685b080bf4bce951e9d 28-Jul-2011 Flavio Lerda <flerda@google.com> Fixes tests.

A new column was added to the queries in ContactDeletionInteration and
PhoneNumberInteraction in I88f311c64eae78c88e9999bff6f7de8538e62157.

This change adds the matching columns to the values returned by the
content provider in the tests.

Change-Id: I4a56c4819afeb2b80a2d95d877d994bf7ae3b32d
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
2b3f3c54d3beb017b2f59f19e9ce0ecc3e039dbc 27-Jul-2011 Dave Santoro <dsantoro@google.com> App changes for account types with data sets.

This is primarily a replacement of the Android Account object in most
parts of the app with a new AccountWithDataSet object that extends
Account (by adding an additional attribute, the data set).

This also includes a major refactoring of the AccountTypeManager,
both to allow it to handle data sets and to allow for
non-sync-adapter packages to be referenced by the sync adapters for
an account and registered as sources of contact data. Attributes of
the sync adapter that would typically come from the authenticator
can be parsed out of the Contacts XML for these packages.

Bug 5077096

Change-Id: I88f311c64eae78c88e9999bff6f7de8538e62157
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
149fb7fd82554d5b02c335a3f9b8c60be4d083ec 21-Jul-2011 Hugo Hudson <hugohudson@google.com> Fix intermittently failing unit test.

- This test fails if you haven't switched the phone screen on, which
can be very confusing if you don't know about it.
- This cl introduces acquiring and releasing the screen wake lock to
the integration test utils, and uses it to prevent this test failure.

Change-Id: I378b6effd56e912213eb0af81f8add5c3bba39f2
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
34ce5e98f78b46b858d8afd450d1153c1d985426 06-Jun-2011 Flavio Lerda <flerda@google.com> Introduces a TestLoaderManager to test loaders.

Currently, the ContactDeletionInterationTest are flaky because waiting
for one of the loader to complete will fail if the loader was completed
before we start waiting.

Since this happens asynchronously and we do not information of which
loaders have completed, there is not an easy way to know whether the
loader already completed or never started.

This change introduces a TestLoaderManager which is an implementation of
LoaderManager which delegates to another object, but keeps track of
which loaders have completed. This allows to correctly wait for Loaders
to complete, even if they might have completed before the call to
waitForLoaders takes place.

Change-Id: I5e3795e10fc9b3424b983cdef4ac32feed7dbf74
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
c9eda37df2ff1ba2f845ae330bae364cb35fa50a 23-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Close contact editor after deleting contact

Bug: 3396132
Change-Id: I1818446b8ecb6ef71d7c763d3e7ea3dc4c820b02
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
1dc28bef7d5353310359c3711b6cdac390d8a2e0 11-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Restoring full functionality of no-account contacts

Bug: 3339401
Change-Id: I2c185ee6e1189b89fce875f59b55ccd68edf6313
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
1173ae29217fc83f254404f8a5fa10419ee83c93 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing ContactBrowserActivityTest

Change-Id: Ie492eae15c7163d0f8a3577e73ae14b786709a35
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
6f667b55687bf9193323802e8f3234f0ab254388 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Turning AccountTypeManager into a "system" service.

It's really not a system service proper. It just
uses the same API and the same dependency injection
mechanism as for system services.

Change-Id: I56e24e0f16642a5ab25e809ee12906d965845379
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
a07fa5f37031e4c5cd2933de02d2db41ec153e2b 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming AccountTypes to AccountTypeManager.

The intent is to turn it into a "system service" of sorts.

Change-Id: I047d70a2e59978c05916965ef0c0d9f18abc55e6
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
43fd1e84de5e28639062c20d35ba7bfec8a07001 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing ContactDeletionInteractionTest

Bug: 3330176
Change-Id: I6726e74440cd7cb8c16d169a97da5042f77c9463
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
69f9e6f0cd9b5401da55f251e9bd98e69643d7df 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming fields and variables from "source" to "accountType"

Change-Id: Ie41036e35a45fc7d9a8c934a3cbe68399c567ad6
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
66bca8f360c9e21b6a47006f21db7b46b6b46340 25-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Turning ContactDeletionInteraction into a Fragment

Change-Id: I6edb576d0158b7082d3e2bc4d1902d34fc62cc7a
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
4597c92d655d45447780b32c7572acef110b6ed1 15-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Renaming BaseAccountType to AccountType

Change-Id: Iff47bac0e1a118f4a5319526304df16cb89bd0cd
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
35769b804fbfd5a1fc0b2c36cd0a786d662c4334 19-Oct-2010 Daniel Lehmann <lehmannd@google.com> Renamed Sources to AccountTypes

Change-Id: I088c7d9cd66fd4d38e93bc97a6644247f72037ef
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java
9692f2664e678b0a264c586c70cc4a9c0ffabc21 30-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Breaking out contact deletion into a separate object.

Introducing a new type of object, Interaction,
which is neither Activity nor Fragment, but just
support for some particular function, e.g. deletion
of a contact.

Also, moving the query to the background thread.

Change-Id: I52d2607592fe3ca012284d8216003947dba5f188
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ContactDeletionInteractionTest.java