A B C D E F G H I J L M N O P R S T U V W
D
- DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in class org.junit.jupiter.engine.Constants
-
Wildcard pattern which signals that all conditions should be deactivated: "*"
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to provide a pattern for deactivating conditions: "junit.jupiter.conditions.deactivate"
- 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_SCRIPT_ENGINE_NAME - Static variable in class org.junit.jupiter.engine.script.Script
-
The script engine name defaults to
Nashorn
. - DEFAULT_SCRIPT_REASON_PATTERN - Static variable in class org.junit.jupiter.engine.script.Script
-
Default reason message pattern.
- 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"
- DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
-
DefaultArgumentConverter
is the default implementation of theArgumentConverter
API. - Details - Enum in org.junit.platform.console.options
- determineDisplayName(E, Function<E, String>) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- 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. - DisabledIf - Annotation Type in org.junit.jupiter.api.condition
-
@DisabledIf
is used to determine whether the annotated test class or test method is disabled by evaluating a script. - 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. - 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. - 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
resolves selectors with the help of aJavaElementsResolver
. - 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
- 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. - 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.
- DYNAMIC_CONTAINER_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- DYNAMIC_TEST_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- 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, 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, 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(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when a new, dynamic
TestDescriptor
has been registered. - 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.