Top Description Fields Constructors Methods
org.junit.jupiter.engine.config

public Class DefaultJupiterConfiguration

extends Object
implements JupiterConfiguration
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.engine.config.JupiterConfiguration
Annotations
@API
status:INTERNAL
since:5.4
Static Imports
org.apiguardian.api.API.Status.INTERNAL, org.junit.jupiter.api.io.CleanupMode.ALWAYS, .TempDir.DEFAULT_CLEANUP_MODE_PROPERTY_NAME, .TempDir.DEFAULT_FACTORY_PROPERTY_NAME

Default implementation of the JupiterConfiguration API.
Since
5.4

Field Summary

Modifier and TypeField and Description
private static final InstantiatingConfigurationParameterConverter<ClassOrderer>
private static final EnumConfigurationParameterConverter<CleanupMode>
private final ConfigurationParameters
private static final InstantiatingConfigurationParameterConverter<DisplayNameGenerator>
private static final EnumConfigurationParameterConverter<ExecutionMode>
private static final EnumConfigurationParameterConverter<TestInstance.Lifecycle>
private static final InstantiatingConfigurationParameterConverter<MethodOrderer>
private static final InstantiatingConfigurationParameterConverter<TempDirFactory>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ExecutionMode
public DisplayNameGenerator
public ExecutionMode
public CleanupMode
public Supplier<TempDirFactory>
public Optional<ClassOrderer>
public TestInstance.Lifecycle
public Optional<MethodOrderer>
public Predicate<ExecutionCondition>
public Optional<String>
public <T> Optional<T>
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classOrdererConverterback to summary
private static final InstantiatingConfigurationParameterConverter<ClassOrderer> classOrdererConverter
cleanupModeConverterback to summary
private static final EnumConfigurationParameterConverter<CleanupMode> cleanupModeConverter
configurationParametersback to summary
private final ConfigurationParameters configurationParameters
displayNameGeneratorConverterback to summary
private static final InstantiatingConfigurationParameterConverter<DisplayNameGenerator> displayNameGeneratorConverter
executionModeConverterback to summary
private static final EnumConfigurationParameterConverter<ExecutionMode> executionModeConverter
lifecycleConverterback to summary
private static final EnumConfigurationParameterConverter<TestInstance.Lifecycle> lifecycleConverter
methodOrdererConverterback to summary
private static final InstantiatingConfigurationParameterConverter<MethodOrderer> methodOrdererConverter
tempDirFactoryConverterback to summary
private static final InstantiatingConfigurationParameterConverter<TempDirFactory> tempDirFactoryConverter

Constructor Detail

DefaultJupiterConfigurationback to summary
public DefaultJupiterConfiguration(ConfigurationParameters configurationParameters)

Method Detail

getDefaultClassesExecutionModeback to summary
public ExecutionMode getDefaultClassesExecutionMode()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultClassesExecutionMode.

Annotations
@Override
getDefaultDisplayNameGeneratorback to summary
public DisplayNameGenerator getDefaultDisplayNameGenerator()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultDisplayNameGenerator.

Annotations
@Override
getDefaultExecutionModeback to summary
public ExecutionMode getDefaultExecutionMode()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultExecutionMode.

Annotations
@Override
getDefaultTempDirCleanupModeback to summary
public CleanupMode getDefaultTempDirCleanupMode()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultTempDirCleanupMode.

Annotations
@Override
getDefaultTempDirFactorySupplierback to summary
public Supplier<TempDirFactory> getDefaultTempDirFactorySupplier()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultTempDirFactorySupplier.

Annotations
@Override
getDefaultTestClassOrdererback to summary
public Optional<ClassOrderer> getDefaultTestClassOrderer()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultTestClassOrderer.

Annotations
@Override
getDefaultTestInstanceLifecycleback to summary
public TestInstance.Lifecycle getDefaultTestInstanceLifecycle()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultTestInstanceLifecycle.

Annotations
@Override
getDefaultTestMethodOrdererback to summary
public Optional<MethodOrderer> getDefaultTestMethodOrderer()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getDefaultTestMethodOrderer.

Annotations
@Override
getExecutionConditionFilterback to summary
public Predicate<ExecutionCondition> getExecutionConditionFilter()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getExecutionConditionFilter.

Annotations
@Override
getRawConfigurationParameterback to summary
public Optional<String> getRawConfigurationParameter(String key)

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getRawConfigurationParameter.

Annotations
@Override
getRawConfigurationParameterback to summary
public <T> Optional<T> getRawConfigurationParameter(String key, Function<String, T> transformer)

Implements org.junit.jupiter.engine.config.JupiterConfiguration.getRawConfigurationParameter.

Annotations
@Override
isExtensionAutoDetectionEnabledback to summary
public boolean isExtensionAutoDetectionEnabled()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.isExtensionAutoDetectionEnabled.

Annotations
@Override
isParallelExecutionEnabledback to summary
public boolean isParallelExecutionEnabled()

Implements org.junit.jupiter.engine.config.JupiterConfiguration.isParallelExecutionEnabled.

Annotations
@Override