Class Retry50

  • All Implemented Interfaces:
    org.testng.IRetryAnalyzer

    public final class Retry50
    extends org.testng.util.RetryAnalyzerCount
    An RetryAnalyzerCount extension which sets the count to 50.

    This IRetryAnalyzer should only be applied to methods we know they should run successfully but do not for some reason. The retry analyzer exits as soon as it made a successful call.

    • Constructor Summary

      Constructors 
      Constructor Description
      Retry50()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean retryMethod​(org.testng.ITestResult result)  
      • Methods inherited from class org.testng.util.RetryAnalyzerCount

        getCount, retry, setCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Retry50

        public Retry50()
    • Method Detail

      • retryMethod

        public final boolean retryMethod​(org.testng.ITestResult result)
        Specified by:
        retryMethod in class org.testng.util.RetryAnalyzerCount