Class BaseInvoker

    • Field Detail

      • m_invokedMethodListeners

        private final java.util.Collection<IInvokedMethodListener> m_invokedMethodListeners
      • m_classInvocationResults

        protected final java.util.Map<java.lang.Class<?>,​java.util.Set<java.lang.Object>> m_classInvocationResults
        Class failures must be synced as the Invoker is accessed concurrently
    • Method Detail

      • noListenersPresent

        private boolean noListenersPresent()
      • handleException

        protected void handleException​(java.lang.Throwable throwable,
                                       ITestNGMethod testMethod,
                                       ITestResult testResult,
                                       int failureCount)
        An exception was thrown by the test, determine if this method should be marked as a failure or as failure_but_within_successPercentage
      • isSkipExceptionAndSkip

        protected boolean isSkipExceptionAndSkip​(java.lang.Throwable ite)
      • log

        static void log​(int level,
                        java.lang.String s)