AttributeSet
s.AttributeSet
with the antecedent attributes.AttributeSet
with the antecedent attributes.AttributeSet
.GlobalConfigProvider
instead. See Migration Notes for details. This method will be removed in Robolectric 4.3.Cleaner
, used by AndroidInterceptors.CleanerInterceptor
when running on Java 9+.@
Config
annotation.javax.inject.Provider
instead. See Migration Notes for details. This class will be removed in Robolectric 4.3.ClassHandler
appropriate for the given arguments.InstrumentationConfiguration
suitable for the provided FrameworkMethod
.SdkPicker
.SdkProvider
.Robolectric.buildFragment(Class)
instead. This will be removed in a forthcoming release,Config
for the given test.javax.inject.Provider
instead. See Migration Notes for details. This method will be removed in Robolectric 4.3.Properties
file for the given package name, or null
if none is available.Properties
file for the given package name, or null
if none is available.ConfigurationStrategy
.ManifestIdentifier
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.#expectErrorsForTag()
but do not log errors for the given tag will not fail.DefaultSdkProvider
to locate SDK jars.ActivityInvoker
that drives Activity
lifecycles manually.PermissionGranter
that runs on a local JVM with Robolectric.UiController
that runs on a local JVM with Robolectric.LooperMode.Mode#PAUSED
.@
LooperMode
annotation.robolectric-properties
files, for all your configuration needs!Parameters
Parameterized
AttributeSetBuilder
instead.SandboxClassLoader
in order to provide a simulation of the Android runtime environment.testClass
.DefaultSdkPicker
instead.androidx.test.core.app.ActivityScenario
@
TextLayoutMode
annotation.source
.