SkipReason
public
class
SkipReason
extends Object
java.lang.Object | |
↳ | com.android.tradefed.result.skipped.SkipReason |
提供略過測試的原因和相關中繼資料。
摘要
公用建構函式 | |
---|---|
SkipReason(String message, SkipReason.DemotionTrigger trigger)
|
|
SkipReason(String message, SkipReason.DemotionTrigger trigger, String bugId)
|
|
SkipReason(String message, String trigger)
|
|
SkipReason(String message, String trigger, String bugId)
|
公用方法 | |
---|---|
static
SkipReason
|
fromString(String skipReasonMessage)
將 |
String
|
getBugId()
傳回與略過狀態相關聯的錯誤 ID。 |
String
|
getReason()
傳回與略過狀態相關的理由。 |
String
|
getTrigger()
傳回與略過狀態相關聯的觸發條件。 |
String
|
toString()
|
公用建構函式
SkipReason
public SkipReason (String message, SkipReason.DemotionTrigger trigger)
參數 | |
---|---|
message |
String |
trigger |
SkipReason.DemotionTrigger |
SkipReason
public SkipReason (String message, SkipReason.DemotionTrigger trigger, String bugId)
參數 | |
---|---|
message |
String |
trigger |
SkipReason.DemotionTrigger |
bugId |
String |
SkipReason
public SkipReason (String message, String trigger)
參數 | |
---|---|
message |
String |
trigger |
String |
SkipReason
public SkipReason (String message, String trigger, String bugId)
參數 | |
---|---|
message |
String |
trigger |
String |
bugId |
String |
公用方法
fromString
public static SkipReason fromString (String skipReasonMessage)
將 toString()
剖析為 SkipReason
。
參數 | |
---|---|
skipReasonMessage |
String |
傳回 | |
---|---|
SkipReason |
getBugId
public String getBugId ()
傳回與略過狀態相關聯的錯誤 ID。選用項目。
傳回 | |
---|---|
String |
getReason
public String getReason ()
傳回與略過狀態相關的理由。
傳回 | |
---|---|
String |
getTrigger
public String getTrigger ()
傳回與略過狀態相關聯的觸發事件。
傳回 | |
---|---|
String |
toString
public String toString ()
傳回 | |
---|---|
String |