Module org.junit.jupiter.engine
Package org.junit.jupiter.engine.config
Class DefaultJupiterConfiguration
java.lang.Object
org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- All Implemented Interfaces:
JupiterConfiguration
@API(status=INTERNAL,
since="5.4")
public class DefaultJupiterConfiguration
extends Object
implements JupiterConfiguration
Default implementation of the
JupiterConfiguration
API.- Since:
- 5.4
-
Field Summary
Fields inherited from interface org.junit.jupiter.engine.config.JupiterConfiguration
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME, DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME, DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME, DEFAULT_EXECUTION_MODE_PROPERTY_NAME, DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME, DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME, DEFAULT_TEST_INSTANTIATION_EXTENSION_CONTEXT_SCOPE_PROPERTY_NAME, DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME, EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME, EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME, EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME, EXTENSIONS_TIMEOUT_THREAD_DUMP_ENABLED_PROPERTY_NAME, PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
-
Constructor Summary
ConstructorDescriptionDefaultJupiterConfiguration
(ConfigurationParameters configurationParameters, OutputDirectoryProvider outputDirectoryProvider) -
Method Summary
Modifier and TypeMethodDescription<T> Optional
<T> getRawConfigurationParameter
(String key, Function<String, T> transformer) boolean
boolean
boolean
-
Constructor Details
-
DefaultJupiterConfiguration
public DefaultJupiterConfiguration(ConfigurationParameters configurationParameters, OutputDirectoryProvider outputDirectoryProvider)
-
-
Method Details
-
getFilterForAutoDetectedExtensions
- Specified by:
getFilterForAutoDetectedExtensions
in interfaceJupiterConfiguration
-
getRawConfigurationParameter
- Specified by:
getRawConfigurationParameter
in interfaceJupiterConfiguration
-
getRawConfigurationParameter
- Specified by:
getRawConfigurationParameter
in interfaceJupiterConfiguration
-
isParallelExecutionEnabled
public boolean isParallelExecutionEnabled()- Specified by:
isParallelExecutionEnabled
in interfaceJupiterConfiguration
-
isExtensionAutoDetectionEnabled
public boolean isExtensionAutoDetectionEnabled()- Specified by:
isExtensionAutoDetectionEnabled
in interfaceJupiterConfiguration
-
isThreadDumpOnTimeoutEnabled
public boolean isThreadDumpOnTimeoutEnabled()- Specified by:
isThreadDumpOnTimeoutEnabled
in interfaceJupiterConfiguration
-
getDefaultExecutionMode
- Specified by:
getDefaultExecutionMode
in interfaceJupiterConfiguration
-
getDefaultClassesExecutionMode
- Specified by:
getDefaultClassesExecutionMode
in interfaceJupiterConfiguration
-
getDefaultTestInstanceLifecycle
- Specified by:
getDefaultTestInstanceLifecycle
in interfaceJupiterConfiguration
-
getExecutionConditionFilter
- Specified by:
getExecutionConditionFilter
in interfaceJupiterConfiguration
-
getDefaultDisplayNameGenerator
- Specified by:
getDefaultDisplayNameGenerator
in interfaceJupiterConfiguration
-
getDefaultTestMethodOrderer
- Specified by:
getDefaultTestMethodOrderer
in interfaceJupiterConfiguration
-
getDefaultTestClassOrderer
- Specified by:
getDefaultTestClassOrderer
in interfaceJupiterConfiguration
-
getDefaultTempDirCleanupMode
- Specified by:
getDefaultTempDirCleanupMode
in interfaceJupiterConfiguration
-
getDefaultTempDirFactorySupplier
- Specified by:
getDefaultTempDirFactorySupplier
in interfaceJupiterConfiguration
-
getDefaultTestInstantiationExtensionContextScope
public TestInstantiationAwareExtension.ExtensionContextScope getDefaultTestInstantiationExtensionContextScope()- Specified by:
getDefaultTestInstantiationExtensionContextScope
in interfaceJupiterConfiguration
-
getOutputDirectoryProvider
- Specified by:
getOutputDirectoryProvider
in interfaceJupiterConfiguration
-