lightbulb_outline Please take our October 2018 developer survey. Start survey

Suppress

public abstract @interface Suppress
implements Annotation

androidx.test.filters.Suppress


Use this annotation on test classes or test methods that should not be included in a test suite. If the annotation appears on the class then no tests in that class will be included. If the annotation appears only on a test method then only that method will be excluded.

Note: This class replaces the deprecated Android platform annotation android.test.suitebuilder.annotation.Suppress and is the recommended way to suppress tests written with the AndroidX Test Library.

Summary

Inherited methods

From interface java.lang.annotation.Annotation