IdlingResourceTimeoutException
public final class IdlingResourceTimeoutException
extends RuntimeException
implements EspressoException
java.lang.Object |
↳ |
java.lang.Throwable |
|
↳ |
java.lang.Exception |
|
|
↳ |
java.lang.RuntimeException |
|
|
|
↳ |
android.support.test.espresso.IdlingResourceTimeoutException |
表示已在框架中注册的IdlingResource
在允许的时间内未闲置。 由于在注册资源繁忙时继续执行测试并不安全(因为它可能会导致测试结果不一致),所以这是一个不可恢复的错误。 测试作者应验证IdlingResource
接口已正确实施。
Summary
Inherited methods |
From class java.lang.Throwable
final void |
addSuppressed(Throwable arg0) |
Throwable |
fillInStackTrace() |
Throwable |
getCause() |
String |
getLocalizedMessage() |
String |
getMessage() |
StackTraceElement[] |
getStackTrace() |
final Throwable[] |
getSuppressed() |
Throwable |
initCause(Throwable arg0) |
void |
printStackTrace() |
void |
printStackTrace(PrintWriter arg0) |
void |
printStackTrace(PrintStream arg0) |
void |
setStackTrace(StackTraceElement[] arg0) |
String |
toString() |
|
From class java.lang.Object
Object |
clone() |
boolean |
equals(Object arg0) |
void |
finalize() |
final Class<?> |
getClass() |
int |
hashCode() |
final void |
notify() |
final void |
notifyAll() |
String |
toString() |
final void |
wait(long arg0, int arg1) |
final void |
wait(long arg0) |
final void |
wait() |
|
Public constructors
IdlingResourceTimeoutException
IdlingResourceTimeoutException (List<String> resourceNames)
Parameters |
resourceNames |
List
|