AccessibilityChecks
public final class AccessibilityChecks
extends Object
java.lang.Object |
↳ |
android.support.test.espresso.contrib.AccessibilityChecks |
在Espresso测试中启用自动化可访问性检查的类。 这些检查将以全局ViewAssertion
运行,并涵盖各种可访问性问题(请参阅LATEST
查看运行哪些检查)。
Summary
Inherited methods |
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 methods
enable
AccessibilityValidator enable ()
以 ViewActions
的全局ViewAssertion启用可访问性检查。
Returns |
AccessibilityValidator |
the backing AccessibilityValidator , on which options for check execution can be set |