重试结果助手
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 |