Class 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 Detail

      • PackagePropertiesLoader

        public PackagePropertiesLoader()
    • Method Detail

      • 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