RetryRescheduler
public
final
class
RetryRescheduler
extends Object
implements
IRemoteTest,
IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.RetryRescheduler |
A special runner that allows to reschedule a previous run tests that failed or where not executed.
Summary
Nested classes | |
---|---|
enum |
RetryRescheduler.RetryType
The types of the tests that can be retried. |
Fields | |
---|---|
public
static
final
String |
PREVIOUS_LOADER_NAME
|
Public constructors | |
---|---|
RetryRescheduler()
|
Public methods | |
---|---|
IConfiguration
|
getRetryConfiguration()
Returns the |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
void
|
setConfiguration(IConfiguration configuration)
Injects the |
void
|
setRescheduler(IRescheduler rescheduler)
|
Fields
PREVIOUS_LOADER_NAME
public static final String PREVIOUS_LOADER_NAME
Public constructors
RetryRescheduler
public RetryRescheduler ()
Public methods
getRetryConfiguration
public IConfiguration getRetryConfiguration ()
Returns the IConfiguration
that should be retried.
Returns | |
---|---|
IConfiguration |
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Parameters | |
---|---|
testInfo |
TestInformation |
listener |
ITestInvocationListener |
Throws | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters | |
---|---|
configuration |
IConfiguration |
setRescheduler
public void setRescheduler (IRescheduler rescheduler)
Parameters | |
---|---|
rescheduler |
IRescheduler |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2020-09-08 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]