Use external/robolectric-shadows/run_robotests.mk
This allows Settings to test against the latest framework changes. Also replaced TestConfig with traditional robolectric.properties. Bug: 73173204 Bug: 73892008 Test: make -j56 RunSettingsRoboTests Change-Id: I3135b4fa5f095ba79b282a76f45dd9baa2584bc7
This commit is contained in:
@@ -37,15 +37,12 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(
|
||||
manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
shadows = {
|
||||
ShadowLibcoreTimeZoneNames.class,
|
||||
ShadowLibcoreTimeZoneNames.ShadowZoneStringsCache.class,
|
||||
ShadowTimeZoneNames.class,
|
||||
ShadowZoneGetterData.class,
|
||||
}
|
||||
@Config(shadows = {
|
||||
ShadowLibcoreTimeZoneNames.class,
|
||||
ShadowLibcoreTimeZoneNames.ShadowZoneStringsCache.class,
|
||||
ShadowTimeZoneNames.class,
|
||||
ShadowZoneGetterData.class,
|
||||
}
|
||||
)
|
||||
public class ZonePickerTest {
|
||||
|
||||
|
Reference in New Issue
Block a user