summaryrefslogtreecommitdiffstats
path: root/test-runner/android/test/mock/MockContentProvider.java
Commit message (Collapse)AuthorAgeFilesLines
* Retry test-runner tests move.Brett Chabot2010-02-201-218/+0
| | | | | This time change the frameworks makefile so it only includes test-runner/src in the public API.
* Revert "Move framework test-runner unit tests to be closer to their source."Brett Chabot2010-02-191-0/+218
| | | | This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
* Move framework test-runner unit tests to be closer to their source.Brett Chabot2010-02-191-218/+0
| | | | | Move the test-runner source into a separate src folder to accommodate the test move.
* am 029074ff: fix buildFred Quintana2009-12-101-7/+0
| | | | | | | Merge commit '029074ff0fca198676997c7453cfffa932361081' into eclair-mr2-plus-aosp * commit '029074ff0fca198676997c7453cfffa932361081': fix build
* am 563bfade: fix a build breakageFred Quintana2009-12-101-10/+1
| | | | | | | Merge commit '563bfade6601f3410681b3cd8b069ed22af5b048' into eclair-mr2-plus-aosp * commit '563bfade6601f3410681b3cd8b069ed22af5b048': fix a build breakage
* Implement new MockContentProvider. Also make ContentProvider aware of the class.Daisuke Miyakawa2009-12-041-49/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the old MockContentProvider to MockIContentProvider since it is more appropriate name. Detail: Current developers inevitably depend on the backend used by ContentProvider, which is useful but not ideal nor "testable" from the view of them. Current MockContentResolver only accepts exact "ContentProvider" class, not IContentProvider interface, since we want to hide "IContentProvider" while the old MockContentProvider implements IContentProvider and as a result some methods we want to hide may be exposed to the public SDK now and probably for the future. On the other hand, ContentProvider is not interface but an exact class heavily depends on the internal logic and not suitable for external developers to use for tests. The new MockContentProvider introduces the mock implementation for ContentProvider. It extends ContentProvider, so "is" ContentProvider, but tries to avoid depending on any backend System like IPC in Android, etc. This should be useful from the view of application developers who do not want to be confused with ContentProvider/ContentResolver backend implementation "at all" and want to use MockContentResolver without any other ContentProvider implementations tightly connected to the external worlds.
* - hide Entity and all its referencesFred Quintana2009-10-061-8/+3
| | | | | | | - remove updateEntity and insertEntity, since they are not used - add the RawContacts.Entity class, which is used in lieu of the android.content.Entity
* - create a new generic ISyncAdapter implementation, SyncAdapterNewFred Quintana2009-06-011-1/+3
| | | | | | - change the applyBatch to take an ArrayList rather than an [] - change Entity to be a final flass that contains ContentValues - remove the ability to update/insert Entities by a ContentProviderOperation
* add ipc support to batchingFred Quintana2009-05-221-3/+10
|
* content provider entitiesFred Quintana2009-05-131-1/+15
|
* decouple SyncAdapter from ContentProviderFred Quintana2009-04-301-5/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+107
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-100/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-7/+0
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-0/+7
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+100