Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTest.java39 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).build()))) in withOverlay_withBaseSdk()
42 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseSdk()
59 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).build()))) in withOverlay_withBaseMinSdk()
62 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseMinSdk()
68 Config.Implementation base = new Config.Builder().setMaxSdk(18).build(); in withOverlay_withBaseMaxSdk()
79 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).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()
99 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).build()))) in withOverlay_withBaseMinAndMaxSdk()
102 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseMinAndMaxSdk()
[all …]
DSdkPickerTest.java81 new Config.Builder().setMinSdk(22).setMaxSdk(21).build(), usesSdk); in withMinSdkHigherThanMaxSdk_shouldThrowError()
136 assertThat(sdkPicker.selectSdks(new Config.Builder().setMaxSdk(21).build(), usesSdk)) in withMaxSdkConfig_shouldUseSdkRangeFromAndroidManifest()
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java408 public Builder setMaxSdk(int maxSdk) { in setMaxSdk() method in Config.Builder