Modifier | Constructor and Description |
---|---|
|
DefaultSdkPicker(SdkCollection sdkCollection,
Properties systemProperties) |
protected |
DefaultSdkPicker(SdkCollection sdkCollection,
String enabledSdks) |
Modifier and Type | Method and 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)
Enumerate the SDKs to be used for this test.
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)