RetryResultHelper
public final class RetryResultHelper
extends Object
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.RetryResultHelper |
Hilfsklasse, um zu bestimmen, welches Modul oder welcher Test ausgeführt werden soll oder nicht.
Zusammenfassung
Öffentliche Konstrukteure | |
---|---|
RetryResultHelper () |
Öffentliche Methoden | |
---|---|
static boolean | shouldRunModule ( TestRunResult moduleResults, types) shouldRunModule ( TestRunResult moduleResults, types) Gibt zurück, ob ein Modul erneut ausgeführt werden soll oder nicht. |
static boolean | shouldRunTest ( TestResult result, types) shouldRunTest ( TestResult result, types) Gibt zurück, ob ein Testfall ausgeführt werden soll oder nicht. |
Öffentliche Konstrukteure
RetryResultHelper
public RetryResultHelper ()
Öffentliche Methoden
sollteRunModule
public static boolean shouldRunModule (TestRunResult moduleResults,types)
Gibt zurück, ob ein Modul erneut ausgeführt werden soll oder nicht.
Parameter | |
---|---|
moduleResults | TestRunResult |
types |
Kehrt zurück | |
---|---|
boolean |
sollteRunTest
public static boolean shouldRunTest (TestResult result,types)
Gibt zurück, ob ein Testfall ausgeführt werden soll oder nicht.
Parameter | |
---|---|
result | TestResult |
types |
Kehrt zurück | |
---|---|
boolean |