語言

InstrumentationTestRunner.ReportKeyNameTest 欄位

定義

若包含在傳送給 IInstrumentationWatcher 的狀態或最終套件中,此鍵可識別當前測試的名稱。

[Android.Runtime.Register("REPORT_KEY_NAME_TEST")]
public const string ReportKeyNameTest;
[<Android.Runtime.Register("REPORT_KEY_NAME_TEST")>]
val mutable ReportKeyNameTest : string

欄位值

屬性

備註

若包含在傳送給 IInstrumentationWatcher 的狀態或最終套件中,此鍵可識別當前測試的名稱。 此訊息會隨任何描述特定測試開始或完成的狀態訊息一同傳送。

Java 文件 android.test.InstrumentationTestRunner.REPORT_KEY_NAME_TEST。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於