|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.testng.util.RetryAnalyzerCount
public abstract class RetryAnalyzerCount
An implementation of IRetryAnalyzer that allows you to specify the maximum number of times you want your test to be retried.
| Constructor Summary | |
|---|---|
RetryAnalyzerCount()
|
|
| Method Summary | |
|---|---|
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)
Set the max number of time the method needs to be retried. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RetryAnalyzerCount()
| Method Detail |
|---|
protected void setCount(int count)
count - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||