SkipReason

public class SkipReason
extends Object

java.lang.Object 中
   ↳ com.android.tradefed.result.skipped.SkipReason


请提供跳过测试的原因及其元数据。

摘要

公共构造函数

SkipReason(String message, String trigger)
SkipReason(String message, SkipReason.DemotionTrigger trigger)
SkipReason(String message, SkipReason.DemotionTrigger trigger, String bugId)
SkipReason(String message, String trigger, String bugId)

公共方法

static SkipReason fromString(String skipReasonMessage)

toString() 解析为 SkipReason

String getBugId()

返回与跳过状态相关联的 bug ID。

String getReason()

返回与跳过状态相关联的原因。

String getTrigger()

返回与跳过状态相关联的触发器。

String toString()

公共构造函数

SkipReason

public SkipReason (String message, 
                String trigger)

参数
message String

trigger String

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, 
                String bugId)

参数
message String

trigger String

bugId String

公共方法

fromString

public static SkipReason fromString (String skipReasonMessage)

toString() 解析为 SkipReason

参数
skipReasonMessage String

返回
SkipReason

getBugId

public String getBugId ()

返回与跳过状态相关联的 bug ID。可选。

返回
String

getReason

public String getReason ()

返回与跳过状态相关联的原因。

返回
String

getTrigger

public String getTrigger ()

返回与跳过状态相关联的触发器。

返回
String

toString

public String toString ()

返回
String