Upgrading org.robolectric:robolectric 3 to 4
Breaking3.8 → 4.17Breaking232Security3Platform27Deprecated33New1092Changed1305Fixed372Other715
BreakingUpgrade verdict
232 breaking changes and 27 platform requirement changes and 3 security fixes.
In plain terms
- Code that used the AndroidVersions helper must now use the standard Android Build constants instead.
- A shadow method that is no longer needed has been deleted, so code calling it will no longer compile.
- Deprecated methods on the sensor manager shadow are gone, so tests using them must switch to the replacements.
- Two helper methods for reading and copying streams are removed.
Must act Top 5 of 295 that need code or config changes
org.robolectric:robolectric publishes official migration guides for versions 4, 4. They cover more than the release notes do.
Migration notes ↗Automated migration tool ↗Drops com.thoughtworks.xstream:xstream, org.apache.ant:ant, org.apache.maven:maven-ant-tasks, org.bouncycastle:bcprov-jdk15on, org.robolectric:annotations, org.robolectric:junit, org.robolectric:resources, org.robolectric:sandbox, org.robolectric:shadows-framework, org.robolectric:utils.
Installs 0 packages in all (was 44).
What you must change
Breaking232
Removes AndroidVersions in favor of android.os.Build constants.
AndroidVersionsandroid.os.BuildRemoves the obsolete computeUseConcurrent shadow method.
computeUseConcurrentRemoves deprecated methods of ShadowSensorManager.
ShadowSensorManagerRemoves Util.readBytes(InputStream) and Util.copy(InputStream, OutputStream).
Util.readBytes(InputStream)Util.copy(InputStream, OutputStream)Removes the unnecessary ShadowBuild.setUserdebug.
ShadowBuild.setUserdebugRemoves ShadowWindowManagerGlobal.startPredictiveBackGesture APIs.
ShadowWindowManagerGlobal.startPredictiveBackGestureRemoves the callThroughByDefault parameter from the @Implements annotation.
@ImplementscallThroughByDefaultRemoves OnDeviceIntelligence* shadows.
OnDeviceIntelligence*Removes the deprecated AndroidVersions class.
AndroidVersionsRestore removed methods from Config.
ConfigRemove testDebugUnitTest from the dependencies of the simulator task.
testDebugUnitTestsimulatorRemove redundant String concatenation.
Remove hyphens from 'security-providers' project.
Remove temporary system property robolectric.supportElevationPreS.
robolectric.supportElevationPreSRemove deprecated methods in :shadows:httpclient.
:shadows:httpclientRemove deckard references from the readme.
deckardRemove the shadows-playservices module.
shadows-playservicesRemove SDK 21 and 22 from the supported SDK list.
Remove deprecated methods in Config.
ConfigRemove obsolete reference to per-sdk shadows.
Remove additional unused logic for legacy resources.
Remove looseSignatures usage from ShadowArscApkAssets9.
Remove looseSignatures usage from ShadowAudioManager.
Remove looseSignatures usage from ShadowAppOpsManager.
Remove looseSignatures usage from ShadowActivityManager.
Remove looseSignatures usage from ShadowActivityThread.
Remove looseSignatures usage from ShadowAudioTrack.
Remove looseSignatures usage from ShadowBackupDataInput.
Remove looseSignatures usage from ShadowBitmap.
Remove looseSignatures usage from ShadowBluetoothDevice.
Remove looseSignatures usage from ShadowContentProvider.
Remove looseSignatures usage from ShadowContextHubManager.
Remove looseSignatures usage from ShadowBluetoothAdapter.
Remove looseSignatures usage from ShadowApplicationPackageManager.
Remove looseSignatures usage from ShadowDevicePolicyManager.
Remove looseSignatures usage from ShadowDisplayEventReceiver.
Remove looseSignatures usage from ShadowDisplayManager.
Remove looseSignatures usage from ShadowDisplayManagerGlobal.
Remove looseSignatures usage from ShadowInputManager.
Remove looseSignatures usage from ShadowInputMethodManager.
Remove ShadowCrossProfileApps constructor.
Remove looseSignatures usage from ShadowImageReader.
Remove looseSignatures usage from ShadowHardwareRenderer.
Remove looseSignatures usage from ShadowNativeBitmap.
Remove looseSignatures usage from ShadowMediaCodec.
Remove looseSignatures usage from ShadowLegacyTypeface.
Remove looseSignatures usage from ShadowNativeImageReader.
Remove looseSignatures usage from ShadowNativeHardwareRenderer.
Remove deprecated FragmentTestUtil.
Remove looseSignatures usage from ShadowNativeStaticLayout.
Remove looseSignatures usage from ShadowNativeRenderNodeOP.
Remove looseSignatures usage from ShadowNativeRenderNodeAnimatorQ.
Remove looseSignatures usage from ShadowNativePaint.
Remove looseSignatures usage from ShadowNativeImageReaderSurfaceImage.
Remove looseSignatures usage from ShadowLocationManager.
Remove unused legacy resource logic for AndroidTestEnvironment.
Remove looseSignatures usage from ShadowNfcAdapter.
Remove looseSignatures usage from ShadowNetworkCapabilities.
Remove looseSignatures usage from ShadowNotificationManager.
Remove looseSignatures usage from ShadowNativeTypeface.
Remove the gradle_wrapper_validation.yml workflow.
gradle_wrapper_validation.ymlRemove looseSignatures usage from ShadowPausedMessageQueue.
Remove looseSignatures usage from ShadowParcel.
Remove looseSignatures usage from ShadowPaint.
Remove looseSignatures usage from ShadowPhoneWindow.
Remove looseSignatures usage from ShadowPhoneWindowFor22.
Remove looseSignatures usage from ShadowPosix.
Remove looseSignatures usage from ShadowPixelCopy.
Remove looseSignatures usage from ShadowSystemVibrator.
Remove looseSignatures usage from ShadowSystemServiceRegistry.
Remove looseSignatures usage from ShadowSensorManager.
Remove looseSignatures usage from ShadowRotationWatcherFor22.
Remove looseSignatures usage from ShadowWindowManagerGlobal.
Remove looseSignatures usage from ShadowTimeZoneFinderS.
Remove looseSignatures usage from ShadowTimeZoneFinderQ.
Remove looseSignatures usage from ShadowThreadedRenderer.
Remove looseSignatures usage from ShadowSystemClock.
Remove looseSignatures usage from ShadowSurface.
Remove looseSignatures usage from ShadowSpeechRecognizer.
Remove looseSignatures usage from ShadowPowerManager.
Remove looseSignatures usage from ShadowUsbManager.
Remove looseSignatures usage from ShadowUsageStatsManager.
Remove looseSignatures usage from ShadowTimeZoneFinder.
Remove looseSignatures usage from ShadowTelephonyManager.
Remove looseSignatures usage from ShadowNoopNativeAllocationRegistry.
Remove special case instrumentation configuration for user R classes.
Remove obsolete getLong and getInt functions in ShadowPuasedMessageQueue.
Remove custom CSS from the generated Javadoc.
Remove looseSignatures usage from ShadowWifiManager.
Remove duplicated USE_BIOMETRIC declaration.
Remove Groovy-specific config.
Remove long-deprecated and misspelled method in ShadowPackageManager.
Remove AndroidJdkLibsChecker suppression in the sandbox project.
Remove unnecessary shadow from MethodNameTest.
Remove unused code from ShadowWranglerUnitTest.
Remove looseSignatures in ShadowNativeThreadedRenderer.
Remove generics from ClassName annotation values.
Delete ShadowAnimationUtils.
Remove obsolete Robolectric TimeUtils.
Remove SimpleFuture from Robolectric's utils.
Remove LoadWeirdClassesTest.shadowOf_shouldCompile.
Remove incorrect Robolectric overrides for fling velocity.
Remove 'useLegacy*' resources methods.
Remove legacy resources shadows.
Remove more legacy code following the drop of support for API 19.
Remove ShadowUserManager.setSecurityErrorOnNextGetAccountsByTypeCall.
Remove references to NfcAntennaInfo from public methods.
Remove plugin GradleManagedDevicePlugin from nativegraphics.
Remove unused and obsolete Strftime.java.
Remove unused gradleapp directory from Robolectric.
gradleappRemove Multidex from integration_tests/androidx_test and integration_tests/multidex module.
integration_tests/androidx_testintegration_tests/multidexRemove duplicated code in ShadowPackageManager.java.
Remove unused CheckApiChangesPlugin plugin.
Remove dead code in ReflectionHelpers.
Remove unused android:debuggable from AndroidManifest.xml.
Remove unused .gitmodules.
Remove unused looseSignature from some shadow classes.
looseSignatureRemove legacy VERSION_CODES checks.
VERSION_CODESRemove deprecated methods in ShadowDisplay.
ShadowDisplayRemove duplicated dependency in integration_tests/room/build.gradle.
integration_tests/room/build.gradleRemove unused properties from AndroidManifest.xml files.
AndroidManifest.xmlRemove RobolectricTestRunner.getConfig(Method).
RobolectricTestRunner.getConfig(Method)Remove ShadowContextHubClient.revokePermission public API.
Remove BuckManifestFactory.
Remove unused Exception from AndroidTesetEnvironmentTest's method signature.
Remove duplicated gradle plugin maven repository.
Remove executable flag for some Java files.
Remove force for dependency statements.
Remove unused SKIP_NATIVERUNTIME_BUILD for gradle_tasks_validation.
Remove unused Exception for DeviceConfigTest.
Remove extra for MavenDependencyResolver javadoc.
Remove unused shadows ShadowCornerPathEffect and ShadowLinearGradient.
Remove deprecated Utils#intArrayToList.
Remove unused looseSignatures from ShadowConextHubClient.
Deletes some ShadowNumberPicker functions that don't do anything, which allows DatePickerSpinner to use real values and the real class.
Delete unnecessary ShadowOutline.
Remove lifecycle-common dependency.
Remove unused code for ReflectionHelperTest.
Rename ShadowNativeAllocationRegistry to ShadowNoopNativeAllocationRegistry.
Remove --disable-shared from ICU's configuration command for MinGW.
Remove CMake/Clang/GCC requirements from README.md.
Remove setOnLongClickListener call in EspressoActivity.
Remove unused recursive checkout parameter from GitHub Actions.
Remove deprecated ShadowPackageManager.getPackageInfoForTesting.
Remove deprecated shadows/support-v4.
Removed NO_REBUILD option.
Remove '@Ignore' from EspressoTest.
Remove dead code that uses Plan based instrumentation (ClassHandler.Plan).
Remove use-sdk from androidx_test/sharedTest/AndroidManifest.xml.
Remove 0x prefix for string format log.
Remove unused Exception for ShadowActivityTest.
Remove unused resources.arsc file.
Remove unnecessary TimePickerDialog constructor shadow.
Remove inaccessible Google issue tracker links.
Remove instrumentedPackages workaround.
Remove unused org.robolectric.annotation.Config imports.
Remove redundant SKIP_ICU_BUILD environment variable.
Remove unnecessary DatePickerDialog constructor shadow.
Remove specific clang/clang++ env for build_native_runtime.yml.
Remove ServiceFinder.
Remove deprecated supportv4 shadows.
Remove ShadowsPlugin from supportv4/build.gradle.
Remove enableMatrix=true properties, default is now true.
Remove robolectric.rendernode.enableMatrix flag.
robolectric.rendernode.enableMatrixRemove unused Exception from example in README.md.
Remove maxSdk restrition for ShadowBiometricManager#canAuthenticate implementation.
Remove empty ShadowTextPaint.
No longer automatically log everything in ShadowLog if stream is specified.
Remove OldClassInstrumentor.
Remove unnecessary ShadowLegacyMessage.isInUse.
Remove InvokeDynamic perf stats.
Remove allocation in ShadowCursorWindow.Data init.
Remove mocking from FragmentControllerTest.
Remove debug print statement.
Remove CircleCI metadata.
Delete ShadowBaseLooper.
Remove debug print statements from AndroidInterceptors.
Remove use of deprecated and redundant TextLayoutMode.REALISTIC,as its now the default behavior.
Remove publish_test_results job.
Rename LazyLoadApplication to LazyApplication and update all references accordingly.
Remove CachedDependencyResolver and CachedMavenDependencyResolver.
Remove ShadowBluetoothAdapter.getBluetoothLeAvertiser.
Remove usage of InstrumentationProvider in AndroidTestEnvironment.
Remove ShadowIntrumentation#execStartActivityAsCaller.
Remove dead code in RobolectricTest.java.
Remove deprecated ShadowBuild.Q.
FsFile et al. have been removed in favor of java.nio.file.Path [issue ].
FsFileRename addPackage to installPackage in ShadowPackageManager and deprecate.
addPackageinstallPackageShadowPackageManagerRemove ShadowHandler [issue ].
ShadowHandlerRename ShadowPackageManager#getPackageInfoForTesting to getInternalMutablePackageInfo.
ShadowPackageManager#getPackageInfoForTestinggetInternalMutablePackageInfoRemove RoboLayoutInflater and ShadowApplication.getLayoutInflater.
RoboLayoutInflaterShadowApplication.getLayoutInflaterRemove ShadowApplication.getApplicationContext in favor of RuntimeEnvironment#application [Issue ].
Remove unused ShadowFrameLayout [Issue ].
Remove @implementation methods from ShadowViewGroup that are not necessary as we can just call the real implementation instead. [Issue ].
Changes ShadowCameraCharacteristics.set(Key, Object) to set(Key, T) to reflect framework type enforcement.
ShadowCameraCharacteristics.set(Key, Object)ShadowCameraCharacteristics.set(Key, T)Rolls back making RoboMonitoringInstrumentation#stubResultFor protected.
RoboMonitoringInstrumentation#stubResultForChanges ShadowCameraCharacteristics.set(Key<T>, Object) to set(Key<T>, T) to enforce framework type checking.
ShadowCameraCharacteristics.set(Key<T>, Object)ShadowCameraCharacteristics.set(Key<T>, T)Remove tests that require maxSdk = 22.
Remove tests that only run on 21/22 Lollipop.
Remove google internal bug references from ExtractAarTransform.
Remove the latest android-all from the runtime classpath when running Robolectric tests.
Remove references to KITKAT from Robolectric framework tests.
Rename compat-target28 integration test to sdkcompat.
compat-target28sdkcompatRemove DoNotInstrument from explict test files.
Remove unused Exception from tests of ShadowConnectivityManager.
Remove redundant unused native graphics test utils.
Remove instrumentation tests on API 34.
Remove SDK 33 Emulator tests.
Remove mockito-core from utils' test dependencies list.
Remove unused test code.
Remove unused Exception from test methods for dependency-on-stubs.
Remove explicit binary mode declaration for affected test modules.
Remove specific clang/clang++ env for tests.yml.
Remove unused Exception from test methods for XmlResourceParserImplTest.
Remove unused exception from tests for SQLiteLibraryLoaderTest.
Remove maxSdk=R config from test code.
Remove the main thread check in installAndCreateApplication, as we don't see any problems when tests create from a background thread.
Remove redundant integration test.
@Deprecate a bunch of methods in ShadowView where alternatives exist in Espresso.
@DeprecateShadowViewShadowPackageManager.addResolveInfoForIntent is deprecated; add explicit activity declarations in your manifest, or use ShadowPackageManager.addOrUpdateActivity(ActivityInfo) [issue ].
ShadowPackageManager.addResolveInfoForIntentShadowPackageManager.addOrUpdateActivity(ActivityInfo)Deprecate Robolectric#setupActivity in favor of ActivityScenario [issue ].
setupActivityActivityScenarioDeprecate ShadowApplication.getAppWidgetManager().
ShadowApplication.getAppWidgetManager()Make ShadowSharedMemory implementation methods protected.
ShadowSharedMemoryDeprecate ShadowResolveInfo#setLabel.
ShadowResolveInfo#setLabelDelete shadows.MotionEventBuilder in favor of using androidx.test.core.view.MotionEventBuilder [Issue ].
ShadowContentResolver.clearContentObservers().
ShadowContentResolver.clearContentObservers()Replace ShadowAlertDialog.getShadowAlertController() with getAlertController().
ShadowAlertDialog.getShadowAlertController()getAlertController()Various deprecated RobolectricTestRunner methods.
RobolectricTestRunnerShadowAccountManager.get().
ShadowAccountManager.get()ShadowKeyguardManager.setinRestrictedInputMode().
ShadowKeyguardManager.setinRestrictedInputMode()ShadowNetworkInfo.newInstance().
ShadowNetworkInfo.newInstance()Replace ShadowGradientDrawable.getColor() with getLastSetColor().
ShadowGradientDrawable.getColor()getLastSetColor()Security3
Updates org.bouncycastle:bcprov-jdk18on to v1.84.
org.bouncycastle:bcprov-jdk18onGitHub Workflows security hardening.
Update BouncyCastle security provider due CVE-2018-1000613.
Platform27
Bumps minSdk to 23 for integration_tests modules.
minSdkBumps targetSdk to 36 for integration_tests modules.
targetSdkBumps testapp's minSdk to 23.
minSdkRestore the minSdk for nativeSetConfiguration to be Baklava as git_main is still developing Baklava.
Bump targetSdk to 35 as much as possible for integration_tests.
Fix targetSdkVersion from Config/manifest override.
Update outdated minSdk parameters.
minSdkUpdate @Config's minSdk in some tests.
@ConfigminSdkAdd necessary minSdk = O for some createActivityContexts tests.
Revert all minSdk W shadow methods to V.
Bump minSdk to 21 for integration_tests.
Bump minSdk to 21 in the testapp module.
minSdktestappRemove JDK requirements statement in README.md.
Bump default minSdk to 19 of AndroidManifest.
Fixed a NoClassDefFoundError when using PixelCopy with compileSdkVersion < 34.
Increment targetSdk and compileSdk from 33 to 34 for integration tests.
Bump compile/targetSdk to 33.
Removed targetSdk from AndroidManifest.xml.
targetSdkMigrate compileSdkVersion to compileSdk.
Ensure ShadowActivity can work with project targetSdk less than S.
This is a minor release that fixes, a NoClassDefError that can occur if the compileSdk < 31.
compileSdkUpdate minSdkVersion to 14 in some integration_test manifests.
Running tests on Android API 29 now strictly requires a Java9 runtime or newer.
Android SDK 28 (includes support for testing against SDKs from 16 on) and Android Q Beta 2.
Running tests on Android Q requires Java 9.
Legacy resources mode will not be supported for Android Q.
Android SDK 28 (includes support for testing against SDKs from 16 on).
Deprecations to plan for
Deprecated33
Deprecates shadows:httpclient.
shadows:httpclientDeprecates SQLiteMode.
SQLiteModeMigrate deprecated APIs to idleMainLooper for ShadowVirtualDeviceManagerTest.
Deprecate TextLayoutMode.
TextLayoutModeDeprecate TextLayoutModeConfigurer.
TextLayoutModeConfigurerDeprecate ShadowPausedMessageQueue#isIdle in favor of using real MessageQueue#isIdle.
Deprecate LEGACY SQLite mode.
Deprecate looseSignatures and remove last remaining uses.
Stop loading the :plugins:accessibility-deprecated module from settings.gradle.
:plugins:accessibility-deprecatedsettings.gradleDeprecate is___Intent methods of ShadowPendingIntent.
Deprecated Util#intArrayToList.
Deprecate and un-shadow ShadowScanResult class.
Migrate off deprecated mockito APIs.
Deprecate ShadowSwipeRefreshLayout.
Deprecate the supportv4 shadows as mentioned in.
Deprecate the proxy version of directlyOn.
Deprecate RoboExecutorService.
Deprecate TextLayoutMode.
Deprecate all public ShadowBitmapFactory methods.
Migrate from deprecated JsonParser APIs to their replacements.
JsonParserMigrate from deprecated Assert.assertThat([String, ]T, Matcher) to MatcherAssert.assertThat([String, ]T, Matcher).
Assert.assertThat([String, ]T, Matcher<T>)MatcherAssert.assertThat([String, ]T, Matcher<T>)Deprecate LooperMode LEGACY in favor of PAUSED, and default to PAUSED looper mode.
Accessibility checking is now deprecated and has been moved into a separate maven artifact org.robolectric:plugin-accessibility-deprecated.
org.robolectric:plugin-accessibility-deprecatedDeprecate ShadowContentResolver shadow API because they do not work with ContentProviderClient.
Deprecate ShadowLocationManager.getLocationUpdateListeners and ShadowLocationManager.getLocationUpdateListeners.
Make it an error to run on Q with an unsupported java version instead of just silently skipping tests.
Deprecate Robolectric's custom cursor implementation.
The BouncyCastle security provider is now considered deprecated due to the incompatibility with Java 9+.
RuntimeEnvironment.application has been deprecated, use androidx.test.core.app.ApplicationProvider.getApplicationContext() instead.
RuntimeEnvironment.applicationandroidx.test.core.app.ApplicationProvider.getApplicationContext()Deprecate SupportFragmentTestUtil [Issue ].
ShadowApplication.getInstance().
ShadowApplication.getInstance()ShadowLooper.getShadowMainLooper().
ShadowLooper.getShadowMainLooper()Config(packageName).
Config(packageName)API changes
Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.
- removed:
class ConfigMerger - removed:
class SdkPicker - removed:
ctor ConfigMerger() - removed:
ctor SdkPicker() - removed:
ctor SdkPicker(Collection, Properties) - removed:
ctor SdkPicker(Properties, int[]) - removed:
method ConfigMerger.getConfig(Class, Method, Config): Config - removed:
method ConfigMerger.getConfigProperties(String): Properties - removed:
method RobolectricTestRunner.HelperTestRunner.methodInvoker(FrameworkMethod, Object): Statement - removed:
method RobolectricTestRunner.afterClass(): void - removed:
method RobolectricTestRunner.createClassLoaderConfig(Config): InstrumentationConfiguration - removed:
method RobolectricTestRunner.createSdkPicker(): SdkPicker - removed:
method RobolectricTestRunner.getAppManifest(Config): AndroidManifest - removed:
method RobolectricTestRunner.getCompileTimeSdkResourceTable(): PackageResourceTable - removed:
method RobolectricTestRunner.getConfig(Method): Config - removed:
method RobolectricTestRunner.getJarResolver(): DependencyResolver - removed:
method RobolectricTestRunner.getSandboxFactory(): SandboxFactory - removed:
method RobolectricTestRunner.internalAfterTest(FrameworkMethod, Method): void - removed:
method RobolectricTestRunner.shouldIgnore(FrameworkMethod): boolean - removed:
method RobolectricTestRunner.shouldIgnore(FrameworkMethod, Config): boolean - removed:
method SdkPicker.configuredSdks(Config, AndroidManifest): Set - removed:
method SdkPicker.decodeSdk(int, int, int, int, int): int - removed:
method SdkPicker.enumerateEnabledSdks(): Set - removed:
method SdkPicker.sdkRange(int, int): Set - removed:
method SdkPicker.selectSdks(Config, AndroidManifest): List - removed:
static class Robolectric.AttributeSetBuilder - removed:
static field RobolectricTestRunner.CONFIG_PROPERTIES: String - removed:
static method Robolectric.reset(): void - changed:
method RobolectricTestRunner.createClassHandler(ShadowMap, Sandbox): ClassHandler → method RobolectricTestRunner.createClassHandler(ShadowMap, Sandbox, List): ClassHandler - changed:
method RobolectricTestRunner.getSandbox(FrameworkMethod): SdkEnvironment → method RobolectricTestRunner.getSandbox(FrameworkMethod): AndroidSandbox - changed:
static method Robolectric.buildAttributeSet(): Robolectric.AttributeSetBuilder → static method Robolectric.buildAttributeSet(): AttributeSetBuilder - added:
@interface ParameterizedRobolectricTestRunner.Parameter - added:
ctor RobolectricTestParameterInjector(Class) - added:
ctor RobolectricTestRunner(Class, Injector) - added:
ctor RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider() - added:
ctor RobolectricTestRunner.RobolectricFrameworkMethod(RobolectricTestRunner.RobolectricFrameworkMethod) - added:
final class RobolectricTestParameterInjector extends RobolectricTestRunner - added:
interface Robolectric.AttributeSetBuilder - added:
interface RobolectricTestParameterInjector.DelegateTestRunner - added:
method ParameterizedRobolectricTestRunner.Parameter.value(): int - added:
method RobolectricTestParameterInjector.DelegateTestRunner.computeTestMethods(): List - added:
method RobolectricTestParameterInjector.DelegateTestRunner.computeTestMethods(List): List - added:
method RobolectricTestParameterInjector.DelegateTestRunner.methodBlock(FrameworkMethod): Statement - added:
method RobolectricTestParameterInjector.DelegateTestRunner.methodInvoker(FrameworkMethod, Object): Statement - added:
method RobolectricTestParameterInjector.createClassLoaderConfig(FrameworkMethod): InstrumentationConfiguration - added:
method RobolectricTestParameterInjector.getChildren(): ImmutableList - added:
method RobolectricTestParameterInjector.getHelperTestRunner(Class): RobolectricTestRunner.HelperTestRunner - added:
method RobolectricTestParameterInjector.validateConstructor(List): void - added:
method RobolectricTestParameterInjector.validateTestMethods(List): void - added:
method RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider.get(): Config - added:
method RobolectricTestRunner.HelperTestRunner.methodBlock(FrameworkMethod): Statement - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.equals(Object): boolean - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.getConfiguration(): ConfigurationStrategy.Configuration - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.getName(): String - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.getSdk(): Sdk - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.hashCode(): int - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.isLegacy(): boolean - added:
method RobolectricTestRunner.RobolectricFrameworkMethod.toString(): String - added:
method RobolectricTestRunner.configureSandbox(Sandbox, FrameworkMethod): void - added:
method RobolectricTestRunner.getBuildSystemApiProperties(): Properties - added:
method RobolectricTestRunner.getSandboxForSandboxMapping(FrameworkMethod): AndroidSandbox - added:
method RobolectricTestRunner.run(RunNotifier): void - added:
static class RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider implements GlobalConfigProvider - added:
static class RobolectricTestRunner.RobolectricFrameworkMethod extends FrameworkMethod - added:
static method Robolectric.buildActivity(Class, Intent, Bundle): ActivityController - added:
static method Robolectric.getAttributeSetFromXml(int): AttributeSet - added:
static method RobolectricTestRunner.defaultInjector(): Injector.Builder - added:
static method RobolectricTestRunner.loadBuildSystemApiProperties(): Properties - added:
static method RobolectricTestRunner.loadRunListeners(): ImmutableList
- removed:
class AndroidInterceptors - removed:
ctor AndroidInterceptors() - removed:
ctor AndroidInterceptors.LinkedHashMapEldestInterceptor() - removed:
ctor AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor() - removed:
ctor AndroidInterceptors.NoOpInterceptor() - removed:
ctor AndroidInterceptors.PolicyManagerMakeNewWindowInterceptor() - removed:
ctor AndroidInterceptors.SystemArrayCopyInterceptor() - removed:
ctor AndroidInterceptors.SystemLogEInterceptor() - removed:
ctor AndroidInterceptors.SystemTimeInterceptor() - removed:
method AndroidInterceptors.LinkedHashMapEldestInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.LinkedHashMapEldestInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.NoOpInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.NoOpInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.PolicyManagerMakeNewWindowInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.PolicyManagerMakeNewWindowInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.SystemArrayCopyInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.SystemArrayCopyInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.SystemLogEInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.SystemLogEInterceptor.handle(MethodSignature): Function - removed:
method AndroidInterceptors.SystemTimeInterceptor.getMethodHandle(String, MethodType): MethodHandle - removed:
method AndroidInterceptors.SystemTimeInterceptor.handle(MethodSignature): Function - removed:
static class AndroidInterceptors.LinkedHashMapEldestInterceptor extends Interceptor - removed:
static class AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor extends Interceptor - removed:
static class AndroidInterceptors.NoOpInterceptor extends Interceptor - removed:
static class AndroidInterceptors.PolicyManagerMakeNewWindowInterceptor extends Interceptor - removed:
static class AndroidInterceptors.SystemArrayCopyInterceptor extends Interceptor - removed:
static class AndroidInterceptors.SystemLogEInterceptor extends Interceptor - removed:
static class AndroidInterceptors.SystemTimeInterceptor extends Interceptor - removed:
static method AndroidInterceptors.all(): Collection - added:
class AndroidSdkShadowMatcher implements ShadowMatcher - added:
class AttributeSetBuilderImpl implements AttributeSetBuilder - added:
ctor AndroidSdkShadowMatcher(int) - added:
ctor AttributeSetBuilderImpl(AttributeSetBuilderImpl.ResourceResolver) - added:
ctor AttributeSetBuilderImpl.ArscResourceResolver(Context) - added:
interface AttributeSetBuilder extends Robolectric.AttributeSetBuilder - added:
interface AttributeSetBuilderImpl.ResourceResolver - added:
method AndroidSdkShadowMatcher.matches(Method): boolean - added:
method AndroidSdkShadowMatcher.matches(ShadowInfo): boolean - added:
method AttributeSetBuilder.addAttribute(int, String): AttributeSetBuilder - added:
method AttributeSetBuilder.build(): AttributeSet - added:
method AttributeSetBuilder.setClassAttribute(String): AttributeSetBuilder - added:
method AttributeSetBuilder.setIdAttribute(String): AttributeSetBuilder - added:
method AttributeSetBuilder.setStyleAttribute(String): AttributeSetBuilder - added:
method AttributeSetBuilderImpl.ArscResourceResolver.getIdentifier(String, String, String): Integer - added:
method AttributeSetBuilderImpl.ArscResourceResolver.getPackageName(): String - added:
method AttributeSetBuilderImpl.ArscResourceResolver.getResourceName(Integer): String - added:
method AttributeSetBuilderImpl.ArscResourceResolver.parseValue(Integer, ResName, AttributeResource, TypedValue): void - added:
method AttributeSetBuilderImpl.ResourceResolver.getIdentifier(String, String, String): Integer - added:
method AttributeSetBuilderImpl.ResourceResolver.getPackageName(): String - added:
method AttributeSetBuilderImpl.ResourceResolver.getResourceName(Integer): String - added:
method AttributeSetBuilderImpl.ResourceResolver.parseValue(Integer, ResName, AttributeResource, TypedValue): void - added:
method AttributeSetBuilderImpl.addAttribute(int, String): AttributeSetBuilder - added:
method AttributeSetBuilderImpl.build(): AttributeSet - added:
method AttributeSetBuilderImpl.setClassAttribute(String): AttributeSetBuilder - added:
method AttributeSetBuilderImpl.setIdAttribute(String): AttributeSetBuilder - added:
method AttributeSetBuilderImpl.setStyleAttribute(String): AttributeSetBuilder - added:
static class AttributeSetBuilderImpl.ArscResourceResolver implements AttributeSetBuilderImpl.ResourceResolver
- removed:
class RoboCharsets - removed:
class RoboMonitoringInstrumentation extends MonitoringInstrumentation - removed:
ctor RoboCharsets() - removed:
ctor RoboMonitoringInstrumentation() - removed:
enum RoboResponseSource - removed:
interface RoboExtendedResponseCache - removed:
method RoboExtendedResponseCache.trackConditionalCacheHit(): void - removed:
method RoboExtendedResponseCache.trackResponse(RoboResponseSource): void - removed:
method RoboExtendedResponseCache.update(CacheResponse, HttpURLConnection): void - removed:
method RoboMonitoringInstrumentation.installMultidex(): void - removed:
method RoboMonitoringInstrumentation.runOnMainSync(Runnable): void - removed:
method RoboMonitoringInstrumentation.setInTouchMode(boolean): void - removed:
method RoboMonitoringInstrumentation.specifyDexMakerCacheProperty(): void - removed:
method RoboMonitoringInstrumentation.startActivitySync(Intent): Activity - removed:
method RoboMonitoringInstrumentation.waitForIdleSync(): void - removed:
method RoboResponseSource.requiresConnection(): boolean - removed:
static field RoboCharsets.ISO_8859_1: Charset - removed:
static field RoboCharsets.US_ASCII: Charset - removed:
static field RoboCharsets.UTF_8: Charset - removed:
static field RoboResponseSource.CACHE: RoboResponseSource - removed:
static field RoboResponseSource.CONDITIONAL_CACHE: RoboResponseSource - removed:
static field RoboResponseSource.NETWORK: RoboResponseSource - removed:
static method RoboResponseSource.valueOf(String): RoboResponseSource - removed:
static method RoboResponseSource.values(): RoboResponseSource[]
- removed:
class ParallelUniverse implements ParallelUniverseInterface - removed:
ctor ParallelUniverse() - removed:
method ParallelUniverse.getCurrentApplication(): Object - removed:
method ParallelUniverse.getMainThread(): Thread - removed:
method ParallelUniverse.setMainThread(Thread): void - removed:
method ParallelUniverse.setSdkConfig(SdkConfig): void - removed:
method ParallelUniverse.setUpApplicationState(Method, AndroidManifest, Config, ResourceTable, ResourceTable, ResourceTable): void - removed:
method ParallelUniverse.tearDownApplication(): void - added:
class AndroidTestEnvironment implements TestEnvironment - added:
class LocalActivityInvoker implements ActivityInvoker - added:
class LocalControlledLooper implements ControlledLooper - added:
class LocalPermissionGranter implements PermissionGranter - added:
class LocalUiController implements UiController - added:
class LooperDelegatingScheduler extends Scheduler - added:
class RoboMonitoringInstrumentation extends Instrumentation - added:
class RobolectricThreadChecker implements ThreadChecker - added:
ctor AndroidTestEnvironment(Sdk, Sdk, ShadowProvider[], TestEnvironmentLifecyclePlugin[]) - added:
ctor IdlingResourceTimeoutException(List) - added:
ctor LocalActivityInvoker() - added:
ctor LocalControlledLooper() - added:
ctor LocalPermissionGranter() - added:
ctor LocalUiController() - added:
ctor LooperDelegatingScheduler(Looper) - added:
ctor RoboMonitoringInstrumentation() - added:
ctor RobolectricThreadChecker() - added:
final class IdlingResourceTimeoutException extends RuntimeException - added:
method AndroidTestEnvironment.checkStateAfterTestFailure(Throwable): void - added:
method AndroidTestEnvironment.pickInstrumentation(): Instrumentation - added:
method AndroidTestEnvironment.resetState(): void - added:
method AndroidTestEnvironment.setUpApplicationState(String, ConfigurationStrategy.Configuration, AndroidManifest): void - added:
method AndroidTestEnvironment.tearDownApplication(): void - added:
method LocalActivityInvoker.finishActivity(Activity): void - added:
method LocalActivityInvoker.getActivityResult(): Instrumentation.ActivityResult - added:
method LocalActivityInvoker.getIntentForActivity(Class): Intent - added:
method LocalActivityInvoker.pauseActivity(Activity): void - added:
method LocalActivityInvoker.recreateActivity(Activity): void - added:
method LocalActivityInvoker.resumeActivity(Activity): void - added:
method LocalActivityInvoker.startActivity(Intent): void - added:
method LocalActivityInvoker.startActivity(Intent, Bundle): void - added:
method LocalActivityInvoker.startActivityForResult(Intent): void - added:
method LocalActivityInvoker.startActivityForResult(Intent, Bundle): void - added:
method LocalActivityInvoker.stopActivity(Activity): void - added:
method LocalControlledLooper.drainMainThreadUntilIdle(): void - added:
method LocalControlledLooper.simulateWindowFocus(View): void - added:
method LocalPermissionGranter.addPermissions(String[]): void - added:
method LocalPermissionGranter.requestPermissions(): void - added:
method LocalUiController.injectKeyEvent(KeyEvent): boolean - added:
method LocalUiController.injectMotionEvent(MotionEvent): boolean - added:
method LocalUiController.injectString(String): boolean - added:
method LocalUiController.loopMainThreadForAtLeast(long): void - added:
method LocalUiController.loopMainThreadUntilIdle(): void - added:
method LooperDelegatingScheduler.advanceBy(long, TimeUnit): boolean - added:
method LooperDelegatingScheduler.advanceTo(long): boolean - added:
method LooperDelegatingScheduler.advanceToLastPostedRunnable(): boolean - added:
method LooperDelegatingScheduler.advanceToNextPostedRunnable(): boolean - added:
method LooperDelegatingScheduler.areAnyRunnable(): boolean - added:
method LooperDelegatingScheduler.getCurrentTime(): long - added:
method LooperDelegatingScheduler.getIdleState(): Scheduler.IdleState - added:
method LooperDelegatingScheduler.getLastScheduledTaskTime(): Duration - added:
method LooperDelegatingScheduler.getNextScheduledTaskTime(): Duration - added:
method LooperDelegatingScheduler.isPaused(): boolean - added:
method LooperDelegatingScheduler.pause(): void - added:
method LooperDelegatingScheduler.post(Runnable): void - added:
method LooperDelegatingScheduler.postAtFrontOfQueue(Runnable): void - added:
method LooperDelegatingScheduler.postDelayed(Runnable, long): void - added:
method LooperDelegatingScheduler.postDelayed(Runnable, long, TimeUnit): void - added:
method LooperDelegatingScheduler.remove(Runnable): void - added:
method LooperDelegatingScheduler.reset(): void - added:
method LooperDelegatingScheduler.runOneTask(): boolean - added:
method LooperDelegatingScheduler.setIdleState(Scheduler.IdleState): void - added:
method LooperDelegatingScheduler.size(): int - added:
method LooperDelegatingScheduler.unPause(): void - added:
method RoboMonitoringInstrumentation.callActivityOnCreate(Activity, Bundle): void - added:
method RoboMonitoringInstrumentation.callActivityOnDestroy(Activity): void - added:
method RoboMonitoringInstrumentation.callActivityOnPause(Activity): void - added:
method RoboMonitoringInstrumentation.callActivityOnRestart(Activity): void - added:
method RoboMonitoringInstrumentation.callActivityOnResume(Activity): void - added:
method RoboMonitoringInstrumentation.callActivityOnStart(Activity): void - added:
method RoboMonitoringInstrumentation.callActivityOnStop(Activity): void - added:
method RoboMonitoringInstrumentation.callApplicationOnCreate(Application): void - added:
method RoboMonitoringInstrumentation.execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle): void - added:
method RoboMonitoringInstrumentation.execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle): Instrumentation.ActivityResult - added:
method RoboMonitoringInstrumentation.execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle): Instrumentation.ActivityResult - added:
method RoboMonitoringInstrumentation.execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle, UserHandle): Instrumentation.ActivityResult - added:
method RoboMonitoringInstrumentation.finish(int, Bundle): void - added:
method RoboMonitoringInstrumentation.getContext(): Context - added:
method RoboMonitoringInstrumentation.getTargetContext(): Context - added:
method RoboMonitoringInstrumentation.getThreadState(): String - added:
method RoboMonitoringInstrumentation.onCreate(Bundle): void - added:
method RoboMonitoringInstrumentation.onException(Object, Throwable): boolean - added:
method RoboMonitoringInstrumentation.runOnMainSync(Runnable): void - added:
method RoboMonitoringInstrumentation.signalIntentMonitor(Intent): void - added:
method RoboMonitoringInstrumentation.startActivitySync(Intent): Activity - added:
method RoboMonitoringInstrumentation.startActivitySyncInternal(Intent): ActivityController - added:
method RoboMonitoringInstrumentation.startActivitySyncInternal(Intent, Bundle, String): ActivityController - added:
method RoboMonitoringInstrumentation.stubResultFor(Intent): Instrumentation.ActivityResult - added:
method RoboMonitoringInstrumentation.waitForIdleSync(): void - added:
method RobolectricThreadChecker.checkMainThread(): void - added:
method RobolectricThreadChecker.checkNotMainThread(): void - added:
static method LocalUiController.setIdlingResourceTimeout(long, TimeUnit): void
- removed:
class AndroidConfigurer - removed:
class BuckManifestFactory implements ManifestFactory - removed:
class DeepCloner - removed:
class GradleManifestFactory implements ManifestFactory - removed:
class MavenManifestFactory implements ManifestFactory - removed:
class SandboxFactory - removed:
class SdkConfig implements Comparable - removed:
class SdkEnvironment extends Sandbox - removed:
ctor AndroidConfigurer() - removed:
ctor BuckManifestFactory() - removed:
ctor DeepCloner(ClassLoader) - removed:
ctor GradleManifestFactory() - removed:
ctor MavenManifestFactory() - removed:
ctor SandboxFactory() - removed:
ctor SdkConfig(int) - removed:
ctor SdkEnvironment(SdkConfig, ClassLoader) - removed:
interface ParallelUniverseInterface - removed:
method BuckManifestFactory.identify(Config): ManifestIdentifier - removed:
method DeepCloner.clone(Object): Object - removed:
method GradleManifestFactory.identify(Config): ManifestIdentifier - removed:
method MavenManifestFactory.identify(Config): ManifestIdentifier - removed:
method ParallelUniverseInterface.getCurrentApplication(): Object - removed:
method ParallelUniverseInterface.getMainThread(): Thread - removed:
method ParallelUniverseInterface.setMainThread(Thread): void - removed:
method ParallelUniverseInterface.setSdkConfig(SdkConfig): void - removed:
method ParallelUniverseInterface.setUpApplicationState(Method, AndroidManifest, Config, ResourceTable, ResourceTable, ResourceTable): void - removed:
method ParallelUniverseInterface.tearDownApplication(): void - removed:
method SandboxFactory.createClassLoader(InstrumentationConfiguration, URL[]): ClassLoader - removed:
method SandboxFactory.createSdkEnvironment(SdkConfig, ClassLoader): SdkEnvironment - removed:
method SandboxFactory.getSdkEnvironment(InstrumentationConfiguration, DependencyResolver, SdkConfig): SdkEnvironment - removed:
method SdkConfig.compareTo(SdkConfig): int - removed:
method SdkConfig.equals(Object): boolean - removed:
method SdkConfig.getAndroidCodeName(): String - removed:
method SdkConfig.getAndroidSdkDependency(): DependencyJar - removed:
method SdkConfig.getAndroidVersion(): String - removed:
method SdkConfig.getApiLevel(): int - removed:
method SdkConfig.hashCode(): int - removed:
method SdkConfig.toString(): String - removed:
method SdkEnvironment.getSdkConfig(): SdkConfig - removed:
method SdkEnvironment.getSystemResourceTable(DependencyResolver): PackageResourceTable - removed:
static field SandboxFactory.INSTANCE: SandboxFactory - removed:
static field SdkConfig.FALLBACK_SDK_VERSION: int - removed:
static field SdkConfig.MAX_SDK_VERSION: int - removed:
static method AndroidConfigurer.configure(InstrumentationConfiguration.Builder, Interceptors): void - removed:
static method AndroidConfigurer.withConfig(InstrumentationConfiguration.Builder, Config): void - removed:
static method BuckManifestFactory.isBuck(): boolean - removed:
static method SdkConfig.getSupportedApis(): Set - changed:
ctor ManifestIdentifier(FsFile, FsFile, FsFile, String, List) → ctor ManifestIdentifier(String, Path, Path, Path, List) - changed:
ctor ManifestIdentifier(String, FsFile, FsFile, FsFile, List) → ctor ManifestIdentifier(String, Path, Path, Path, List, Path) - changed:
method ManifestIdentifier.getAssetDir(): FsFile → method ManifestIdentifier.getAssetDir(): Path - changed:
method ManifestIdentifier.getManifestFile(): FsFile → method ManifestIdentifier.getManifestFile(): Path - changed:
method ManifestIdentifier.getResDir(): FsFile → method ManifestIdentifier.getResDir(): Path - added:
class AndroidSandbox extends Sandbox - added:
class SandboxManager - added:
ctor AndroidSandbox(Sdk, Sdk, ResourcesMode.Mode, AndroidSandbox.TestEnvironmentSpec, AndroidSandbox.SdkSandboxClassLoader, ShadowProviders, SQLiteMode.Mode) - added:
ctor AndroidSandbox.SdkSandboxClassLoader(InstrumentationConfiguration, Sdk, ClassInstrumentor) - added:
ctor AndroidSandbox.TestEnvironmentSpec() - added:
ctor AndroidSandbox.TestEnvironmentSpec(Class) - added:
ctor SandboxManager(SandboxManager.SandboxBuilder, SdkCollection) - added:
interface SandboxManager.SandboxBuilder - added:
interface TestEnvironment - added:
method AndroidSandbox.TestEnvironmentSpec.getClazz(): Class - added:
method AndroidSandbox.clearModeInvalidatedClasses(): void - added:
method AndroidSandbox.getModeInvalidatedClasses(): Set - added:
method AndroidSandbox.getSdk(): Sdk - added:
method AndroidSandbox.getTestEnvironment(): TestEnvironment - added:
method AndroidSandbox.mainThreadFactory(): ThreadFactory - added:
method AndroidSandbox.toString(): String - added:
method AndroidSandbox.updateModes(SQLiteMode.Mode): void - added:
method ManifestIdentifier.getApkFile(): Path - added:
method SandboxManager.SandboxBuilder.build(InstrumentationConfiguration, Sdk, Sdk, ResourcesMode.Mode, SQLiteMode.Mode): AndroidSandbox - added:
method SandboxManager.getAndroidSandbox(InstrumentationConfiguration, Sdk, ResourcesMode.Mode, LooperMode.Mode, SQLiteMode.Mode, GraphicsMode.Mode): AndroidSandbox - added:
method TestEnvironment.checkStateAfterTestFailure(Throwable): void - added:
method TestEnvironment.resetState(): void - added:
method TestEnvironment.setUpApplicationState(String, ConfigurationStrategy.Configuration, AndroidManifest): void - added:
method TestEnvironment.tearDownApplication(): void - added:
static class AndroidSandbox.SdkSandboxClassLoader extends SandboxClassLoader - added:
static class AndroidSandbox.TestEnvironmentSpec
- removed:
class CachedDependencyResolver implements DependencyResolver - removed:
class DependencyJar - removed:
class MavenDependencyResolver implements DependencyResolver - removed:
ctor CachedDependencyResolver(DependencyResolver, CachedDependencyResolver.Cache, CachedDependencyResolver.CacheNamingStrategy, CachedDependencyResolver.CacheValidationStrategy) - removed:
ctor CachedDependencyResolver(DependencyResolver, File, long) - removed:
ctor DependencyJar(String, String, String, String) - removed:
ctor MavenDependencyResolver() - removed:
ctor MavenDependencyResolver(String, String) - removed:
interface DependencyResolver - removed:
method CachedDependencyResolver.getLocalArtifactUrl(DependencyJar): URL - removed:
method DependencyJar.getArtifactId(): String - removed:
method DependencyJar.getClassifier(): String - removed:
method DependencyJar.getGroupId(): String - removed:
method DependencyJar.getShortName(): String - removed:
method DependencyJar.getType(): String - removed:
method DependencyJar.getVersion(): String - removed:
method DependencyJar.toString(): String - removed:
method DependencyResolver.getLocalArtifactUrl(DependencyJar): URL - removed:
method DependencyResolver.getLocalArtifactUrls(DependencyJar): URL[] - removed:
method MavenDependencyResolver.configureMaven(DependenciesTask): void - removed:
method MavenDependencyResolver.createDependenciesTask(): DependenciesTask - removed:
method MavenDependencyResolver.getLocalArtifactUrl(DependencyJar): URL - removed:
method MavenDependencyResolver.getLocalArtifactUrls(DependencyJar): URL[] - removed:
method MavenDependencyResolver.getLocalArtifactUrls(DependencyJar[]): URL[] - changed:
ctor PropertiesDependencyResolver(FsFile, DependencyResolver) → ctor PropertiesDependencyResolver(Path) - added:
ctor PropertiesDependencyResolver(Path, DependencyResolver)
- added:
@interface BackgroundTestRule.BackgroundTest - added:
class SetSystemPropertyRule implements TestRule - added:
class TimeoutRule implements TestRule - added:
ctor BackgroundTestRule() - added:
ctor CloseGuardRule() - added:
ctor ExpectedLogMessagesRule() - added:
ctor SetSystemPropertyRule() - added:
ctor TimeoutRule(long, TimeUnit) - added:
final class BackgroundTestRule implements TestRule - added:
final class CloseGuardRule extends Verifier - added:
final class ExpectedLogMessagesRule implements TestRule - added:
method BackgroundTestRule.apply(Statement, Description): Statement - added:
method CloseGuardRule.verify(): void - added:
method ExpectedLogMessagesRule.apply(Statement, Description): Statement - added:
method ExpectedLogMessagesRule.expectErrorsForTag(String): void - added:
method ExpectedLogMessagesRule.expectLogMessage(int, String, Matcher): void - added:
method ExpectedLogMessagesRule.expectLogMessage(int, String, String): void - added:
method ExpectedLogMessagesRule.expectLogMessagePattern(int, String, Pattern): void - added:
method ExpectedLogMessagesRule.expectLogMessagePatternWithThrowableMatcher(int, String, Pattern, Matcher): void - added:
method ExpectedLogMessagesRule.expectLogMessageWithThrowable(int, String, Matcher, Matcher): void - added:
method ExpectedLogMessagesRule.expectLogMessageWithThrowable(int, String, String, Throwable): void - added:
method ExpectedLogMessagesRule.expectLogMessageWithThrowableMatcher(int, String, String, Matcher): void - added:
method ExpectedLogMessagesRule.ignoreMissingLoggedTags(boolean): void - added:
method SetSystemPropertyRule.apply(Statement, Description): Statement - added:
method SetSystemPropertyRule.clear(String): void - added:
method SetSystemPropertyRule.set(String, String): void - added:
method TimeoutRule.apply(Statement, Description): Statement - added:
static method TimeoutRule.millis(long): TimeoutRule - added:
static method TimeoutRule.seconds(long): TimeoutRule
- added:
class ConfigConfigurer implements Configurer - added:
class ConscryptModeConfigurer extends SingleValueConfigurer - added:
class DefaultSdkPicker implements SdkPicker - added:
class DefaultSdkProvider implements SdkProvider - added:
class DefaultSdkProvider.DefaultSdk extends Sdk - added:
class GetInstallerPackageNameModeConfigurer implements Configurer - added:
class GraphicsModeConfigurer extends SingleValueConfigurer - added:
class HierarchicalConfigurationStrategy implements ConfigurationStrategy - added:
class LazyApplicationConfigurer extends SingleValueConfigurer - added:
class LegacyDependencyResolver implements DependencyResolver - added:
class LooperModeConfigurer extends SingleValueConfigurer - added:
class PackagePropertiesLoader - added:
class ResourcesModeConfigurer extends SingleValueConfigurer - added:
class SQLiteModeConfigurer extends SingleValueConfigurer - added:
class SdkCollection - added:
class TextLayoutModeConfigurer extends SingleValueConfigurer - added:
ctor ConfigConfigurer(PackagePropertiesLoader) - added:
ctor ConfigConfigurer(PackagePropertiesLoader, GlobalConfigProvider) - added:
ctor ConscryptModeConfigurer(Properties, PackagePropertiesLoader) - added:
ctor DefaultSdkPicker(SdkCollection, Properties) - added:
ctor DefaultSdkPicker(SdkCollection, String) - added:
ctor DefaultSdkProvider(DependencyResolver) - added:
ctor DefaultSdkProvider.DefaultSdk(DefaultSdkProvider, int, String, String, String, int) - added:
ctor GetInstallerPackageNameModeConfigurer() - added:
ctor GraphicsModeConfigurer(Properties, PackagePropertiesLoader) - added:
ctor HierarchicalConfigurationStrategy(Configurer[]) - added:
ctor HierarchicalConfigurationStrategy.ConfigurationImpl() - added:
ctor LazyApplicationConfigurer(Properties, PackagePropertiesLoader) - added:
ctor LegacyDependencyResolver(Properties) - added:
ctor LooperModeConfigurer(Properties, PackagePropertiesLoader) - added:
ctor PackagePropertiesLoader() - added:
ctor ResourcesModeConfigurer(Properties, PackagePropertiesLoader) - added:
ctor SQLiteModeConfigurer(Properties, PackagePropertiesLoader) - added:
ctor SdkCollection(SdkProvider) - added:
ctor TextLayoutModeConfigurer(Properties, PackagePropertiesLoader) - added:
method ConfigConfigurer.defaultConfig(): Config - added:
method ConfigConfigurer.getConfigClass(): Class - added:
method ConfigConfigurer.getConfigFor(Class): Config - added:
method ConfigConfigurer.getConfigFor(Method): Config - added:
method ConfigConfigurer.getConfigFor(String): Config - added:
method ConfigConfigurer.merge(Config, Config): Config - added:
method DefaultSdkPicker.configuredSdks(Config, UsesSdk): Set - added:
method DefaultSdkPicker.decodeSdk(int, int, int, int, int): int - added:
method DefaultSdkPicker.sdkRange(int, int): Set - added:
method DefaultSdkPicker.selectSdks(ConfigurationStrategy.Configuration, UsesSdk): List - added:
method DefaultSdkProvider.DefaultSdk.getAndroidCodeName(): String - added:
method DefaultSdkProvider.DefaultSdk.getAndroidVersion(): String - added:
method DefaultSdkProvider.DefaultSdk.getJarPath(): Path - added:
method DefaultSdkProvider.DefaultSdk.getUnsupportedMessage(): String - added:
method DefaultSdkProvider.DefaultSdk.isSupported(): boolean - added:
method DefaultSdkProvider.DefaultSdk.verifySupportedSdk(String): void - added:
method DefaultSdkProvider.getSdks(): Collection - added:
method DefaultSdkProvider.populateSdks(TreeMap): void - added:
method GetInstallerPackageNameModeConfigurer.defaultConfig(): GetInstallerPackageNameMode.Mode - added:
method GetInstallerPackageNameModeConfigurer.getConfigClass(): Class - added:
method GetInstallerPackageNameModeConfigurer.getConfigFor(Class): GetInstallerPackageNameMode.Mode - added:
method GetInstallerPackageNameModeConfigurer.getConfigFor(Method): GetInstallerPackageNameMode.Mode - added:
method GetInstallerPackageNameModeConfigurer.getConfigFor(String): GetInstallerPackageNameMode.Mode - added:
method GetInstallerPackageNameModeConfigurer.merge(GetInstallerPackageNameMode.Mode, GetInstallerPackageNameMode.Mode): GetInstallerPackageNameMode.Mode - added:
method HierarchicalConfigurationStrategy.ConfigurationImpl.get(Class): Object - added:
method HierarchicalConfigurationStrategy.ConfigurationImpl.keySet(): Set - added:
method HierarchicalConfigurationStrategy.ConfigurationImpl.map(): Map - added:
method HierarchicalConfigurationStrategy.ConfigurationImpl.put(Class, Object): void - added:
method HierarchicalConfigurationStrategy.getConfig(Class, Method): HierarchicalConfigurationStrategy.ConfigurationImpl - added:
method LegacyDependencyResolver.getLocalArtifactUrl(DependencyJar): URL - added:
method PackagePropertiesLoader.getConfigProperties(String): Properties - added:
method SQLiteModeConfigurer.propertyName(): String - added:
method SdkCollection.getKnownSdks(): SortedSet - added:
method SdkCollection.getMaxSupportedSdk(): Sdk - added:
method SdkCollection.getSdk(int): Sdk - added:
method SdkCollection.getSupportedSdks(): SortedSet - added:
static class HierarchicalConfigurationStrategy.ConfigurationImpl implements ConfigurationStrategy.Configuration - added:
static method ConfigConfigurer.get(ConfigurationStrategy.Configuration): Config - added:
static method DefaultSdkPicker.enumerateEnabledSdks(SdkCollection, String): Set
- added:
abstract class SingleValueConfigurer implements Configurer - added:
ctor SingleValueConfigurer(Class, Class, Enum, PackagePropertiesLoader, Properties) - added:
method SingleValueConfigurer.defaultConfig(): Enum - added:
method SingleValueConfigurer.getConfigClass(): Class - added:
method SingleValueConfigurer.getConfigFor(Class): Enum - added:
method SingleValueConfigurer.getConfigFor(Method): Enum - added:
method SingleValueConfigurer.getConfigFor(String): Enum - added:
method SingleValueConfigurer.getProperty(String): String - added:
method SingleValueConfigurer.merge(Enum, Enum): Enum - added:
method SingleValueConfigurer.propertyName(): String - added:
method SingleValueConfigurer.valueFrom(Annotation): Enum - added:
method SingleValueConfigurer.valueFrom(String): Enum
- removed:
ctor FragmentTestUtil() - removed:
final class FragmentTestUtil - removed:
static method FragmentTestUtil.startFragment(Fragment): void - removed:
static method FragmentTestUtil.startFragment(Fragment, Class): void - removed:
static method FragmentTestUtil.startVisibleFragment(Fragment): void - removed:
static method FragmentTestUtil.startVisibleFragment(Fragment, Class, int): void