| java.lang.Object | |
| ↳ | android.support.test.espresso.intent.ResettingStubberImpl |
Implementation of ResettingStubber
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Marks this spy as initialized.
| |||||||||||
Clears state (initialization, expected responses).
| |||||||||||
Sets the result that will be returned to the intent sender (if the sender expects the
result), next time an intent matched by the given matcher is launched.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
|
| |||||||||||
| Parameters | |
|---|---|
intent |
Intent |
| Returns | |
|---|---|
Instrumentation.ActivityResult |
|
Marks this spy as initialized. Once initialized, ResettingStubber begins recording intents and provides intent stubbing.
| Returns | |
|---|---|
boolean |
|
Clears state (initialization, expected responses).
Must be called on main thread.
Sets the result that will be returned to the intent sender (if the sender expects the result), next time an intent matched by the given matcher is launched.
| Parameters | |
|---|---|
matcher |
Matcher |
result |
Instrumentation.ActivityResult |