Module org.junit.jupiter.engine
Package org.junit.jupiter.engine.config
Class CachingJupiterConfiguration
- java.lang.Object
-
- org.junit.jupiter.engine.config.CachingJupiterConfiguration
-
- All Implemented Interfaces:
JupiterConfiguration
@API(status=INTERNAL, since="5.4") public class CachingJupiterConfiguration extends Object implements JupiterConfiguration
Caching implementation of theJupiterConfiguration
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_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME, DEFAULT_TEST_INSTANCE_LIFECYCLE_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, TIMEOUT_MODE_PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description CachingJupiterConfiguration(JupiterConfiguration delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionMode
getDefaultClassesExecutionMode()
DisplayNameGenerator
getDefaultDisplayNameGenerator()
ExecutionMode
getDefaultExecutionMode()
TestInstance.Lifecycle
getDefaultTestInstanceLifecycle()
Predicate<ExecutionCondition>
getExecutionConditionFilter()
Optional<String>
getRawConfigurationParameter(String key)
boolean
isExtensionAutoDetectionEnabled()
boolean
isParallelExecutionEnabled()
-
-
-
Constructor Detail
-
CachingJupiterConfiguration
public CachingJupiterConfiguration(JupiterConfiguration delegate)
-
-
Method Detail
-
getRawConfigurationParameter
public Optional<String> getRawConfigurationParameter(String key)
- Specified by:
getRawConfigurationParameter
in interfaceJupiterConfiguration
-
isParallelExecutionEnabled
public boolean isParallelExecutionEnabled()
- Specified by:
isParallelExecutionEnabled
in interfaceJupiterConfiguration
-
isExtensionAutoDetectionEnabled
public boolean isExtensionAutoDetectionEnabled()
- Specified by:
isExtensionAutoDetectionEnabled
in interfaceJupiterConfiguration
-
getDefaultExecutionMode
public ExecutionMode getDefaultExecutionMode()
- Specified by:
getDefaultExecutionMode
in interfaceJupiterConfiguration
-
getDefaultClassesExecutionMode
public ExecutionMode getDefaultClassesExecutionMode()
- Specified by:
getDefaultClassesExecutionMode
in interfaceJupiterConfiguration
-
getDefaultTestInstanceLifecycle
public TestInstance.Lifecycle getDefaultTestInstanceLifecycle()
- Specified by:
getDefaultTestInstanceLifecycle
in interfaceJupiterConfiguration
-
getExecutionConditionFilter
public Predicate<ExecutionCondition> getExecutionConditionFilter()
- Specified by:
getExecutionConditionFilter
in interfaceJupiterConfiguration
-
getDefaultDisplayNameGenerator
public DisplayNameGenerator getDefaultDisplayNameGenerator()
- Specified by:
getDefaultDisplayNameGenerator
in interfaceJupiterConfiguration
-
-