{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class IntentSubject
Subject for making assertions about Intents.
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
static IntentSubject |
assertThat(Intent intent) |
IterableSubject |
|
BundleSubject |
extras() |
void |
filtersEquallyTo(Intent intent) |
void |
|
void |
hasComponent(String packageName, String className) |
void |
hasComponent(ComponentName component) |
void |
hasComponentClass(Class<Object> componentClass) |
void |
hasComponentClass(String className) |
void |
hasComponentPackage(String packageName) |
void |
hasData(Uri uri) |
void |
hasFlags(int flag)Assert that the intent has the given flag set. |
void |
|
void |
hasPackage(String packageName) |
void |
|
static Factory<IntentSubject, Intent> |
intents() |
public void hasComponentClass(Class<Object> componentClass)
| See also | |
|---|---|
hasComponentClass |
|