RetryResultHelper

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)

返回是否應該運行測試用例。

公共建設者

RetryResultHelper

public RetryResultHelper ()

公開方法

shouldRunModule

public static boolean shouldRunModule (TestRunResult moduleResults, 
                 types)

返回是否應重新運行模塊。

參數
moduleResults TestRunResult

types

退貨
boolean

應該運行測試

public static boolean shouldRunTest (TestResult result, 
                 types)

返回是否應該運行測試用例。

參數
result TestResult

types

退貨
boolean