Package org.robolectric.internal
Interface ManifestFactory
- All Known Implementing Classes:
BuckManifestFactory
,DefaultManifestFactory
,MavenManifestFactory
public interface ManifestFactory
A factory that detects what build system is in use and provides a ManifestFactory that can create
an AndroidManifest for that environment.
Maven, Gradle, and Buck build systems are currently supported.
-
Method Summary
Modifier and Type Method Description ManifestIdentifier
identify(Config config)
Creates aManifestIdentifier
which represents an Android app, service, or library under test, indicating its manifest file, resources and assets directories, and optionally dependency libraries and an overridden package name.
-
Method Details
-
identify
Creates aManifestIdentifier
which represents an Android app, service, or library under test, indicating its manifest file, resources and assets directories, and optionally dependency libraries and an overridden package name.- Parameters:
config
- The merged configuration for the running test.
-