Home
last modified time | relevance | path

Searched refs:getTargetSdkVersion (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java31 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()
38 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
47 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
57 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
66 when(usesSdk.getTargetSdkVersion()).thenReturn(23); in withMinSdkHigherThanSupportedRange_shouldReturnNone()
75 when(usesSdk.getTargetSdkVersion()).thenReturn(23); in withMinSdkHigherThanMaxSdk_shouldThrowError()
91 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withTargetSdkLessThanMinSdk_shouldThrowError()
104 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withTargetSdkGreaterThanMaxSdk_shouldThrowError()
115 when(usesSdk.getTargetSdkVersion()).thenReturn(1); in shouldClipSdkRangeFromAndroidManifest()
124 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest()
[all …]
DTestRunnerSequenceTest.java79 public int getTargetSdkVersion() { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/
DUsesSdk.java24 int getTargetSdkVersion(); in getTargetSdkVersion() method
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java212 .getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()
214 assertThat(newConfigWith("minsdk7.xml", "android:minSdkVersion=\"7\"").getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()
216 assertThat(newConfigWith("noattributes.xml", "").getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()
237 .getTargetSdkVersion()) in shouldReadTargetSDKVersionOPreview()
375 assertThat(appManifest.getTargetSdkVersion()).isEqualTo(16); in shouldReadTaskAffinity()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DSdkPicker.java65 int appTargetSdk = Math.max(usesSdk.getTargetSdkVersion(), minSupportedSdk.getApiLevel()); in configuredSdks()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java133 parsedPackage.applicationInfo.targetSdkVersion = appManifest.getTargetSdkVersion(); in setUpApplicationState()
304 info.targetSdkVersion = appManifest.getTargetSdkVersion(); in createApplicationInfo()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java600 public int getTargetSdkVersion() { in getTargetSdkVersion() method in AndroidManifest
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java136 pkg.applicationInfo.targetSdkVersion = androidManifest.getTargetSdkVersion(); in createPackage()