Added in API level 1
Deprecated in API level 24

Suppress

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class Suppress
android.test.suitebuilder.annotation.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.

Summary

Public constructors

Use this annotation on test classes or test methods that should not be included in a test suite.

Public constructors

Suppress

Added in API level 1
Deprecated in API level 24
Suppress()

Deprecated: Use Suppress instead. New tests should be written using the Android Testing Support Library.

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.