重試結果助手
public final class RetryResultHelper
extends Object
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.RetryResultHelper |
幫助程序類,用於確定應該運行或不運行哪個模塊或測試。
概括
公共構造函數 | |
---|---|
RetryResultHelper () |
公共方法 | |
---|---|
static boolean | shouldRunModule ( TestRunResult moduleResults, types) shouldRunModule ( TestRunResult moduleResults, types) 返回模塊是否應該重新運行。 |
static boolean | shouldRunTest ( TestResult result, types) shouldRunTest ( TestResult result, types) 返回是否應該運行測試用例。 |
公共構造函數
重試結果助手
public RetryResultHelper ()
公共方法
應該運行模塊
public static boolean shouldRunModule (TestRunResult moduleResults,types)
返回模塊是否應該重新運行。
參數 | |
---|---|
moduleResults | TestRunResult |
types |
退貨 | |
---|---|
boolean |
應該運行測試
public static boolean shouldRunTest (TestResult result,types)
返回是否應該運行測試用例。
參數 | |
---|---|
result | TestResult |
types |
退貨 | |
---|---|
boolean |