public class IntentAssert
extends <any>
Intent instances.| Constructor and Description |
|---|
IntentAssert(android.content.Intent actual) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
flagsToString(int flags) |
IntentAssert |
hasAction(java.lang.String action) |
IntentAssert |
hasComponent(android.content.ComponentName expected) |
IntentAssert |
hasComponent(android.content.Context context,
java.lang.Class<?> cls) |
IntentAssert |
hasComponent(java.lang.String appPkg,
java.lang.Class<?> cls) |
IntentAssert |
hasData(java.lang.String uri) |
IntentAssert |
hasData(android.net.Uri uri) |
IntentAssert |
hasExtra(java.lang.String name) |
IntentAssert |
hasExtra(java.lang.String name,
java.lang.Object expectedValue) |
IntentAssert |
hasFlags(int flags) |
IntentAssert |
hasType(java.lang.String type) |
public IntentAssert hasAction(java.lang.String action)
public IntentAssert hasType(java.lang.String type)
public IntentAssert hasExtra(java.lang.String name)
public IntentAssert hasExtra(java.lang.String name, java.lang.Object expectedValue)
public IntentAssert hasFlags(int flags)
public IntentAssert hasData(java.lang.String uri)
public IntentAssert hasData(android.net.Uri uri)
public IntentAssert hasComponent(android.content.ComponentName expected)
public IntentAssert hasComponent(android.content.Context context, java.lang.Class<?> cls)
public IntentAssert hasComponent(java.lang.String appPkg, java.lang.Class<?> cls)
public static java.lang.String flagsToString(int flags)