java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | android.support.test.espresso.AppNotIdleException |
An exception which indicates that the App has not become idle even after the specified duration.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new AppNotIdleException suitable for erroring out a test case.
| |||||||||||
This method is deprecated.
use
create(List, String) instead
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new AppNotIdleException suitable for erroring out a test case.
This should be called only from the main thread if the app does not idle out within the specified duration.
idleConditions | list of idleConditions that failed to become idle. |
---|---|
message | a message about the failure. |
This method is deprecated.
use create(List, String)
instead
Creates a new AppNotIdleException suitable for erroring out a test case.
This should be called only from the main thread if the app does not idle out within the specified duration.
idleConditions | list of idleConditions that failed to become idle. |
---|---|
loopCount | number of times it was tried to check if they became idle. |
seconds | number of seconds that was tried before giving up. |