| ActivityTestRule<T extends Activity> |
This rule provides functional testing of a single Activity. |
| DisableOnAndroidDebug |
The DisableOnAndroidDebug Rule allows you to label certain rules to be
disabled when debugging. |
| GrantPermissionRule |
The GrantPermissionRule Rule allows granting of runtime permissions on Android M (API 23)
and above. |
| PortForwardingRule |
A TestRule to forward network traffic to a specific port. |
| PortForwardingRule.Builder |
|
| ServiceTestRule |
A JUnit rule that provides a simplified mechanism to start and shutdown your service before
and after the duration of your test. |
| 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.
|