| java.lang.Object | |
| ↳ | android.support.test.runner.intent.IntentStubberRegistry |
Exposes an implementation of IntentStubber.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the loaded Intent Stubber mInstance.
| |||||||||||
Loads an
IntentStubber into this registry.
| |||||||||||
Clears the current instance of Intent Stubber.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns the loaded Intent Stubber mInstance.
| IllegalStateException | if this method is not called on the main thread. |
|---|---|
| IllegalStateException | if no Intent Stubber has been loaded. |
Loads an IntentStubber into this registry. There can only be one active stubber at a
time.
Calling this method multiple times in the same instrumentation will result in an exception.
This method can be called from any thread.
Clears the current instance of Intent Stubber.