UiThreadTestAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
標記 android.test.InstrumentationTestCase 一個測試方法,要在應用程式的主執行緒上執行。
[Android.Runtime.Annotation("android.test.UiThreadTest")]
public class UiThreadTestAttribute : Attribute
[<Android.Runtime.Annotation("android.test.UiThreadTest")>]
type UiThreadTestAttribute = class
inherit Attribute
- 繼承
-
UiThreadTestAttribute
- 屬性
備註
此註解已被棄用。 改用 UiThreadTest 。 新的測試應該使用 AndroidX 測試來撰寫。
的 android.test.UiThreadTestJava 檔。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
建構函式
| 名稱 | Description |
|---|---|
| UiThreadTestAttribute() |
標記 |