These are the Android API classes. See all API packages.
| ActivityTestRule<T extends Activity> | This rule provides functional testing of a single activity. |
| AtraceLogger | Class contains helper methods to dump atrace info asynchronously while running the test case |
| DisableOnAndroidDebug |
The DisableOnAndroidDebug Rule allows you to label certain rules to be
disabled when debugging.
|
| EnableTestTracingRule |
When applied to a test class this TestRule calls
Trace.beginSection() before test method execution.
|
| LogBatteryInformationRule |
When applied to a test class this Rule resets battery information ("stats") before
test method execution.
|
| LogDeviceGetPropInfoRule |
When applied to a test class this Rule executes the "getprop" device command after
test method execution and logs it to a file on external storage.
|
| LoggingBaseRule | Base class for logging rules to remove boiler-plate instance variables used by most logging rules. |
| LogGraphicsStatsRule |
When applied to a test class this Rule performs a graphics system information reset
before test method execution.
|
| LogLogcatRule |
When applied to a test class this Rule attempts to clear the Logcat buffer on the device
before test method execution.
|
| LogNetStatsRule |
When applied to a test class this Rule performs a network system information reset
before test method execution.
|
| RuleLoggingUtils | Convenience methods to ensure logging rules perform certain actions in the same manner. |
| ServiceTestRule | A JUnit rule that provides a simplified mechanism to start and shutdown your service before and after the duration of your test. |
| UiThreadTest | Methods annotated with this annotation will be executed on the application's UI thread (or main thread). |
| UiThreadTestRule |
This class is deprecated.
use UiThreadTest directly without this rule. UiThreadTest is now
supported as part of the core Android test runner to provide the ability to run methods
annotated with @Before and @After on the UI thread regardless of what
@Test is annotated with.
|