Class Constants
java.lang.Object
org.junit.vintage.engine.Constants
@Deprecated(since="6.0")
@API(status=DEPRECATED,
since="6.0")
public final class Constants
extends Object
Deprecated.
Should only be used temporarily while migrating tests to JUnit
Jupiter or another testing framework with native JUnit Platform support
Collection of constants related to the
VintageTestEngine.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Property name used to configure whether the JUnit Vintage engine should report discovery issues such as deprecation notices.static final StringDeprecated.Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.static final StringDeprecated.Indicates whether parallel execution is enabled for the JUnit Vintage engine.static final StringDeprecated.Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.static final StringDeprecated.Specifies the size of the thread pool to be used for parallel execution. -
Method Summary
-
Field Details
-
PARALLEL_EXECUTION_ENABLED
Deprecated.Indicates whether parallel execution is enabled for the JUnit Vintage engine.Set this property to
trueto enable parallel execution of tests. Defaults tofalse.- Since:
- 5.12
- See Also:
-
PARALLEL_POOL_SIZE
Deprecated.Specifies the size of the thread pool to be used for parallel execution.Set this property to an integer value to specify the number of threads to be used for parallel execution. Defaults to the number of available processors.
- Since:
- 5.12
- See Also:
-
PARALLEL_CLASS_EXECUTION
Deprecated.Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.Set this property to
trueto enable parallel execution of test classes. Defaults tofalse.- Since:
- 5.12
- See Also:
-
PARALLEL_METHOD_EXECUTION
Deprecated.Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.Set this property to
trueto enable parallel execution of test methods. Defaults tofalse.- Since:
- 5.12
- See Also:
-
DISCOVERY_ISSUE_REPORTING_ENABLED_PROPERTY_NAME
@API(status=MAINTAINED, since="6.0.1") public static final String DISCOVERY_ISSUE_REPORTING_ENABLED_PROPERTY_NAMEDeprecated.Property name used to configure whether the JUnit Vintage engine should report discovery issues such as deprecation notices.Set this property to
falseto disable reporting of discovery issues. Defaults totrue.- Since:
- 6.0.1
- See Also:
-