Finalize the new interface, fix bugs and add unit tests.

This commit is contained in:
bartn
2010-12-20 14:50:27 -08:00
parent 70bc7e53fe
commit 52fa2aace9
2 changed files with 99 additions and 49 deletions
@@ -77,9 +77,11 @@ public class TrackRecordingServiceTest
}
/**
* A context wrapper with the user provided {@link ContentResolver}.
* A context wrapper with the user provided {@link ContentResolver}.
*
* TODO: Move to test utils package.
*/
private static class MockContext extends ContextWrapper {
public static class MockContext extends ContextWrapper {
private final ContentResolver contentResolver;
public MockContext(ContentResolver contentResolver, Context base) {