Android.Test.UiThreadTest Class
This annotation can be used on an NoType:android/test/InstrumentationTestCase;Href=../../../reference/android/test/InstrumentationTestCase.html's test methods.

See Also: UiThreadTest Members

Syntax

[Android.Runtime.Register("android/test/UiThreadTest", DoNotGenerateAcw=true)]
[System.Obsolete("Use IUiThreadTest interface instead")]
public abstract class UiThreadTest : Java.Lang.Object, Java.Lang.Annotation.IAnnotation, IDisposable

Remarks

This annotation can be used on an NoType:android/test/InstrumentationTestCase;Href=../../../reference/android/test/InstrumentationTestCase.html'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.

[Android Documentation]

Requirements

Namespace: Android.Test
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1