RetryResultHelper

public final class RetryResultHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.retry.RetryResultHelper


Helper class to determine which module or test should run or not.

Summary

Public constructors

RetryResultHelper()

Public methods

static boolean shouldRunModule(TestRunResult moduleResults, types)

Returns whether or not a module should be re-run.

static boolean shouldRunTest(TestResult result, types)

Returns whether or not a test case should be run or not.

Public constructors

RetryResultHelper

public RetryResultHelper ()

Public methods

shouldRunModule

public static boolean shouldRunModule (TestRunResult moduleResults, 
                 types)

Returns whether or not a module should be re-run.

Parameters
moduleResults TestRunResult

types

Returns
boolean

shouldRunTest

public static boolean shouldRunTest (TestResult result, 
                 types)

Returns whether or not a test case should be run or not.

Parameters
result TestResult

types

Returns
boolean