to top
Android APIs
public abstract @interface

UiThreadTest

implements Annotation
android.test.UiThreadTest

Class Overview

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

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.