A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
D
- DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in class org.junit.jupiter.engine.Constants
-
Wildcard pattern which signals that all conditions should be deactivated: "*"
- DEACTIVATE_ALL_LISTENERS_PATTERN - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Wildcard pattern which signals that all listeners registered via the
ServiceLoader
mechanism should be deactivated: "*" - DEACTIVATE_ALL_PATTERN - Static variable in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to provide patterns for deactivating conditions: "junit.jupiter.conditions.deactivate"
- DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to provide patterns for deactivating listeners registered via the
ServiceLoader
mechanism: "junit.platform.execution.listeners.deactivate" - debug() - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to
System.out
. - debug() - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to
System.out
. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
OutputStream
. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
OutputStream
. - debug(Writer) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
Writer
. - debug(Writer) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
Writer
. - debug(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at debug level. - debug(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at debug level. - DEFAULT - Static variable in annotation type org.junit.jupiter.api.Order
-
Default order value for elements not explicitly annotated with
@Order
, equal to the value ofInteger.MAX_VALUE / 2
. - DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@AfterAll
methods. - DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@AfterEach
methods. - DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@BeforeAll
methods. - DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@BeforeEach
methods. - DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default test execution mode for top-level classes: "junit.jupiter.execution.parallel.mode.classes.default"
- DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Property name used to set the default discovery listener that is added to all : "junit.platform.discovery.listener.default"
- DEFAULT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Default display name pattern for the current invocation of a
@ParameterizedTest
method: "[{index}] {argumentsWithNames}" - DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default display name generator class name: "junit.jupiter.displayname.generator.default"
- DEFAULT_EXECUTION_MODE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all lifecycle methods.
- DEFAULT_PARALLEL_EXECUTION_MODE - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default test execution mode: "junit.jupiter.execution.parallel.mode.default"
- DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@TestFactory
methods. - DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default test instance lifecycle mode: "junit.jupiter.testinstance.lifecycle.default"
- DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@Test
methods. - DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@TestTemplate
methods. - DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all testable methods.
- DEFAULT_TIMEOUT_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all testable and lifecycle methods.
- DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
-
DefaultArgumentConverter
is the default implementation of theArgumentConverter
API. - DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
-
Default implementation of the
ArgumentsAccessor
API. - DefaultArgumentsAccessor(Object...) - Constructor for class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- DefaultJupiterConfiguration - Class in org.junit.jupiter.engine.config
-
Default implementation of the
JupiterConfiguration
API. - DefaultJupiterConfiguration(ConfigurationParameters) - Constructor for class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- DefaultParallelExecutionConfigurationStrategy - Enum in org.junit.platform.engine.support.hierarchical
-
Default implementations of configuration strategies for parallel test execution.
- DefaultTestInstances - Class in org.junit.jupiter.engine.execution
- defaultToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied
Object
to a defaultString
representation using the following algorithm. - delimiter() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter character to use when reading the CSV files.
- delimiter() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The column delimiter character to use when reading the lines.
- delimiterString() - Method in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter string to use when reading the CSV files.
- delimiterString() - Method in annotation type org.junit.jupiter.params.provider.CsvSource
-
The column delimiter string to use when reading the lines.
- description - Variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- Details - Enum in org.junit.platform.console.options
- DirectorySelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a directory so thatTestEngines
can discover tests or containers based on directories in the file system. - DirectorySource - Class in org.junit.platform.engine.support.descriptor
-
Directory based
TestSource
. - disabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating disabled results.
- Disabled - Annotation Type in org.junit.jupiter.api
-
@Disabled
is used to signal that the annotated test class or test method is currently disabled and should not be executed. - DisabledForJreRange - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledForJreRange
is used to signal that the annotated test class or test method is only disabled for a specific range of Java Runtime Environment (JRE) versions fromDisabledForJreRange.min()
toDisabledForJreRange.max()
. - DisabledIf - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIf
is used to signal that the annotated test class or test method is disabled only if the provided condition evaluates totrue
. - DisabledIfEnvironmentVariable - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is disabled if the value of the specified environment variable matches the specified regular expression. - DisabledIfEnvironmentVariables - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariables
is a container for one or more@DisabledIfEnvironmentVariable
declarations. - DisabledIfSystemProperties - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfSystemProperties
is a container for one or more@DisabledIfSystemProperty
declarations. - DisabledIfSystemProperty - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIfSystemProperty
is used to signal that the annotated test class or test method is disabled if the value of the specified system property matches the specified regular expression. - DisabledOnJre - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledOnJre
is used to signal that the annotated test class or test method is disabled on one or more specified Java Runtime Environment (JRE) versions. - DisabledOnOs - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledOnOs
is used to signal that the annotated test class or test method is disabled on one or more specified operating systems. - discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- discover(EngineDiscoveryRequest, UniqueId) - Method in interface org.junit.platform.engine.TestEngine
-
Discover tests according to the supplied
EngineDiscoveryRequest
. - discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.discovery.VintageDiscoverer
- discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.VintageTestEngine
- discover(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
-
Discover tests and build a
TestPlan
according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results. - discover(LauncherDiscoveryRequest, String) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
-
Discovers tests for the supplied request in the supplied phase using the configured test engines.
- DiscoveryFilter<T> - Interface in org.junit.platform.engine
-
A
DiscoveryFilter
is applied during test discovery to determine if a given container or test should be included in the test plan. - DiscoverySelector - Interface in org.junit.platform.engine
-
A selector defines what a
TestEngine
can use to discover tests — for example, the name of a Java class, the path to a file or directory, etc. - DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
-
DiscoverySelectorResolver
resolvesTestDescriptors
for containers and tests selected by DiscoverySelectors with the help of theJavaElementsResolver
. - DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- DiscoverySelectors - Class in org.junit.platform.engine.discovery
-
Collection of
static
factory methods for creatingDiscoverySelectors
. - DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
- displayName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if the display name of anEvent
's test descriptor is equal to the suppliedString
. - DisplayName - Annotation Type in org.junit.jupiter.api
-
@DisplayName
is used to declare a custom display name for the annotated test class or test method. - DisplayName() - Constructor for class org.junit.jupiter.api.MethodOrderer.DisplayName
- DisplayNameGeneration - Annotation Type in org.junit.jupiter.api
-
@DisplayNameGeneration
is used to declare a custom display name generator for the annotated test class. - DisplayNameGenerator - Interface in org.junit.jupiter.api
-
DisplayNameGenerator
defines the SPI for generating display names programmatically. - DisplayNameGenerator.ReplaceUnderscores - Class in org.junit.jupiter.api
-
DisplayNameGenerator
that replaces underscores with spaces. - DisplayNameGenerator.Simple - Class in org.junit.jupiter.api
-
Simple
DisplayNameGenerator
that removes trailing parentheses for methods with no parameters. - DisplayNameGenerator.Standard - Class in org.junit.jupiter.api
-
Standard
DisplayNameGenerator
. - doesNotContainIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
does not contain any ISO control characters. - doesNotContainWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
does not contain any whitespace characters. - doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating do not skip results.
- doubles() - Method in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
double
values to use as sources of arguments; must not be empty. - DYNAMIC - org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Computes the desired parallelism based on the number of available processors/cores multiplied by the "dynamic.factor" configuration parameter.
- DYNAMIC_CONTAINER_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- DYNAMIC_TEST_REGISTERED - org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptor
has been dynamically registered. - DYNAMIC_TEST_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- dynamicallyRegistered() - Method in class org.junit.platform.testkit.engine.Events
-
Get the dynamic registration
Events
contained in thisEvents
object. - dynamicallyRegistered(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected dynamic registration events.
- dynamicContainer(String, Iterable<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and collection of dynamic nodes. - dynamicContainer(String, URI, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name, custom test sourceURI
, and stream of dynamic nodes. - dynamicContainer(String, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and stream of dynamic nodes. - DynamicContainer - Class in org.junit.jupiter.api
-
A
DynamicContainer
is a container generated at runtime. - DynamicDescendantFilter - Class in org.junit.jupiter.engine.descriptor
-
Filter for dynamic descendants of
TestDescriptors
that implementFilterable
. - DynamicDescendantFilter() - Constructor for class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- DynamicNode - Class in org.junit.jupiter.api
-
DynamicNode
serves as the abstract base class for a container or a test case generated at runtime. - dynamicTest(String, URI, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTest
for the supplied display name, custom test sourceURI
, and executable code block. - dynamicTest(String, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTest
for the supplied display name and executable code block. - DynamicTest - Class in org.junit.jupiter.api
-
A
DynamicTest
is a test case generated at runtime. - dynamicTestRegistered(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- dynamicTestRegistered(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.DYNAMIC_TEST_REGISTERED
and it matches the suppliedCondition
. - dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when a new, dynamic
TestDescriptor
has been registered. - dynamicTestRegistered(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Event
for the dynamic registration of the suppliedTestDescriptor
. - dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- dynamicTestRegistered(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when a new, dynamic
TestIdentifier
has been registered.
All Classes All Packages