Interface SdkProvider

All Known Implementing Classes:
DefaultSdkProvider

@ExtensionPoint public interface SdkProvider
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 Type
    Method
    Description
    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.