CustomFilter


@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.ANNOTATION_TYPE])
public annotation CustomFilter


Custom test filters for Android tests.

To add a custom filter to your android test, create an annotation and use @CustomFilter to specify a filter implementation class, which must extend AbstractFilter and handle the test annotation that @CustomFilter is being added to. For example:

public @interface MyCustomFilterAnnotation {}

Summary

Public methods

abstract Class<AbstractFilter>

Public methods

filterClass

public abstract Class<AbstractFilterfilterClass()