diff options
author | Victor Chang <vichang@google.com> | 2020-07-03 16:05:03 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2020-07-10 11:44:41 +0100 |
commit | ee2afcba53dd6c8800f5ad6d1f17a760971173a0 (patch) | |
tree | 5fea3f75a30a676417bf682aade3fc4e029ba883 /robolectric | |
parent | b84738fc776d8934770b7d5e54aaa66171af269f (diff) | |
download | robolectric-shadows-ee2afcba53dd6c8800f5ad6d1f17a760971173a0.tar.gz |
Correct the version in ShadowTimeZoneFinderS
Bug: 141747409
Test: m checkbuild
Change-Id: I8b638dc29b11112d92ffb33f10d0a82bcf6b35fc
Diffstat (limited to 'robolectric')
-rw-r--r-- | robolectric/src/test/java/org/robolectric/shadows/ShadowTimeZoneFinderSTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robolectric/src/test/java/org/robolectric/shadows/ShadowTimeZoneFinderSTest.java b/robolectric/src/test/java/org/robolectric/shadows/ShadowTimeZoneFinderSTest.java index 782a15698..d4a06c3f0 100644 --- a/robolectric/src/test/java/org/robolectric/shadows/ShadowTimeZoneFinderSTest.java +++ b/robolectric/src/test/java/org/robolectric/shadows/ShadowTimeZoneFinderSTest.java @@ -19,7 +19,7 @@ package org.robolectric.shadows; import static com.google.common.truth.Truth.assertThat; -import static android.os.Build.VERSION_CODES.R; +import static android.os.Build.VERSION_CODES.S; import static com.google.common.truth.Truth.assertThat; import android.icu.util.TimeZone; @@ -37,7 +37,7 @@ import org.robolectric.util.ReflectionHelpers.ClassParameter; public class ShadowTimeZoneFinderSTest { @Test - @Config(minSdk = R, maxSdk = R) // both should be S, but it doesn't exist in AOSP + @Config(minSdk = S) public void lookupTimeZonesByCountry_shouldReturnExpectedTimeZones() throws Exception { Class<?> cls = Class.forName("com.android.i18n.timezone.TimeZoneFinder"); Object timeZoneFinder = ReflectionHelpers.callStaticMethod(cls, "getInstance"); |