Index

A B C D F G H I J K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

ALL_SDKS - Static variable in annotation type org.robolectric.annotation.Config
 
AndroidRelease() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidRelease
 
AndroidReleased() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidReleased
 
AndroidUnreleased() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidUnreleased
 
AndroidVersionInitTools - Class in org.robolectric.versioning
Utility access method to allow robolectric to instantiate AndroidVersions without cluttering code completion for users of AndroidVersions's embedded Types of one per Android Releases.
AndroidVersions - Class in org.robolectric.versioning
Android versioning is complicated.
1) There is a yearly letter release with an increasing of one alpha step each year A-> B, B-> C, and so on.
AndroidVersions.AndroidRelease - Class in org.robolectric.versioning
Representation of an android release, one that has occurred, or is expected.
AndroidVersions.AndroidReleased - Class in org.robolectric.versioning
A released version of Android
AndroidVersions.AndroidUnreleased - Class in org.robolectric.versioning
An in-development version of Android
AndroidVersions.J - Class in org.robolectric.versioning
Version: 4.1
ShortCode: J
SDK API Level: 16
release: true
AndroidVersions.JMR1 - Class in org.robolectric.versioning
Version: 4.2
ShortCode: JMR1
SDK API Level: 17
release: true
AndroidVersions.JMR2 - Class in org.robolectric.versioning
Version: 4.3
ShortCode: JMR2
SDK API Level: 18
release: true
AndroidVersions.K - Class in org.robolectric.versioning
Version: 4.4
ShortCode: K
SDK API Level: 19
release: true
AndroidVersions.L - Class in org.robolectric.versioning
Version: 5.0
ShortCode: L
SDK API Level: 21
release: true
AndroidVersions.LMR1 - Class in org.robolectric.versioning
Version: 5.1
ShortCode: LMR1
SDK API Level: 22
release: true
AndroidVersions.M - Class in org.robolectric.versioning
Version: 6.0
ShortCode: M
SDK API Level: 23
release: true
AndroidVersions.N - Class in org.robolectric.versioning
Version: 7.0
ShortCode: N
SDK API Level: 24
release: true
AndroidVersions.NMR1 - Class in org.robolectric.versioning
Release: 7.1
ShortCode: NMR1
SDK Framework: 25
release: true
AndroidVersions.O - Class in org.robolectric.versioning
Release: 8.0
ShortCode: O
SDK API Level: 26
release: true
AndroidVersions.OMR1 - Class in org.robolectric.versioning
Release: 8.1
ShortCode: OMR1
SDK API Level: 27
release: true
AndroidVersions.P - Class in org.robolectric.versioning
Release: 9.0
ShortCode: P
SDK API Level: 28
release: true
AndroidVersions.Q - Class in org.robolectric.versioning
Release: 10.0
ShortCode: Q
SDK API Level: 29
release: true
AndroidVersions.R - Class in org.robolectric.versioning
Release: 11.0
ShortCode: R
SDK API Level: 30
release: true
AndroidVersions.S - Class in org.robolectric.versioning
Release: 12.0
ShortCode: S
SDK API Level: 31
release: true
AndroidVersions.Sv2 - Class in org.robolectric.versioning
Release: 12.1
ShortCode: Sv2
SDK API Level: 32
release: true
AndroidVersions.T - Class in org.robolectric.versioning
Release: 13.0
ShortCode: T
SDK API Level: 33
release: true
AndroidVersions.U - Class in org.robolectric.versioning
Potential Release: 14.0
ShortCode: U
SDK API Level: 34
release: false
AndroidVersions.Unbound - Class in org.robolectric.versioning
Version: -1
ShortCode: ""
SDK API Level: ""
release: false
AndroidVersions.V - Class in org.robolectric.versioning
Potential Release: 15.0
ShortCode: V
SDK API Level: 34+
release: false
annotationType() - Method in class org.robolectric.annotation.Config.Implementation
 
application - Variable in class org.robolectric.annotation.Config.Builder
 
application() - Element in annotation type org.robolectric.annotation.Config
The Application class to use in the test, this takes precedence over any application specified in the AndroidManifest.xml.
application() - Method in class org.robolectric.annotation.Config.Implementation
 
assetDir - Variable in class org.robolectric.annotation.Config.Builder
 
assetDir() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
assetDir() - Method in class org.robolectric.annotation.Config.Implementation
 

B

build() - Method in class org.robolectric.annotation.Config.Builder
 
Builder() - Constructor for class org.robolectric.annotation.Config.Builder
 
Builder(Config) - Constructor for class org.robolectric.annotation.Config.Builder
 

C

callNativeMethodsByDefault() - Element in annotation type org.robolectric.annotation.Implements
If set to true, Robolectric will invoke the native method variant instead of the no-op variant.
callThroughByDefault() - Element in annotation type org.robolectric.annotation.Implements
If true, Robolectric will invoke the actual Android code for any method that isn't shadowed.
className() - Element in annotation type org.robolectric.annotation.Implements
Android class name (if the Class object is not accessible).
ClassName - Annotation Type in org.robolectric.annotation
Parameters with types that can't be resolved at compile time may be annotated @ClassName.
compareTo(AndroidVersions.AndroidRelease) - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
Implements comparable.
computeCurrentSdkFromBuildProps(Properties) - Static method in class org.robolectric.versioning.AndroidVersionInitTools
 
computeReleaseVersion(JarFile) - Static method in class org.robolectric.versioning.AndroidVersionInitTools
 
Config - Annotation Type in org.robolectric.annotation
Configuration settings that can be used on a per-class or per-test basis.
Config.Builder - Class in org.robolectric.annotation
 
Config.Implementation - Class in org.robolectric.annotation
 
ConfigUtils - Class in org.robolectric.annotation.internal
 
ConscryptMode - Annotation Type in org.robolectric.annotation
Annotation for Conscrypt modes in Robolectric.
ConscryptMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported Conscrypt modes.
CURRENT - Static variable in class org.robolectric.versioning.AndroidVersions
The current release this process is running on.

D

DEFAULT_APPLICATION - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_ASSET_FOLDER - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_FONT_SCALE - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_MANIFEST_NAME - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_PACKAGE_NAME - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_QUALIFIERS - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_RES_FOLDER - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_SDK - Static variable in annotation type org.robolectric.annotation.Implementation
 
DEFAULT_VALUE_INT - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_VALUE_STRING - Static variable in annotation type org.robolectric.annotation.Config
 
defaults() - Static method in class org.robolectric.annotation.Config.Builder
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like -1 or --default.

F

fontScale - Variable in class org.robolectric.annotation.Config.Builder
 
fontScale() - Element in annotation type org.robolectric.annotation.Config
The default font scale.
fontScale() - Method in class org.robolectric.annotation.Config.Implementation
 
fromProperties(Properties) - Static method in class org.robolectric.annotation.Config.Implementation
 

G

GetInstallerPackageNameMode - Annotation Type in org.robolectric.annotation
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation for controlling how Robolectric executes PackageManager#getInstallerPackageName method.
GetInstallerPackageNameMode.Mode - Enum in org.robolectric.annotation
Specifies the different ShadowApplicationPackageManager#getInstallerPackageName modes.
getReleaseForSdkInt(Integer) - Static method in class org.robolectric.versioning.AndroidVersions
 
getReleases() - Static method in class org.robolectric.versioning.AndroidVersions
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
true if this release has already occurred, false otherwise.
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.J
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.JMR1
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.JMR2
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.K
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.L
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.LMR1
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.M
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.N
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.NMR1
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.O
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.OMR1
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.P
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.Q
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.R
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.S
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.Sv2
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.T
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.U
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.Unbound
 
getSdkInt() - Method in class org.robolectric.versioning.AndroidVersions.V
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
single character short code for the release, multiple characters for minor releases (only minor version numbers increment - usually within the same year).
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.J
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.JMR1
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.JMR2
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.K
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.L
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.LMR1
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.M
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.N
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.NMR1
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.O
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.OMR1
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.P
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.Q
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.R
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.S
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.Sv2
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.T
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.U
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.Unbound
 
getShortCode() - Method in class org.robolectric.versioning.AndroidVersions.V
 
getUnreleased() - Static method in class org.robolectric.versioning.AndroidVersions
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
major.minor version number as String.
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.J
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.JMR1
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.JMR2
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.K
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.L
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.LMR1
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.M
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.N
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.NMR1
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.O
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.OMR1
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.P
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.Q
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.R
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.S
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.Sv2
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.T
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.U
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.Unbound
 
getVersion() - Method in class org.robolectric.versioning.AndroidVersions.V
 
GraphicsMode - Annotation Type in org.robolectric.annotation
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation for controlling which graphics shadow implementation is used for the android.graphics package.
GraphicsMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported graphics modes.

H

HiddenApi - Annotation Type in org.robolectric.annotation
Indicates that the annotated method is hidden in the public Android API.

I

Implementation - Annotation Type in org.robolectric.annotation
Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.
Implementation(int[], int, int, String, String, float, String, String, String, Class<?>[], String[], Class<? extends Application>, String[]) - Constructor for class org.robolectric.annotation.Config.Implementation
 
Implements - Annotation Type in org.robolectric.annotation
Indicates that a class declaration is intended to shadow an Android class declaration.
Implements.DefaultShadowPicker - Interface in org.robolectric.annotation
An interface used as the default for the picker param.
InDevelopment - Annotation Type in org.robolectric.annotation
InDevelopment applies to @Implementation methods and @Implements classes that are affected by changes in unreleased versions of Android.
INSTRUMENTATION_TEST - Enum constant in enum org.robolectric.annotation.LooperMode.Mode
A mode that simulates an android instrumentation test threading model, which has a separate test thread distinct from the main looper thread.
instrumentedPackages - Variable in class org.robolectric.annotation.Config.Builder
 
instrumentedPackages() - Method in class org.robolectric.annotation.Config.Implementation
 
instrumentedPackages() - Element in annotation type org.robolectric.annotation.Config
A list of instrumented packages, in addition to those that are already instrumented.
isDefaultApplication(Class<? extends Application>) - Static method in class org.robolectric.annotation.Config.Builder
 
isInAndroidSdk() - Element in annotation type org.robolectric.annotation.Implements
Denotes that this type exists in the public Android SDK.
isReleased() - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
true if this release has already occurred, false otherwise.
isReleased() - Method in class org.robolectric.versioning.AndroidVersions.AndroidReleased
 
isReleased() - Method in class org.robolectric.versioning.AndroidVersions.AndroidUnreleased
 
issueId() - Element in annotation type org.robolectric.annotation.GetInstallerPackageNameMode
Optional string for storing the issue / bug id tracking the fixing of the affected tests and thus removal of this annotation.
issueId() - Element in annotation type org.robolectric.annotation.TextLayoutMode
Optional string for storing the issue / bug id tracking the fixing of the affected tests and thus removal of this annotation.

J

J() - Constructor for class org.robolectric.versioning.AndroidVersions.J
 
JMR1() - Constructor for class org.robolectric.versioning.AndroidVersions.JMR1
 
JMR2() - Constructor for class org.robolectric.versioning.AndroidVersions.JMR2
 

K

K() - Constructor for class org.robolectric.versioning.AndroidVersions.K
 

L

L() - Constructor for class org.robolectric.versioning.AndroidVersions.L
 
LazyApplication - Annotation Type in org.robolectric.annotation.experimental
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation that dictates whether or not Robolectric should lazily instantiate the Application under test.
LazyApplication.LazyLoad - Enum in org.robolectric.annotation.experimental
Whether or not the Application should be lazily loaded
LEGACY - Enum constant in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
Robolectric's prior behavior when calling getInstallerPackageName method.
LEGACY - Enum constant in enum org.robolectric.annotation.GraphicsMode.Mode
Use legacy graphics shadows that are no-ops and fakes.
LEGACY - Enum constant in enum org.robolectric.annotation.LooperMode.Mode
Deprecated.
use LooperMode.PAUSED
LEGACY - Enum constant in enum org.robolectric.annotation.SQLiteMode.Mode
Use the legacy SQLite implementation backed by sqlite4java.
LEGACY - Enum constant in enum org.robolectric.annotation.TextLayoutMode.Mode
Deprecated.
LEGACY mode is inaccurate, has known bugs and will be removed in a future release.
libraries - Variable in class org.robolectric.annotation.Config.Builder
 
libraries() - Method in class org.robolectric.annotation.Config.Implementation
 
libraries() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
LMR1() - Constructor for class org.robolectric.versioning.AndroidVersions.LMR1
 
LooperMode - Annotation Type in org.robolectric.annotation
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation for controlling Robolectric's Looper behavior.
LooperMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported Looper modes.
looseSignatures() - Element in annotation type org.robolectric.annotation.Implements
If true, when an exact method signature match isn't found, Robolectric will look for a method with the same name but with all argument types replaced with java.lang.Object.

M

M() - Constructor for class org.robolectric.versioning.AndroidVersions.M
 
manifest - Variable in class org.robolectric.annotation.Config.Builder
 
manifest() - Method in class org.robolectric.annotation.Config.Implementation
 
manifest() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure builds http://robolectric.org/getting-started/
maxSdk - Variable in class org.robolectric.annotation.Config.Builder
 
maxSdk() - Method in class org.robolectric.annotation.Config.Implementation
 
maxSdk() - Element in annotation type org.robolectric.annotation.Config
The maximum Android SDK level to emulate when running tests on multiple API versions.
maxSdk() - Element in annotation type org.robolectric.annotation.Implementation
The annotated shadow method will be invoked only for the specified SDK or lesser.
maxSdk() - Element in annotation type org.robolectric.annotation.Implements
If specified, the shadow class will be applied only for this SDK or lesser.
methodName() - Element in annotation type org.robolectric.annotation.Implementation
The implemented method name.
minSdk - Variable in class org.robolectric.annotation.Config.Builder
 
minSdk() - Method in class org.robolectric.annotation.Config.Implementation
 
minSdk() - Element in annotation type org.robolectric.annotation.Config
The minimum Android SDK level to emulate when running tests on multiple API versions.
minSdk() - Element in annotation type org.robolectric.annotation.Implementation
The annotated shadow method will be invoked only for the specified SDK or greater.
minSdk() - Element in annotation type org.robolectric.annotation.Implements
If specified, the shadow class will be applied only for this SDK or greater.

N

N() - Constructor for class org.robolectric.versioning.AndroidVersions.N
 
NATIVE - Enum constant in enum org.robolectric.annotation.GraphicsMode.Mode
Use graphics shadows libraries backed by native Android graphics code.
NATIVE - Enum constant in enum org.robolectric.annotation.SQLiteMode.Mode
Use the new SQLite implementation backed by native Android code from AOSP.
NEWEST_SDK - Static variable in annotation type org.robolectric.annotation.Config
 
NMR1() - Constructor for class org.robolectric.versioning.AndroidVersions.NMR1
 
NONE - Static variable in annotation type org.robolectric.annotation.Config
TODO(vnayar): Create named constants for default values instead of magic numbers.

O

O() - Constructor for class org.robolectric.versioning.AndroidVersions.O
 
OFF - Enum constant in enum org.robolectric.annotation.ConscryptMode.Mode
 
OFF - Enum constant in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
 
OLDEST_SDK - Static variable in annotation type org.robolectric.annotation.Config
 
OMR1() - Constructor for class org.robolectric.versioning.AndroidVersions.OMR1
 
ON - Enum constant in enum org.robolectric.annotation.ConscryptMode.Mode
 
ON - Enum constant in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
 
org.robolectric.annotation - package org.robolectric.annotation
Package containing Robolectric annotations.
org.robolectric.annotation.experimental - package org.robolectric.annotation.experimental
 
org.robolectric.annotation.internal - package org.robolectric.annotation.internal
 
org.robolectric.shadow.api - package org.robolectric.shadow.api
 
org.robolectric.versioning - package org.robolectric.versioning
 
overlay(Config) - Method in class org.robolectric.annotation.Config.Builder
 

P

P() - Constructor for class org.robolectric.versioning.AndroidVersions.P
 
packageName - Variable in class org.robolectric.annotation.Config.Builder
 
packageName() - Method in class org.robolectric.annotation.Config.Implementation
 
packageName() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
To change your package name please override the applicationId in your build system. Changing package name here is broken as the package name will no longer match the package name encoded in the arsc resources file. If you are looking to simulate another application you can create another applications Context using Context.createPackageContext(String, int). Note that you must add this package to
invalid reference
org.robolectric.shadows.ShadowPackageManager#addPackage(android.content.pm.PackageInfo)
first.
parseSdkArrayProperty(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
 
parseSdkInt(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
 
parseStringArrayProperty(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
 
PAUSED - Enum constant in enum org.robolectric.annotation.LooperMode.Mode
A mode that more accurately models real Android's Looper behavior.
pickShadowClass() - Method in interface org.robolectric.shadow.api.ShadowPicker
Determines the shadow class to be used depending on the configuration of the
invalid reference
org.robolectric.internal.Environment
.

Q

Q() - Constructor for class org.robolectric.versioning.AndroidVersions.Q
 
qualifiers - Variable in class org.robolectric.annotation.Config.Builder
 
qualifiers() - Method in class org.robolectric.annotation.Config.Implementation
 
qualifiers() - Element in annotation type org.robolectric.annotation.Config
Qualifiers specifying device configuration for this test, such as "fr-normal-port-hdpi".

R

R() - Constructor for class org.robolectric.versioning.AndroidVersions.R
 
REALISTIC - Enum constant in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
The new, real behavior when calling getInstallerPackageName method.
REALISTIC - Enum constant in enum org.robolectric.annotation.TextLayoutMode.Mode
Deprecated.
REALTISTIC is the default mode and does not need to be stated explicity.
RealObject - Annotation Type in org.robolectric.annotation
Shadow fields annotated @RealObject will have the real instance injected.
ReflectorObject - Annotation Type in org.robolectric.annotation
Serves to cache the reflector object instance and lower test runtime.
Resetter - Annotation Type in org.robolectric.annotation
Indicates that the annotated method is used to reset static state in a shadow.
resourceDir - Variable in class org.robolectric.annotation.Config.Builder
 
resourceDir() - Method in class org.robolectric.annotation.Config.Implementation
 
resourceDir() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure

S

S() - Constructor for class org.robolectric.versioning.AndroidVersions.S
 
sdk - Variable in class org.robolectric.annotation.Config.Builder
 
sdk() - Method in class org.robolectric.annotation.Config.Implementation
 
sdk() - Element in annotation type org.robolectric.annotation.Config
The Android SDK level to emulate.
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.J
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.JMR1
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.JMR2
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.K
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.L
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.LMR1
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.M
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.N
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.NMR1
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.O
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.OMR1
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.P
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.Q
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.R
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.S
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.Sv2
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.T
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.U
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.Unbound
 
SDK_INT - Static variable in class org.robolectric.versioning.AndroidVersions.V
 
setApplication(Class<? extends Application>) - Method in class org.robolectric.annotation.Config.Builder
 
setAssetDir(String) - Method in class org.robolectric.annotation.Config.Builder
 
setFontScale(float) - Method in class org.robolectric.annotation.Config.Builder
 
setInstrumentedPackages(String...) - Method in class org.robolectric.annotation.Config.Builder
 
setLibraries(String...) - Method in class org.robolectric.annotation.Config.Builder
 
setManifest(String) - Method in class org.robolectric.annotation.Config.Builder
 
setMaxSdk(int) - Method in class org.robolectric.annotation.Config.Builder
 
setMinSdk(int) - Method in class org.robolectric.annotation.Config.Builder
 
setPackageName(String) - Method in class org.robolectric.annotation.Config.Builder
 
setQualifiers(String) - Method in class org.robolectric.annotation.Config.Builder
 
setResourceDir(String) - Method in class org.robolectric.annotation.Config.Builder
 
setSdk(int...) - Method in class org.robolectric.annotation.Config.Builder
 
setShadows(Class<?>...) - Method in class org.robolectric.annotation.Config.Builder
 
shadowPicker() - Element in annotation type org.robolectric.annotation.Implements
If specified, the picker will be instantiated and called from within the newly-created Robolectric classloader.
ShadowPicker<T> - Interface in org.robolectric.shadow.api
 
shadows - Variable in class org.robolectric.annotation.Config.Builder
 
shadows() - Method in class org.robolectric.annotation.Config.Implementation
 
shadows() - Element in annotation type org.robolectric.annotation.Config
A list of shadow classes to enable, in addition to those that are already present.
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.J
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.JMR1
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.JMR2
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.K
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.L
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.LMR1
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.M
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.N
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.NMR1
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.O
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.OMR1
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.P
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.Q
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.R
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.S
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.Sv2
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.T
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.U
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.Unbound
 
SHORT_CODE - Static variable in class org.robolectric.versioning.AndroidVersions.V
 
SQLiteMode - Annotation Type in org.robolectric.annotation
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation for controlling which SQLite shadow implementation is used for the android.database package.
SQLiteMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported SQLite modes.
Sv2() - Constructor for class org.robolectric.versioning.AndroidVersions.Sv2
 

T

T() - Constructor for class org.robolectric.versioning.AndroidVersions.T
 
TARGET_SDK - Static variable in annotation type org.robolectric.annotation.Config
 
TextLayoutMode - Annotation Type in org.robolectric.annotation
A
invalid reference
org.robolectric.pluginapi.config.Configurer
annotation for controlling how Robolectric performs UI layout.
TextLayoutMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported Text layout modes.
toString() - Method in class org.robolectric.annotation.Config.Implementation
 
toString() - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
 

U

U() - Constructor for class org.robolectric.versioning.AndroidVersions.U
 
Unbound() - Constructor for class org.robolectric.versioning.AndroidVersions.Unbound
 

V

V() - Constructor for class org.robolectric.versioning.AndroidVersions.V
 
value() - Element in annotation type org.robolectric.annotation.ClassName
The class name intended for this parameter.
value() - Element in annotation type org.robolectric.annotation.ConscryptMode
 
value() - Element in annotation type org.robolectric.annotation.experimental.LazyApplication
Whether or not the Application should be lazily loaded
value() - Element in annotation type org.robolectric.annotation.GetInstallerPackageNameMode
 
value() - Element in annotation type org.robolectric.annotation.GraphicsMode
 
value() - Element in annotation type org.robolectric.annotation.Implements
The Android class to be shadowed.
value() - Element in annotation type org.robolectric.annotation.LooperMode
Set the Looper mode.
value() - Element in annotation type org.robolectric.annotation.SQLiteMode
 
value() - Element in annotation type org.robolectric.annotation.TextLayoutMode
 
valueOf(String) - Static method in enum org.robolectric.annotation.ConscryptMode.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.GraphicsMode.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.LooperMode.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.SQLiteMode.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.robolectric.annotation.TextLayoutMode.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.robolectric.annotation.ConscryptMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.GraphicsMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.LooperMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.SQLiteMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.robolectric.annotation.TextLayoutMode.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.J
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.JMR1
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.JMR2
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.K
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.L
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.LMR1
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.M
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.N
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.NMR1
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.O
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.OMR1
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.P
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.Q
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.R
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.S
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.Sv2
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.T
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.U
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.Unbound
 
VERSION - Static variable in class org.robolectric.versioning.AndroidVersions.V
 
A B C D F G H I J K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values