Modifier | Constructor | Description |
---|---|---|
protected |
DefaultSdkPicker(SdkCollection sdkCollection,
String enabledSdks) |
|
|
DefaultSdkPicker(SdkCollection sdkCollection,
Properties systemProperties) |
Modifier and Type | Method | Description |
---|---|---|
protected Set<Sdk> |
configuredSdks(Config config,
UsesSdk usesSdk) |
|
protected int |
decodeSdk(int value,
int defaultSdk,
int appMinSdk,
int appTargetSdk,
int appMaxSdk) |
|
protected static Set<Sdk> |
enumerateEnabledSdks(SdkCollection sdkCollection,
String enabledSdksString) |
|
protected Set<Sdk> |
sdkRange(int minSdk,
int maxSdk) |
|
List<Sdk> |
selectSdks(ConfigurationStrategy.Configuration configuration,
UsesSdk usesSdk) |
Enumerate the SDKs to be used for this test.
|
@Inject public DefaultSdkPicker(@Nonnull SdkCollection sdkCollection, Properties systemProperties)
protected DefaultSdkPicker(@Nonnull SdkCollection sdkCollection, String enabledSdks)
@Nonnull public List<Sdk> selectSdks(ConfigurationStrategy.Configuration configuration, UsesSdk usesSdk)
selectSdks
in interface SdkPicker
configuration
- a collection of configuration objects, including Config
usesSdk
- the UsesSdk
for the testSdk
s.@Nullable protected static Set<Sdk> enumerateEnabledSdks(SdkCollection sdkCollection, String enabledSdksString)
protected int decodeSdk(int value, int defaultSdk, int appMinSdk, int appTargetSdk, int appMaxSdk)