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 |
This annotation should be used along with UiThreadTestRule
or with any rule that inherits from it.
|
| UiThreadTestRule |
This rule allows the test method annotated with UiThreadTest to execute on the
application's main thread (or UI thread).
|