Added in API level 1
Deprecated in API level 24

UiThreadTest

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.

Summary

Inherited methods