These are the Android API classes. See all API packages.
| ActivityLifecycleCallback | Callback for monitoring activity lifecycle events. |
| ActivityLifecycleMonitor | Interface for tests to use when they need to query the activity lifecycle state. |
| ActivityLifecycleMonitorImpl |
The lifecycle monitor used by AndroidJUnitRunner.
|
| ActivityLifecycleMonitorRegistry | An exposed registry instance to make it easy for callers to find the lifecycle monitor for their application. |
| AnalyticsBasedUsageTracker | Creates a usage tracker that pings google analytics when infra bits get used. |
| AnalyticsBasedUsageTracker.Builder | Builder for AnalyticsBasedUsageTracker. |
| AndroidJUnit4 | Aliases the current default Android JUnit 4 class runner, for future-proofing. |
| AndroidJUnitRunner |
An Instrumentation that runs JUnit3 and JUnit4 tests against
an Android package (application).
|
| AndroidRunnerParams | Helper class to store frequently passed parameters between the different test runners |
| BuildConfig |
| Checks | Utility method for checking for null references |
| FlakyTest | Designates a test as being flaky (non-deterministic). |
| InstrumentationRegistry | An exposed registry instance that holds a reference to the instrumentation running in the process and it's arguments. |
| MonitoringInstrumentation | An instrumentation that enables several advanced features and makes some hard guarantees about the state of the application under instrumentation. |
| MonitoringInstrumentation.ActivityFinisher | Loops through all the activities that have not yet finished and explicitly calls finish on them. |
| RequiresDevice | Indicates that a specific test should not be run on emulator. |
| SdkSuppress | Indicates that a specific test or class requires a minimum API Level to execute. |
| Stage | An enumeration of the lifecycle stages an activity undergoes. |
| UsageTracker | Used by test infrastructure to report usage stats (optionally). |
| UsageTracker.NoOpUsageTracker | NoOp implementation. |
| UsageTrackerRegistry |
A registry to hold the global UsageTracker.
|