Package org.robolectric.annotation
Class Config.Builder
java.lang.Object
org.robolectric.annotation.Config.Builder
- Enclosing class:
- Config
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Config.Builder
defaults()
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like-1
or--default
.static boolean
isDefaultApplication
(Class<? extends Application> clazz) setApplication
(Class<? extends Application> application) setAssetDir
(String assetDir) setFontScale
(float fontScale) setInstrumentedPackages
(String... instrumentedPackages) setLibraries
(String... libraries) setManifest
(String manifest) setMaxSdk
(int maxSdk) setMinSdk
(int minSdk) setPackageName
(String packageName) setQualifiers
(String qualifiers) setResourceDir
(String resourceDir) setSdk
(int... sdk) setShadows
(Class<?>... shadows)
-
Field Details
-
sdk
protected int[] sdk -
minSdk
protected int minSdk -
maxSdk
protected int maxSdk -
fontScale
protected float fontScale -
manifest
-
qualifiers
-
packageName
-
resourceDir
-
assetDir
-
shadows
-
instrumentedPackages
-
application
-
libraries
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
setSdk
-
setMinSdk
-
setMaxSdk
-
setManifest
-
setQualifiers
-
setPackageName
-
setResourceDir
-
setFontScale
-
setAssetDir
-
setShadows
-
setInstrumentedPackages
-
setApplication
-
setLibraries
-
defaults
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like-1
or--default
. -
overlay
-
build
-
isDefaultApplication
-