Searched refs:sdkPicker (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | SdkPickerTest.java | 21 private SdkPicker sdkPicker; field in SdkPickerTest 26 sdkPicker = new SdkPicker(SdkPicker.map(sdkInts), null); in setUp() 32 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() [all …]
|
D | RobolectricTestRunnerMultiApiTest.java | 43 private SdkPicker sdkPicker; field in RobolectricTestRunnerMultiApiTest 54 sdkPicker = new SdkPicker(SdkPicker.map(APIS_FOR_TEST), null); in setUp() 97 sdkPicker = new SdkPicker(SdkPicker.map(16, 17), null); in withEnabledSdks_createChildrenForEachSupportedSdk() 228 return sdkPicker; in runnerOf()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | RobolectricTestRunner.java | 72 private final SdkPicker sdkPicker; field in RobolectricTestRunner 94 this.sdkPicker = createSdkPicker(); in RobolectricTestRunner() 289 List<SdkConfig> sdksToRun = sdkPicker.selectSdks(config, appManifest); in getChildren()
|