Package and Description |
---|
org.robolectric.shadows.httpclient |
Interface and Description |
---|
org.robolectric.Robolectric.AttributeSetBuilder
Use
AttributeSetBuilder instead. |
Class and Description |
---|
org.robolectric.util.FragmentTestUtil
Please use
Robolectric.buildFragment(Class) instead. This will be removed in a forthcoming release, |
org.robolectric.internal.MavenManifestFactory
This method of configuration will be removed in a forthcoming release. Build systems should follow http://robolectric.org/build-system-integration/ to provide integration with Robolectric.
|
org.robolectric.shadows.RoboLayoutInflater
Use
LayoutInflater.from(Context) or Context.getSystemService(String) with Context.LAYOUT_INFLATER_SERVICE instead. |
org.robolectric.shadows.ShadowHandler
There is no special shadow implementation for the
Handler class. The special handling is all done by ShadowLooper and ShadowMessageQueue . This class has been retained for backward compatibility with the various static method implementations. |
org.robolectric.util.SimpleFuture |
org.robolectric.shadows.support.v4.SupportFragmentTestUtil
Please use
SupportFragmentController instead. |
Field and Description |
---|
org.robolectric.res.android.AConfiguration.ACONFIGURATION_ORIENTATION_SQUARE
Not currently supported or used.
|
org.robolectric.res.android.AConfiguration.ACONFIGURATION_TOUCHSCREEN_STYLUS
Not currently supported or used.
|
org.robolectric.RuntimeEnvironment.application
Please migrate to
androidx.test.core.app.ApplicationProvider#getApplicationContext |
Constructor and Description |
---|
org.robolectric.internal.ManifestIdentifier(FsFile, FsFile, FsFile, String, List<FsFile>) |
Annotation Type Element and Description |
---|
org.robolectric.annotation.Config.assetDir
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
|
org.robolectric.annotation.Config.libraries
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
|
org.robolectric.annotation.Config.manifest
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/
|
org.robolectric.annotation.Config.packageName
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 ShadowPackageManager.addPackage(PackageInfo) first. |
org.robolectric.annotation.Config.resourceDir
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
|