重試結果助手

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