public
abstract
@interface
UiThreadTest
implements
Annotation
android.test.UiThreadTest |
This @interface was deprecated
in API level 24.
Use
UiThreadTest instead. New tests should be written using the
Android Testing Support Library.
This annotation can be used on an InstrumentationTestCase
's test methods.
When the annotation is present, the test method is executed on the application's
main thread (or UI thread.) Note that instrumentation methods may not be used
when this annotation is present.
Inherited methods | |
---|---|
From
interface
java.lang.annotation.Annotation
|