Package org.junit.jupiter.engine.config
Interface JupiterConfiguration
-
- All Known Implementing Classes:
CachingJupiterConfiguration,DefaultJupiterConfiguration
@API(status=INTERNAL, since="5.4") public interface JupiterConfiguration- Since:
- 5.4
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.junit.jupiter.api.parallel.ExecutionModegetDefaultClassesExecutionMode()org.junit.jupiter.api.DisplayNameGeneratorgetDefaultDisplayNameGenerator()org.junit.jupiter.api.parallel.ExecutionModegetDefaultExecutionMode()org.junit.jupiter.api.io.CleanupModegetDefaultTempDirCleanupMode()java.util.function.Supplier<org.junit.jupiter.api.io.TempDirFactory>getDefaultTempDirFactorySupplier()java.util.Optional<org.junit.jupiter.api.ClassOrderer>getDefaultTestClassOrderer()org.junit.jupiter.api.TestInstance.LifecyclegetDefaultTestInstanceLifecycle()org.junit.jupiter.api.extension.TestInstantiationAwareExtension.ExtensionContextScopegetDefaultTestInstantiationExtensionContextScope()java.util.Optional<org.junit.jupiter.api.MethodOrderer>getDefaultTestMethodOrderer()java.util.function.Predicate<org.junit.jupiter.api.extension.ExecutionCondition>getExecutionConditionFilter()java.util.function.Predicate<java.lang.Class<? extends org.junit.jupiter.api.extension.Extension>>getFilterForAutoDetectedExtensions()OutputDirectoryCreatorgetOutputDirectoryCreator()java.util.Optional<java.lang.String>getRawConfigurationParameter(java.lang.String key)<T> java.util.Optional<T>getRawConfigurationParameter(java.lang.String key, java.util.function.Function<java.lang.String,T> transformer)booleanisClosingStoredAutoCloseablesEnabled()booleanisExtensionAutoDetectionEnabled()booleanisParallelExecutionEnabled()booleanisThreadDumpOnTimeoutEnabled()
-
-
-
Field Detail
-
EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
static final java.lang.String EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
static final java.lang.String EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
static final java.lang.String DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- See Also:
- Constant Field Values
-
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
static final java.lang.String PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
CLOSING_STORED_AUTO_CLOSEABLE_ENABLED_PROPERTY_NAME
static final java.lang.String CLOSING_STORED_AUTO_CLOSEABLE_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_EXECUTION_MODE_PROPERTY_NAME
static final java.lang.String DEFAULT_EXECUTION_MODE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
static final java.lang.String DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME
static final java.lang.String EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
EXTENSIONS_TIMEOUT_THREAD_DUMP_ENABLED_PROPERTY_NAME
static final java.lang.String EXTENSIONS_TIMEOUT_THREAD_DUMP_ENABLED_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME
static final java.lang.String DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME
static final java.lang.String DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME
static final java.lang.String DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME
static final java.lang.String DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEST_INSTANTIATION_EXTENSION_CONTEXT_SCOPE_PROPERTY_NAME
static final java.lang.String DEFAULT_TEST_INSTANTIATION_EXTENSION_CONTEXT_SCOPE_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilterForAutoDetectedExtensions
java.util.function.Predicate<java.lang.Class<? extends org.junit.jupiter.api.extension.Extension>> getFilterForAutoDetectedExtensions()
-
getRawConfigurationParameter
java.util.Optional<java.lang.String> getRawConfigurationParameter(java.lang.String key)
-
getRawConfigurationParameter
<T> java.util.Optional<T> getRawConfigurationParameter(java.lang.String key, java.util.function.Function<java.lang.String,T> transformer)
-
isParallelExecutionEnabled
boolean isParallelExecutionEnabled()
-
isClosingStoredAutoCloseablesEnabled
boolean isClosingStoredAutoCloseablesEnabled()
-
isExtensionAutoDetectionEnabled
boolean isExtensionAutoDetectionEnabled()
-
isThreadDumpOnTimeoutEnabled
boolean isThreadDumpOnTimeoutEnabled()
-
getDefaultExecutionMode
org.junit.jupiter.api.parallel.ExecutionMode getDefaultExecutionMode()
-
getDefaultClassesExecutionMode
org.junit.jupiter.api.parallel.ExecutionMode getDefaultClassesExecutionMode()
-
getDefaultTestInstanceLifecycle
org.junit.jupiter.api.TestInstance.Lifecycle getDefaultTestInstanceLifecycle()
-
getExecutionConditionFilter
java.util.function.Predicate<org.junit.jupiter.api.extension.ExecutionCondition> getExecutionConditionFilter()
-
getDefaultDisplayNameGenerator
org.junit.jupiter.api.DisplayNameGenerator getDefaultDisplayNameGenerator()
-
getDefaultTestMethodOrderer
java.util.Optional<org.junit.jupiter.api.MethodOrderer> getDefaultTestMethodOrderer()
-
getDefaultTestClassOrderer
java.util.Optional<org.junit.jupiter.api.ClassOrderer> getDefaultTestClassOrderer()
-
getDefaultTempDirCleanupMode
org.junit.jupiter.api.io.CleanupMode getDefaultTempDirCleanupMode()
-
getDefaultTempDirFactorySupplier
java.util.function.Supplier<org.junit.jupiter.api.io.TempDirFactory> getDefaultTempDirFactorySupplier()
-
getDefaultTestInstantiationExtensionContextScope
org.junit.jupiter.api.extension.TestInstantiationAwareExtension.ExtensionContextScope getDefaultTestInstantiationExtensionContextScope()
-
getOutputDirectoryCreator
OutputDirectoryCreator getOutputDirectoryCreator()
-
-