Home
last modified time | relevance | path

Searched refs:setMinSdk (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTest.java36 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseSdk()
42 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseSdk()
48 Config.Implementation base = new Config.Builder().setMinSdk(18).build(); in withOverlay_withBaseMinSdk()
56 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseMinSdk()
62 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseMinSdk()
76 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseMaxSdk()
82 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseMaxSdk()
88 Config.Implementation base = new Config.Builder().setMinSdk(17).setMaxSdk(18).build(); in withOverlay_withBaseMinAndMaxSdk()
96 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseMinAndMaxSdk()
102 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseMinAndMaxSdk()
[all …]
DSdkPickerTest.java69 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(24).build(), usesSdk)) in withMinSdkHigherThanSupportedRange_shouldReturnNone()
81 new Config.Builder().setMinSdk(22).setMaxSdk(21).build(), usesSdk); in withMinSdkHigherThanMaxSdk_shouldThrowError()
127 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(21).build(), usesSdk)) in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest()
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java403 public Builder setMinSdk(int minSdk) { in setMinSdk() method in Config.Builder