Class DisabledRetryAnalyzer

java.lang.Object
org.testng.internal.annotations.DisabledRetryAnalyzer
All Implemented Interfaces:
IRetryAnalyzer

public class DisabledRetryAnalyzer extends Object implements IRetryAnalyzer
A No operation retry analyzer that exists just to let us use proper types in @Test.retryAnalyzer()
  • Constructor Details

    • DisabledRetryAnalyzer

      public DisabledRetryAnalyzer()
  • Method Details

    • retry

      public boolean retry(ITestResult result)
      Description copied from interface: IRetryAnalyzer
      Returns true if the test method has to be retried, false otherwise.
      Specified by:
      retry in interface IRetryAnalyzer
      Parameters:
      result - The result of the test method that just ran.
      Returns:
      true if the test method has to be retried, false otherwise.