Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java32 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()
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()
69 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(24).build(), usesSdk)) in withMinSdkHigherThanSupportedRange_shouldReturnNone()
80 sdkPicker.selectSdks( in withMinSdkHigherThanMaxSdk_shouldThrowError()
94 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkLessThanMinSdk_shouldThrowError()
106 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkGreaterThanMaxSdk_shouldThrowError()
118 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in shouldClipSdkRangeFromAndroidManifest()
127 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(21).build(), usesSdk)) in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest()
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DSdkPicker.java42 public List<SdkConfig> selectSdks(Config config, UsesSdk usesSdk) { in selectSdks() method in SdkPicker
DRobolectricTestRunner.java289 List<SdkConfig> sdksToRun = sdkPicker.selectSdks(config, appManifest); in getChildren()