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_ALL_CONDITIONS_PATTERN, DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME, DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME, DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME, DEFAULT_EXECUTION_MODE_PROPERTY_NAME, DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME, DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME, DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME, DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TIMEOUT_PROPERTY_NAME, EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME, PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME, TEMP_DIR_SCOPE_PROPERTY_NAME, TIMEOUT_MODE_PROPERTY_NAME
-
Constructor Summary
ConstructorDescriptionDefaultJupiterConfiguration(ConfigurationParameters configurationParameters)
-
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>
getRawConfigurationParameter(String key, Function<String,T> transformer)
boolean
boolean
-
Constructor Details
-
DefaultJupiterConfiguration
-
-
Method Details
-
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
-
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
-