| Modifier and Type | Field and Description |
|---|---|
| protected final Map | m_classInvocationResults
Class failures must be synced as the Invoker is accessed concurrently |
| protected IConfiguration | |
| private final Collection | |
| protected final ITestResultNotifier | |
| protected final SuiteRunState | |
| protected final ITestContext | |
| protected final Object | |
| private final ISuiteRunnerListener |
| Access | Constructor and Description |
|---|---|
| public | BaseInvoker(ITestResultNotifier notifier, Collection<IInvokedMethodListener> invokedMethodListeners, ITestContext testContext, SuiteRunState suiteState, IConfiguration configuration, ISuiteRunnerListener suiteRunner)
|
| Modifier and Type | Method and Description |
|---|---|
| protected IAnnotationFinder | |
| protected void | handleException(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 | |
| pack-priv static void | |
| private boolean | |
| protected void | runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, ITestResult testResult)
|
| m_classInvocationResults | back to summary |
|---|---|
| protected final Map<Class<?>, Set<Object>> m_classInvocationResults Class failures must be synced as the Invoker is accessed concurrently | |
| m_configuration | back to summary |
|---|---|
| protected IConfiguration m_configuration | |
| m_invokedMethodListeners | back to summary |
|---|---|
| private final Collection<IInvokedMethodListener> m_invokedMethodListeners | |
| m_notifier | back to summary |
|---|---|
| protected final ITestResultNotifier m_notifier | |
| m_suiteState | back to summary |
|---|---|
| protected final SuiteRunState m_suiteState | |
| m_testContext | back to summary |
|---|---|
| protected final ITestContext m_testContext | |
| NULL_OBJECT | back to summary |
|---|---|
| protected final Object NULL_OBJECT | |
| suiteRunner | back to summary |
|---|---|
| private final ISuiteRunnerListener suiteRunner | |
| BaseInvoker | back to summary |
|---|---|
| public BaseInvoker(ITestResultNotifier notifier, Collection<IInvokedMethodListener> invokedMethodListeners, ITestContext testContext, SuiteRunState suiteState, IConfiguration configuration, ISuiteRunnerListener suiteRunner) | |
| annotationFinder | back to summary |
|---|---|
| protected IAnnotationFinder annotationFinder() | |
| handleException | back to summary |
|---|---|
| protected void handleException(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 | back to summary |
|---|---|
| protected boolean isSkipExceptionAndSkip(Throwable ite) | |
| log | back to summary |
|---|---|
| pack-priv static void log(int level, String s) | |
| noListenersPresent | back to summary |
|---|---|
| private boolean noListenersPresent() | |
| runInvokedMethodListeners | back to summary |
|---|---|
| protected void runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, ITestResult testResult) | |