Searched refs:setSdk (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | SdkPickerTest.java | 41 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest() 50 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 60 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 146 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(21).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 148 … assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.OLDEST_SDK).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 150 … assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.TARGET_SDK).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 152 … assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.NEWEST_SDK).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 155 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(16).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 157 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(23).build(), usesSdk)) in withExplicitSdkConfig_selectSdks() 166 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withEnabledSdks_shouldRestrictAsSpecified()
|
D | ConfigTest.java | 28 Config.Implementation base = new Config.Builder().setSdk(16, 17, 18).build(); in withOverlay_withBaseSdk() 33 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseSdk() 53 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseMinSdk() 73 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseMaxSdk() 93 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseMinAndMaxSdk() 156 .setSdk(16, 17, 18).setMinSdk(16).setMaxSdk(18) in testIllegalArguments_sdkMutualExclusion()
|
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/ |
D | Config.java | 398 public Builder setSdk(int... sdk) { in setSdk() method in Config.Builder
|