public abstract class RetryAnalyzerCount extends Object implements IRetryAnalyzer
| Constructor and Description |
|---|
RetryAnalyzerCount() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCount() |
boolean |
retry(ITestResult result)
Retries the test if count is not 0.
|
abstract boolean |
retryMethod(ITestResult result)
The method implemented by the class that test if the test must be retried or not.
|
protected void |
setCount(int count) |
protected void setCount(int count)
count - the max number of time the method needs to be retried.protected int getCount()
public boolean retry(ITestResult result)
retry in interface IRetryAnalyzerresult - The result of the test.public abstract boolean retryMethod(ITestResult result)
result - The result of the test.Copyright © 2025. All rights reserved.