Package org.robolectric.pluginapi
Interface SdkProvider
- All Known Implementing Classes:
DefaultSdkProvider
A provider of known instances of
Sdk
. Implement this interface if you need to provide
SDKs in a special way for your environment.
This is an extension point for Robolectric; see org.robolectric.pluginapi
for details.
-
Method Summary
Modifier and TypeMethodDescriptiongetSdks()
Returns the set of SDKs available to run tests against.
-
Method Details
-
getSdks
Collection<Sdk> getSdks()Returns the set of SDKs available to run tests against.It's okay for the implementation to block briefly while building the list; the results will be cached.
-