Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How much of Robolectric is exposed in AndroidX Test

40 views
Skip to first unread message

Brett Slote

unread,
Feb 17, 2021, 9:32:10 AM2/17/21
to Robolectric
Hello,

I understand from http://robolectric.org/androidx_test/ that some subset of Robolectric 4 is exposed through AndroidX Test, with the Robolectric equivalents to be deprecated.

Is there a reference for exactly what this subset is? I.e, which parts of Robolectric are not (yet?) exposed through AndroidX Test.

For example, a developer is reporting that these APIs exist in Robolectric, but not in AndroidX: MediaPlayer, MediaController, MediaRecorder, Parcel, Settings, TelephonyManager, WifiManager, ProgressBar, AlertDialog, ApplicationPackageManager, AudioManager, AudioRecord, Notification, CameraManager, ContentProvider, KeyguardManager, Looper, BatteryManager, Binder, BluetoothAdapter, BroadcastReceiver, AccessibilityManager, AccessibilityService, AccountManager, AlarmManager, BackupManager, BiometricManager, Dialog, DownloadManager, DisplayManager, GLES20, IntentService, LinearLayout, Messenger, Network

I would just like to know if that's correct, and we should still be using Robolectric for this type of thing, or if we've gone down a wrong path, and there are AndroidX equivalents we should be using.

Thank you.
Reply all
Reply to author
Forward
0 new messages