Update Robolectric to 3.4.2
Bug: 66693279 Test: m RunSettingsRoboTests m RunSettingsRoboTests-jacoco Change-Id: I9df619c3d68f0af2ee2ae944a15998275129f7c2
This commit is contained in:
@@ -49,7 +49,7 @@ public class UserDictionaryCursorLoaderTest {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mContentProvider = new FakeProvider();
|
||||
mLoader = new UserDictionaryCursorLoader(RuntimeEnvironment.application, "" /* locale */);
|
||||
ShadowContentResolver.registerProvider(UserDictionary.AUTHORITY, mContentProvider);
|
||||
ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@@ -47,7 +47,7 @@ public class UserDictionaryListTest {
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mContentProvider = new FakeProvider();
|
||||
ShadowContentResolver.registerProvider(UserDictionary.AUTHORITY, mContentProvider);
|
||||
ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user