| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This time change the frameworks makefile so it only includes test-runner/src
in the public API.
|
|
|
|
| |
This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
|
|
|
|
|
| |
Move the test-runner source into a separate src folder to accommodate the test
move.
|
|
|
|
|
|
|
| |
Merge commit '029074ff0fca198676997c7453cfffa932361081' into eclair-mr2-plus-aosp
* commit '029074ff0fca198676997c7453cfffa932361081':
fix build
|
|
|
|
|
|
|
| |
Merge commit '563bfade6601f3410681b3cd8b069ed22af5b048' into eclair-mr2-plus-aosp
* commit '563bfade6601f3410681b3cd8b069ed22af5b048':
fix a build breakage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- remove updateEntity and insertEntity, since they are not
used
- add the RawContacts.Entity class, which is used in lieu of the
android.content.Entity
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|