FileDocCategorySizeDatePackage
UiAutomatorTestCaseFilter.javaAPI DocAndroid 5.1 API1350Thu Mar 12 22:22:08 GMT 2015com.android.uiautomator.testrunner

UiAutomatorTestCaseFilter

public class UiAutomatorTestCaseFilter extends Object implements com.android.uiautomator.testrunner.TestCaseCollector.TestCaseFilter
A {@link TestCaseFilter} that accepts testFoo methods and {@link UiAutomatorTestCase} classes
hide

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.lang.reflect.Method method)

        return ((method.getParameterTypes().length == 0) &&
                (method.getName().startsWith("test")) &&
                (method.getReturnType().getSimpleName().equals("void")));
    
public booleanaccept(java.lang.Class clazz)

        return UiAutomatorTestCase.class.isAssignableFrom(clazz);