class BaseInvoker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected 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
|
protected IConfiguration |
m_configuration |
private java.util.Collection<IInvokedMethodListener> |
m_invokedMethodListeners |
protected ITestResultNotifier |
m_notifier |
protected SuiteRunState |
m_suiteState |
protected ITestContext |
m_testContext |
Constructor and Description |
---|
BaseInvoker(ITestResultNotifier notifier,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
ITestContext testContext,
SuiteRunState suiteState,
IConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected IAnnotationFinder |
annotationFinder() |
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
|
protected boolean |
isSkipExceptionAndSkip(java.lang.Throwable ite) |
(package private) static void |
log(int level,
java.lang.String s) |
private boolean |
noListenersPresent() |
protected void |
runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod,
IInvokedMethod invokedMethod,
ITestResult testResult) |
private final java.util.Collection<IInvokedMethodListener> m_invokedMethodListeners
protected final ITestResultNotifier m_notifier
protected final ITestContext m_testContext
protected final SuiteRunState m_suiteState
protected IConfiguration m_configuration
protected final java.util.Map<java.lang.Class<?>,java.util.Set<java.lang.Object>> m_classInvocationResults
public BaseInvoker(ITestResultNotifier notifier, java.util.Collection<IInvokedMethodListener> invokedMethodListeners, ITestContext testContext, SuiteRunState suiteState, IConfiguration configuration)
protected IAnnotationFinder annotationFinder()
protected void runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, ITestResult testResult)
private boolean noListenersPresent()
protected void handleException(java.lang.Throwable throwable, ITestNGMethod testMethod, ITestResult testResult, int failureCount)
protected boolean isSkipExceptionAndSkip(java.lang.Throwable ite)
static void log(int level, java.lang.String s)