Package org.testng.internal
Class Configuration
java.lang.Object
org.testng.internal.Configuration
- All Implemented Interfaces:
IConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
boolean
boolean
boolean
boolean
void
void
setAlwaysRunListeners
(boolean alwaysRunListeners) void
setAnnotationFinder
(IAnnotationFinder finder) void
void
setExecutorServiceFactory
(IExecutorServiceFactory executorServiceFactory) void
void
setInjectorFactory
(IInjectorFactory factory) void
setListenerComparator
(ListenerComparator comparator) void
setListenerFactory
(ITestNGListenerFactory testNGListenerFactory) void
setObjectFactory
(ITestObjectFactory factory) void
setOverrideIncludedMethods
(boolean overrideIncludedMethods) void
setReportAllDataDrivenTestsAsSkipped
(boolean reportAllDataDrivenTestsAsSkipped) void
shareThreadPoolForDataProviders
(boolean flag) void
shouldUseGlobalThreadPool
(boolean flag) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.internal.IConfiguration
addExecutionListener
-
Constructor Details
-
Configuration
public Configuration() -
Configuration
-
-
Method Details
-
getAnnotationFinder
- Specified by:
getAnnotationFinder
in interfaceIConfiguration
-
setAnnotationFinder
- Specified by:
setAnnotationFinder
in interfaceIConfiguration
-
setListenerFactory
- Specified by:
setListenerFactory
in interfaceIConfiguration
-
getListenerFactory
- Specified by:
getListenerFactory
in interfaceIConfiguration
-
setListenerComparator
- Specified by:
setListenerComparator
in interfaceIConfiguration
-
getListenerComparator
- Specified by:
getListenerComparator
in interfaceIConfiguration
-
getObjectFactory
- Specified by:
getObjectFactory
in interfaceIConfiguration
-
setObjectFactory
- Specified by:
setObjectFactory
in interfaceIConfiguration
-
getHookable
- Specified by:
getHookable
in interfaceIConfiguration
-
setHookable
- Specified by:
setHookable
in interfaceIConfiguration
-
getConfigurable
- Specified by:
getConfigurable
in interfaceIConfiguration
-
setConfigurable
- Specified by:
setConfigurable
in interfaceIConfiguration
-
getExecutionListeners
- Specified by:
getExecutionListeners
in interfaceIConfiguration
-
addExecutionListenerIfAbsent
- Specified by:
addExecutionListenerIfAbsent
in interfaceIConfiguration
-
getConfigurationListeners
- Specified by:
getConfigurationListeners
in interfaceIConfiguration
-
addConfigurationListener
- Specified by:
addConfigurationListener
in interfaceIConfiguration
-
setAlwaysRunListeners
public void setAlwaysRunListeners(boolean alwaysRunListeners) - Specified by:
setAlwaysRunListeners
in interfaceIConfiguration
-
setExecutorServiceFactory
- Specified by:
setExecutorServiceFactory
in interfaceIConfiguration
-
getExecutorServiceFactory
- Specified by:
getExecutorServiceFactory
in interfaceIConfiguration
-
alwaysRunListeners
public boolean alwaysRunListeners()- Specified by:
alwaysRunListeners
in interfaceIConfiguration
-
setInjectorFactory
- Specified by:
setInjectorFactory
in interfaceIConfiguration
-
getInjectorFactory
- Specified by:
getInjectorFactory
in interfaceIConfiguration
-
getOverrideIncludedMethods
public boolean getOverrideIncludedMethods()- Specified by:
getOverrideIncludedMethods
in interfaceIConfiguration
-
setOverrideIncludedMethods
public void setOverrideIncludedMethods(boolean overrideIncludedMethods) - Specified by:
setOverrideIncludedMethods
in interfaceIConfiguration
-
setReportAllDataDrivenTestsAsSkipped
public void setReportAllDataDrivenTestsAsSkipped(boolean reportAllDataDrivenTestsAsSkipped) - Specified by:
setReportAllDataDrivenTestsAsSkipped
in interfaceIConfiguration
-
getReportAllDataDrivenTestsAsSkipped
public boolean getReportAllDataDrivenTestsAsSkipped()- Specified by:
getReportAllDataDrivenTestsAsSkipped
in interfaceIConfiguration
-
propagateDataProviderFailureAsTestFailure
public void propagateDataProviderFailureAsTestFailure()- Specified by:
propagateDataProviderFailureAsTestFailure
in interfaceIConfiguration
-
isPropagateDataProviderFailureAsTestFailure
public boolean isPropagateDataProviderFailureAsTestFailure()- Specified by:
isPropagateDataProviderFailureAsTestFailure
in interfaceIConfiguration
-
useGlobalThreadPool
public boolean useGlobalThreadPool()- Specified by:
useGlobalThreadPool
in interfaceIConfiguration
-
shouldUseGlobalThreadPool
public void shouldUseGlobalThreadPool(boolean flag) - Specified by:
shouldUseGlobalThreadPool
in interfaceIConfiguration
-