Class PackagePropertiesLoader

java.lang.Object
org.robolectric.plugins.PackagePropertiesLoader

public class PackagePropertiesLoader extends Object
Provides cached access to robolectric-properties files, for all your configuration needs!

Used by ConfigConfigurer to support package configuration (see [Configuring Robolectric](http://robolectric.org/configuring/) but it may be useful for other Configurers as well.

  • Constructor Details

    • PackagePropertiesLoader

      public PackagePropertiesLoader()
  • Method Details

    • getConfigProperties

      public Properties getConfigProperties(@Nonnull String packageName)
      Return a Properties file for the given package name, or null if none is available.
      Since:
      3.2