Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

aborted() - Method in enum org.junit.platform.console.output.Theme
 
aborted() - Method in class org.junit.platform.testkit.engine.Events
Get the aborted Events contained in this Events object.
aborted() - Method in class org.junit.platform.testkit.engine.Executions
Get the aborted Executions contained in this Executions object.
aborted(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected aborted events.
aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for an aborted execution of a test or container with the supplied throwable.
ABORTED - Enum constant in enum org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container was aborted (started but not finished).
abortedWithReason(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of ABORTED as well as a cause that matches all of the supplied conditions.
abortOnFailure() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
Create a LauncherDiscoveryListener that aborts test discovery on failures.
AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
Abstract base implementation of TestDescriptor that may be used by custom TestEngines.
AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId and display name.
AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Create a new AbstractTestDescriptor with the supplied UniqueId, display name, and source.
AbstractTestRuleAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
AbstractTestRuleAdapter(TestRuleAnnotatedMember, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
accept(A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
accept(A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
Accept a TestDescriptor.Visitor to the subtree starting with this descriptor.
accept(TestPlan.Visitor) - Method in class org.junit.platform.launcher.TestPlan
Accept the supplied TestPlan.Visitor for a depth-first traversal of the test plan.
acquire() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Acquire this resource lock, potentially blocking.
adaptFilter(Filter<V>, Function<T, V>) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if the adapted Filter includes the value converted using the supplied Function.
add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Deprecated.
Calling this method is no longer supported and will throw an exception.
addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Add a child to this descriptor.
addClassContainerSelectorResolver(Predicate<Class<?>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a predefined resolver that resolves ClasspathRootSelectors, ModuleSelectors, and PackageSelectors into ClassSelectors by scanning for classes that satisfy the supplied predicate in the respective class containers to this builder.
addClassContainerSelectorResolverWithContext(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, Predicate<Class<?>>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a predefined resolver that resolves ClasspathRootSelectors, ModuleSelectors, and PackageSelectors into ClassSelectors by scanning for classes that satisfy the predicate created by the supplied Function in the respective class containers to this builder.
addInternal(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
 
addLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied launcher discovery listeners to the configuration.
addLauncherSessionListeners(LauncherSessionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied launcher session listeners to the configuration.
addPostDiscoveryFilters(PostDiscoveryFilter...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied filters to the configuration.
addResourceContainerSelectorResolver(Predicate<Resource>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
addResourceContainerSelectorResolver(ResourceFilter) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a predefined resolver that resolves ClasspathRootSelectors, ModuleSelectors, and PackageSelectors into ClasspathResourceSelectors by scanning for resources that match the supplied resource filter in the respective class containers to this builder.
addSelectorResolver(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, SelectorResolver>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a context sensitive SelectorResolver to this builder.
addSelectorResolver(SelectorResolver) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a context insensitive SelectorResolver to this builder.
addTestDescriptorVisitor(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, TestDescriptor.Visitor>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Add a context sensitive TestDescriptor.Visitor to this builder.
addTestEngines(TestEngine...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied test engines to the configuration.
addTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied test execution listeners to the configuration.
addToParent(Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Add a TestDescriptor to an unspecified parent, usually the engine descriptor, by applying the supplied Function to the new parent.
addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Add a TestDescriptor to a parent, specified by the DiscoverySelector returned by the supplied Supplier, by applying the supplied Function to the new parent.
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
after() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
 
after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the after behavior of this node.
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 
afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
 
AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering an @AfterEach method as a pseudo-extension.
AfterParameterizedClassInvocation - Annotation Type in org.junit.jupiter.params
@AfterParameterizedClassInvocation is used to signal that the annotated method should be executed before each invocation of the current @ParameterizedClass.
AfterSuite - Annotation Type in org.junit.platform.suite.api
@AfterSuite is used to signal that the annotated method should be executed after all tests in the current test suite.
aggregateArguments(ArgumentsAccessor, Class<?>, AnnotatedElementContext, int) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
 
aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
Aggregate the arguments contained in the supplied accessor into a single object.
aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
 
aggregateArguments(ArgumentsAccessor, FieldContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
Aggregate the arguments contained in the supplied accessor into a single object.
aggregateArguments(ArgumentsAccessor, FieldContext) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
 
AggregateWith - Annotation Type in org.junit.jupiter.params.aggregator
@AggregateWith is an annotation that allows one to specify an ArgumentsAggregator.
allEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
Get all recorded events.
allowAll() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
allowIndex(int) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
allowIndex(Set<Integer>) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
allowUniqueIdPrefix(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
allowZeroInvocations() - Element in annotation type org.junit.jupiter.params.ParameterizedClass
Configure whether zero invocations are allowed for this parameterized class.
allowZeroInvocations() - Element in annotation type org.junit.jupiter.params.ParameterizedTest
Configure whether zero invocations are allowed for this parameterized test.
alwaysSatisfied() - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
Create a DiscoveryIssueReporter.Condition that is always satisfied.
and(DiscoveryIssueReporter.Condition<? super T>) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
Return a composed condition that represents a logical AND of this and the supplied condition.
AnnotationBasedArgumentConverter<A> - Class in org.junit.jupiter.params.converter
AnnotationBasedArgumentConverter is an abstract base class for ArgumentConverter implementations that also need to consume an annotation in order to perform the conversion.
AnnotationBasedArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
AnnotationBasedArgumentsProvider<A> - Class in org.junit.jupiter.params.provider
AnnotationBasedArgumentsProvider is an abstract base class for ArgumentsProvider implementations that also need to consume an annotation in order to provide the arguments.
AnnotationBasedArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
AnnotationConsumer<A> - Interface in org.junit.jupiter.params.support
AnnotationConsumer is a functional interface for consuming annotations.
AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
AnnotationConsumerInitializer is an internal helper class for initializing AnnotationConsumers.
AnsiColorOptionMixin - Class in org.junit.platform.console.options
 
AnsiColorOptionMixin() - Constructor for class org.junit.platform.console.options.AnsiColorOptionMixin
 
append(Object...) - Method in class org.junit.platform.engine.support.store.Namespace
Create a new namespace by appending the supplied parts to the existing sequence of parts in this namespace.
append(String, String) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment, based on the supplied segmentType and value, to the end of this UniqueId.
append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment to the end of this UniqueId.
appendEngine(String) - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId by appending a new UniqueId.Segment, based on the supplied engineId, to the end of this UniqueId.
apply(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
 
apply(InvocationInterceptor, InvocationInterceptor.Invocation<Void>) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.VoidInterceptorCall
 
apply(InvocationInterceptor, InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall
 
apply(InvocationInterceptor, InvocationInterceptor.Invocation<T>) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptorCall
 
apply(InvocationInterceptor, InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<E>, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall
 
apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
 
apply(Description) - Method in class org.junit.vintage.engine.support.UniqueIdReader
 
apply(T) - Method in interface org.junit.platform.engine.Filter
Apply this filter to the supplied object.
applyConfigurationParametersFromSuite(Class<?>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Apply a suite's annotation-based configuration to this builder.
applyFilters(Consumer<RunnerTestDescriptor>) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
applySelectorsAndFiltersFromSuite(Class<?>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Apply a suite's annotation-based discovery selectors and filters to this builder.
ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for either ParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDER or ParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDER, depending on whether the current set of arguments was created via argumentSet(): {argumentSetNameOrArgumentsWithNames}.
ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
ARGUMENT_SET_NAME_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for the name of the argument set for the current invocation of a @ParameterizedTest method: {argumentSetName}.
ARGUMENT_SET_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
ArgumentAccessException - Exception Class in org.junit.jupiter.params.aggregator
ArgumentAccessException is an exception thrown by an ArgumentsAccessor if an error occurs while accessing or converting an argument.
ArgumentAccessException(String) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
 
ArgumentAccessException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
 
Argument Conversion - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
Argument Conversion - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
ArgumentConversionException - Exception Class in org.junit.jupiter.params.converter
ArgumentConversionException is an exception that can occur when an object is converted to another object by an implementation of an ArgumentConverter.
ArgumentConversionException(String) - Constructor for exception class org.junit.jupiter.params.converter.ArgumentConversionException
 
ArgumentConversionException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.converter.ArgumentConversionException
 
ArgumentConverter - Interface in org.junit.jupiter.params.converter
ArgumentConverter is an abstraction that allows an input object to be converted to an instance of a different class.
argumentCountValidation() - Element in annotation type org.junit.jupiter.params.ParameterizedClass
Configure how the number of arguments provided by an ArgumentsSource are validated.
argumentCountValidation() - Element in annotation type org.junit.jupiter.params.ParameterizedTest
Configure how the number of arguments provided by an ArgumentsSource are validated.
ArgumentCountValidationMode - Enum in org.junit.jupiter.params
Enumeration of argument count validation modes for @ParameterizedClass and @ParameterizedTest.
arguments(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
Arguments - Interface in org.junit.jupiter.params.provider
Arguments is an abstraction that provides access to an array of objects to be used for invoking a @ParameterizedTest method.
ARGUMENTS_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for the complete, comma-separated arguments list of the current invocation of a @ParameterizedTest method: {arguments}
ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Deprecated.
ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for the complete, comma-separated named arguments list of the current invocation of a @ParameterizedTest method: {argumentsWithNames}
ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Arguments.ArgumentSet - Class in org.junit.jupiter.params.provider
Specialization of Arguments that associates a name with a set of arguments.
ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
ArgumentsAccessor defines the public API for accessing arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method.
ArgumentsAggregationException - Exception Class in org.junit.jupiter.params.aggregator
ArgumentsAggregationException is an exception thrown by an ArgumentsAggregator when an error occurs while aggregating arguments.
ArgumentsAggregationException(String) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregationException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
 
ArgumentsAggregator - Interface in org.junit.jupiter.params.aggregator
ArgumentsAggregator is an abstraction for the aggregation of arguments provided by an ArgumentsProvider for a single invocation of a @ParameterizedTest method into a single object.
argumentSet(String, Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an Arguments.ArgumentSet based on the supplied name and arguments.
ArgumentsProvider - Interface in org.junit.jupiter.params.provider
An ArgumentsProvider is responsible for providing a stream of arguments to be passed to a @ParameterizedClass or @ParameterizedTest.
Arguments Providers and Sources - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
Arguments Providers and Sources - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
ArgumentsSource - Annotation Type in org.junit.jupiter.params.provider
@ArgumentsSource is a repeatable annotation that is used to register arguments providers for the annotated class or method.
ArgumentsSources - Annotation Type in org.junit.jupiter.params.provider
@ArgumentsSources is a simple container for one or more ArgumentsSource annotations.
around(C, Node.Invocation<C>) - Method in interface org.junit.platform.engine.support.hierarchical.Node
ASCII - Enum constant in enum org.junit.platform.console.output.Theme
ASCII 7-bit characters form the tree branch.
assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Assert that this ThrowableCollector is empty (i.e., has not collected any Throwables).
assertEventsMatchExactly(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
Assert that all events contained in this Events object exactly match the provided conditions.
assertEventsMatchLoosely(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
Assert that all provided conditions are matched by an event contained in this Events object, regardless of order.
assertEventsMatchLooselyInOrder(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
Assert that all provided conditions are matched by an event contained in this Events object.
assertStatistics(Consumer<EventStatistics>) - Method in class org.junit.platform.testkit.engine.Events
Assert statistics for the events contained in this Events object.
assertThatEvents() - Method in class org.junit.platform.testkit.engine.Events
Shortcut for org.assertj.core.api.Assertions.assertThat(events.list()).
assertThatExecutions() - Method in class org.junit.platform.testkit.engine.Executions
Shortcut for org.assertj.core.api.Assertions.assertThat(executions.list()).
autoCloseArguments() - Element in annotation type org.junit.jupiter.params.ParameterizedClass
Configure whether all arguments of the parameterized class that implement AutoCloseable will be closed after their corresponding invocation.
autoCloseArguments() - Element in annotation type org.junit.jupiter.params.ParameterizedTest
Configure whether all arguments of the parameterized test that implement AutoCloseable will be closed after their corresponding invocation.
awaitFinished() - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Block until all dynamic test descriptors submitted to this executor are finished.

B

before() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
before() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
before(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the before behavior of this node.
before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
beforeAllCallbacksExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
beforeAllCallbacksExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
Track that an attempt was made to execute BeforeAllCallback extensions.
beforeAllMethodsExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
beforeAllMethodsExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
Track that an attempt was made to execute @BeforeAll methods.
beforeEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 
BeforeEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering a @BeforeEach method as a pseudo-extension.
BeforeParameterizedClassInvocation - Annotation Type in org.junit.jupiter.params
@BeforeParameterizedClassInvocation is used to signal that the annotated method should be executed before each invocation of the current @ParameterizedClass.
BeforeSuite - Annotation Type in org.junit.platform.suite.api
@BeforeSuite is used to signal that the annotated method should be executed before all tests in the current test suite.
blank() - Method in enum org.junit.platform.console.output.Theme
 
booleans() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The boolean values to use as sources of arguments; must not be empty.
build() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
build() - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
Build the DiscoveryIssue.
build() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Build the EngineDiscoveryRequestResolver that has been configured via this builder.
build() - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Build the LauncherConfig that has been configured via this builder.
build() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Build the LauncherDiscoveryRequest that has been configured via this builder.
build() - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Build the LauncherDiscoveryRequest that has been configured via this builder.
buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Deprecated.
Please use EngineDiscoveryRequestResolver instead.
buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
Deprecated.
Please use EngineDiscoveryRequestResolver instead.
builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
builder() - Static method in interface org.junit.platform.launcher.core.LauncherConfig
builder(DiscoveryIssue.Severity, String) - Static method in interface org.junit.platform.engine.DiscoveryIssue
Create a new DiscoveryIssue.Builder for creating a DiscoveryIssue with the supplied DiscoveryIssue.Severity and message.
byPayload(Class<T>, Predicate<? super T>) - Static method in class org.junit.platform.testkit.engine.Event
Create a Predicate for events whose payload types match the supplied payloadType and whose payloads match the supplied payloadPredicate.
bytes() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The byte values to use as sources of arguments; must not be empty.
byTestDescriptor(Predicate<? super TestDescriptor>) - Static method in class org.junit.platform.testkit.engine.Event
Create a Predicate for events whose TestDescriptors match the supplied testDescriptorPredicate.
byType(EventType) - Static method in class org.junit.platform.testkit.engine.Event
Create a Predicate for events whose event types match the supplied type.

C

CachingJupiterConfiguration - Class in org.junit.jupiter.engine.config
Caching implementation of the JupiterConfiguration API.
CachingJupiterConfiguration(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
CAPTURE_MAX_BUFFER_DEFAULT - Static variable in class org.junit.platform.launcher.LauncherConstants
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
CAPTURE_MAX_BUFFER_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: "junit.platform.output.capture.maxBuffer"
CAPTURE_STDERR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.err: "junit.platform.output.capture.stderr"
CAPTURE_STDOUT_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.out: "junit.platform.output.capture.stdout"
castOrAdapt(OutputDirectoryCreator) - Static method in interface org.junit.platform.engine.reporting.OutputDirectoryProvider
Deprecated.
Cast or adapt an OutputDirectoryCreator to a OutputDirectoryProvider.
cause() - Method in interface org.junit.platform.engine.DiscoveryIssue
Returns the cause of this issue.
cause(Throwable) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
Set the Throwable that caused the DiscoveryIssue.
cause(Optional<Throwable>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
Set the Throwable that caused the DiscoveryIssue.
cause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable's cause matches all supplied conditions.
chars() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The char values to use as sources of arguments; must not be empty.
charset() - Static method in class org.junit.platform.console.options.ConsoleUtils
Returns the charset of the console.
check(T) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
Evaluate this condition to potentially report an issue.
children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
The synchronized set of children associated with this TestDescriptor.
CLASS_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClassSource
URI scheme for class sources: "class"
ClassBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java classes.
ClassBasedTestDescriptor.ClassInfo - Class in org.junit.jupiter.engine.descriptor
 
classes() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The Class values to use as sources of arguments; must not be empty.
classInfo - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
ClassNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Class.
CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
URI scheme for classpath resources: "classpath"
ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects the name of a classpath resource so that TestEngines can load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs.
ClasspathResourceSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
Classpath resource based TestSource with an optional position.
ClasspathRootSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a classpath root so that TestEngines can search for class files or resources within the physical classpath — for example, to scan for test classes.
ClasspathRootSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
Deprecated.
Please use EngineDiscoveryRequestResolver instead.
ClassSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Class or class name so that TestEngines can discover tests or containers based on classes.
ClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
ClassSource - Class in org.junit.platform.engine.support.descriptor
Class based TestSource with an optional file position.
ClassTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
ClassTemplateInvocationTestDescriptor(UniqueId, ClassTemplateTestDescriptor, ClassTemplateInvocationContext, int, TestSource, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
ClassTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
ClassTemplateTestDescriptor(UniqueId, ClassBasedTestDescriptor) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
ClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java classes.
ClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Clean up the supplied context after execution.
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
clearFilters() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
clone() - Method in class org.junit.platform.engine.UniqueId
 
close() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
close() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
close() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Close this service and let it perform any required cleanup work.
close() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
 
close() - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
close() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
If a NamespacedHierarchicalStore.CloseAction is configured, it will be called with all successfully stored values in reverse insertion order.
close() - Method in interface org.junit.platform.launcher.LauncherInterceptor
Closes this interceptor.
close() - Method in interface org.junit.platform.launcher.LauncherSession
Close this session and notify all registered LauncherSessionListeners.
close(N, Object, Object) - Method in interface org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CloseAction
Close the supplied value.
CLOSE_AFTER_CALLING_LAUNCHER - Enum constant in enum org.junit.platform.console.command.CustomClassLoaderCloseStrategy
Close the custom class loader after calling the Launcher for test discovery or execution.
closeAutoCloseables() - Static method in interface org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CloseAction
 
CLOSING_STORED_AUTO_CLOSEABLE_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
CLOSING_STORED_AUTO_CLOSEABLE_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable auto-closing of AutoCloseable instances
collecting(Collection<? super DiscoveryIssue>) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Create a new DiscoveryIssueReporter that adds reported issues to the supplied collection.
ColorPalette - Class in org.junit.platform.console.output
 
ColorPalette(Reader) - Constructor for class org.junit.platform.console.output.ColorPalette
 
ColorPalette(Path) - Constructor for class org.junit.platform.console.output.ColorPalette
 
ColorPalette(Map<Style, String>) - Constructor for class org.junit.platform.console.output.ColorPalette
 
ColorPalette(Properties) - Constructor for class org.junit.platform.console.output.ColorPalette
 
column() - Element in annotation type org.junit.platform.suite.api.SelectClasspathResource
The column number within the classpath resource; ignored if the line number is ignored or if not greater than zero.
column() - Element in annotation type org.junit.platform.suite.api.SelectFile
The column number within the file; ignored if the line number is ignored or if not greater than zero.
CommandFacade - Class in org.junit.platform.console.command
Internal facade to run a CLI command that exists to hide implementation details such as the used library.
CommandFacade(ConsoleTestExecutor.Factory) - Constructor for class org.junit.platform.console.command.CommandFacade
 
CommandResult<T> - Class in org.junit.platform.console.command
 
Composed Annotations - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
Composed Annotations - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
composeFilters(Collection<? extends Filter<T>>) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if all of the filters in the supplied collection of filters include it.
composeFilters(Filter<T>...) - Static method in interface org.junit.platform.engine.Filter
Return a filter that will include elements if and only if all of the filters in the supplied array of filters include it.
composite(List<LauncherDiscoveryListener>) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
 
composite(List<LauncherSessionListener>) - Static method in class org.junit.platform.launcher.listeners.session.LauncherSessionListeners
 
composite(TestDescriptor.Visitor...) - Static method in interface org.junit.platform.engine.TestDescriptor.Visitor
Combine the supplied visitors into a single Visitor.
CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
A CompositeTestSource contains one or more TestSources.
Composition - Search tag in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
Section
Composition - Search tag in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
Section
Composition - Search tag in annotation type org.junit.platform.suite.api.AfterSuite
Section
Composition - Search tag in annotation type org.junit.platform.suite.api.BeforeSuite
Section
CONCURRENT - Enum constant in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Allow concurrent execution with any other node.
ConditionEvaluator - Class in org.junit.jupiter.engine.execution
ConditionEvaluator evaluates ExecutionCondition extensions.
ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
 
CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to specify the fully qualified class name of the ParallelExecutionConfigurationStrategy to be used by the DefaultParallelExecutionConfigurationStrategy.CUSTOM configuration strategy.
CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name of the factor used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.DYNAMIC configuration strategy.
CONFIG_DYNAMIC_MAX_POOL_SIZE_FACTOR_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name of the factor used to determine the maximum pool size of the underlying fork-join pool for the DefaultParallelExecutionConfigurationStrategy.DYNAMIC configuration strategy.
CONFIG_DYNAMIC_SATURATE_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to disable saturation of the underlying fork-join pool for the DefaultParallelExecutionConfigurationStrategy.DYNAMIC configuration strategy.
CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
Name of the JUnit Platform configuration file: "junit-platform.properties".
CONFIG_FIXED_MAX_POOL_SIZE_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to configure the maximum pool size of the underlying fork-join pool for the DefaultParallelExecutionConfigurationStrategy.FIXED configuration strategy.
CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to determine the desired parallelism for the DefaultParallelExecutionConfigurationStrategy.FIXED configuration strategy.
CONFIG_FIXED_SATURATE_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to disable saturation of the underlying fork-join pool for the DefaultParallelExecutionConfigurationStrategy.FIXED configuration strategy.
CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Property name used to determine the desired configuration strategy.
Configuration and Defaults - Search tag in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
Section
configurationParameter(String, String) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add the supplied configuration parameter to the request.
configurationParameter(String, String) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Add the supplied configuration parameter to the request.
configurationParameter(String, String) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Add the supplied configuration parameter.
ConfigurationParameter - Annotation Type in org.junit.platform.suite.api
@ConfigurationParameter is a repeatable annotation that specifies a configuration key and value pair to be added to the discovery request when running a test suite on the JUnit Platform.
configurationParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all supplied configuration parameters to the request.
configurationParameters(Map<String, String>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Add all supplied configuration parameters to the request.
configurationParameters(Map<String, String>) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Add all of the supplied configuration parameters.
ConfigurationParameters - Interface in org.junit.platform.engine
Configuration parameters that TestEngines may use to influence test discovery and execution.
ConfigurationParameters - Annotation Type in org.junit.platform.suite.api
@ConfigurationParameters is a container for one or more @ConfigurationParameter declarations.
configurationParametersResource(String) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
 
ConfigurationParametersResource - Annotation Type in org.junit.platform.suite.api
@ConfigurationParametersResource is a repeatable annotation that specifies a configuration file in Java's properties format on the classpath to be added to the discovery request when running a test suite on the JUnit Platform.
configurationParametersResources(String...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied configuration parameters resource files to the request.
ConfigurationParametersResources - Annotation Type in org.junit.platform.suite.api
@ConfigurationParametersResources is a container for one or more @ConfigurationParametersResource declarations.
configure(UnaryOperator<UniqueId>, DynamicDescendantFilter) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
ConsoleLauncher - Class in org.junit.platform.console
The ConsoleLauncher is a stand-alone application for launching the JUnit Platform from the console.
ConsoleLauncher() - Constructor for class org.junit.platform.console.ConsoleLauncher
 
ConsoleOutputOptions() - Constructor for class org.junit.platform.console.options.TestConsoleOutputOptionsMixin.ConsoleOutputOptions
 
ConsoleTestExecutor - Class in org.junit.platform.console.command
 
ConsoleTestExecutor(TestDiscoveryOptions, TestConsoleOutputOptions) - Constructor for class org.junit.platform.console.command.ConsoleTestExecutor
 
ConsoleTestExecutor(TestDiscoveryOptions, TestConsoleOutputOptions, CustomClassLoaderCloseStrategy) - Constructor for class org.junit.platform.console.command.ConsoleTestExecutor
 
ConsoleTestExecutor.Factory - Interface in org.junit.platform.console.command
 
ConsoleUtils - Class in org.junit.platform.console.options
Collection of utilities for working with java.io.Console and friends.
ConsoleUtils() - Constructor for class org.junit.platform.console.options.ConsoleUtils
 
Constants - Class in org.junit.jupiter.engine
Collection of constants related to the JupiterTestEngine.
Constants - Class in org.junit.vintage.engine
Collection of constants related to the VintageTestEngine.
Constructor Injection - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
consuming(Consumer<? super DiscoveryIssue>) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Create a new DiscoveryIssueReporter that adds reported issues to the supplied consumer.
container() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a container.
container(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a container and its unique id contains the fully qualified name of the supplied Class.
container(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a container and its unique id contains the supplied String.
container(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event matches the supplied Condition and its test descriptor is a container.
CONTAINER - Enum constant in enum org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a container.
CONTAINER_AND_TEST - Enum constant in enum org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a test that may potentially also be a container.
containerEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
Get recorded events for containers.
containsTests() - Method in class org.junit.platform.launcher.TestPlan
Return whether this test plan contains any tests.
containsTests(TestDescriptor) - Static method in interface org.junit.platform.engine.TestDescriptor
Determine if the supplied descriptor (or any of its descendants) is a test or may potentially register tests dynamically.
convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
Convert the supplied source object into the supplied targetType.
convert(Object, Class<?>, A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
Convert the supplied source object into the supplied targetType, based on metadata in the provided annotation.
convert(Object, Class<?>, ClassLoader) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
Convert the supplied source object according to the supplied context.
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
 
convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
 
convert(Object, FieldContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
Convert the supplied source object according to the supplied context.
convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
convert(Object, FieldContext) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
 
convert(S) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
Convert the supplied source object of type S into an object of type T.
ConvertWith - Annotation Type in org.junit.jupiter.params.converter
@ConvertWith is an annotation that allows one to specify an explicit ArgumentConverter.
copy(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
copyIncludingDescendants(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
copyIncludingDescendants(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Returns a deep copy (with copies of children) of this descriptor with the supplied unique ID.
count() - Method in class org.junit.platform.testkit.engine.Events
Get the number of events contained in this Events object.
count() - Method in class org.junit.platform.testkit.engine.Executions
Get the number of executions contained in this Executions object.
countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
Count all TestIdentifiers that satisfy the given predicate.
create() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Factory
Create a new instance of a ThrowableCollector.
create() - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using the default LauncherConfig.
create(int, T) - Static method in class org.junit.platform.console.command.CommandResult
 
create(Object...) - Static method in class org.junit.platform.engine.support.store.Namespace
Create a namespace which restricts access to data to all extensions which use the same sequence of parts for creating a namespace.
create(String) - Static method in class org.junit.platform.engine.TestTag
Create a TestTag from the supplied name.
create(String, String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
Create a new DiscoverySelectorIdentifier with the supplied prefix and value.
create(List<Object>) - Static method in class org.junit.platform.engine.support.store.Namespace
Create a namespace which restricts access to data to all extensions which use the same sequence of objects for creating a namespace.
create(Optional<String>) - Static method in class org.junit.platform.launcher.listeners.OutputDir
 
create(ExtensionContext, int, ClassLoader, Object[]) - Static method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
create(ExtensionContext, ExtensionContext, JupiterConfiguration) - Static method in interface org.junit.jupiter.engine.execution.ExtensionContextSupplier
 
create(TestDiscoveryOptions, TestConsoleOutputOptions) - Method in interface org.junit.platform.console.command.ConsoleTestExecutor.Factory
 
create(DiscoveryIssue.Severity, String) - Static method in interface org.junit.platform.engine.DiscoveryIssue
Create a new DiscoveryIssue with the supplied DiscoveryIssue.Severity and message.
create(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Static method in class org.junit.platform.engine.ExecutionRequest
Deprecated.
without replacement
create(TestDescriptor, EngineExecutionListener, ConfigurationParameters, OutputDirectoryCreator, NamespacedHierarchicalStore<Namespace>) - Static method in class org.junit.platform.engine.ExecutionRequest
Factory for creating an execution request.
create(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using the supplied LauncherConfig.
createConfiguration(ConfigurationParameters) - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfigurationStrategy
Create a configuration for parallel test execution based on the supplied ConfigurationParameters.
createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the initial execution context for executing the supplied request.
createExecutorService(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createExecutorService(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the executor service to use for executing the supplied request.
createFile(String, String) - Method in class org.junit.platform.launcher.listeners.OutputDir
 
createIssue(Class<? extends Annotation>, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
createIssue(Class<? extends Annotation>, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
createIssue(Class<? extends Annotation>, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
createOutputDirectory(TestDescriptor) - Method in interface org.junit.platform.engine.OutputDirectoryCreator
Create an output directory for the supplied test descriptor.
createRegistryFrom(MutableExtensionRegistry, Stream<Class<? extends Extension>>) - Static method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
Factory for creating and populating a new registry from a list of extension types and a parent registry.
createRegistryWithDefaultExtensions(JupiterConfiguration) - Static method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
Factory for creating and populating a new root registry with the default extensions.
createReportingCondition(Predicate<T>, Function<T, DiscoveryIssue>) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Create a DiscoveryIssueReporter.Condition that reports a DiscoveryIssue when the supplied Predicate is not met.
createThrowableCollector() - Static method in class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
Create a new ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.
createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create the factory for creating ThrowableCollector instances used to handle exceptions that occur during execution of this engine's tests.
CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the critical severity of issues encountered during test discovery.
CsvFileSource - Annotation Type in org.junit.jupiter.params.provider
@CsvFileSource is a repeatable ArgumentsSource which is used to load comma-separated value (CSV) files from one or more classpath CsvFileSource.resources() or CsvFileSource.files().
CsvFileSources - Annotation Type in org.junit.jupiter.params.provider
@CsvFileSources is a simple container for one or more CsvFileSource annotations.
CsvParsingException - Exception Class in org.junit.jupiter.params.provider
Thrown if an error is encountered while parsing CSV input.
CsvParsingException(String) - Constructor for exception class org.junit.jupiter.params.provider.CsvParsingException
 
CsvParsingException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.provider.CsvParsingException
 
CsvSource - Annotation Type in org.junit.jupiter.params.provider
@CsvSource is a repeatable ArgumentsSource which reads comma-separated values (CSV) from one or more CSV records supplied via the CsvSource.value() attribute or CsvSource.textBlock() attribute.
CsvSources - Annotation Type in org.junit.jupiter.params.provider
@CsvSources is a simple container for one or more CsvSource annotations.
CUSTOM - Enum constant in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Allows the specification of a custom ParallelExecutionConfigurationStrategy implementation via the mandatory "custom.class" configuration parameter to determine the desired configuration.
CustomClassLoaderCloseStrategy - Enum in org.junit.platform.console.command
Defines the strategy for closing custom class loaders created for test discovery and execution.

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_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_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.
deduplicating(DiscoveryIssueReporter) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Create a new DiscoveryIssueReporter that avoids reporting duplicate issues.
DEFAULT - Enum constant in enum org.junit.jupiter.params.ArgumentCountValidationMode
Use the default validation mode.
DEFAULT - Static variable in class org.junit.platform.console.output.ColorPalette
 
DEFAULT - Static variable in interface org.junit.platform.launcher.core.LauncherConfig
The default LauncherConfig which uses automatic registration for test engines, supported listeners, and post-discovery filters.
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: "junit.jupiter.execution.timeout.afterall.method.default".
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: "junit.jupiter.execution.timeout.aftereach.method.default".
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: "junit.jupiter.execution.timeout.beforeall.method.default".
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: "junit.jupiter.execution.timeout.beforeeach.method.default".
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_DETAILS - Static variable in class org.junit.platform.console.options.TestConsoleOutputOptions
 
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 class org.junit.jupiter.params.ParameterizedInvocationConstants
Default display name pattern for the current invocation of a @ParameterizedTest method: "[{index}] {argumentSetNameOrArgumentsWithNames}"
DEFAULT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Deprecated.
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 class org.junit.jupiter.engine.Constants
Property name used to set the default timeout for all lifecycle methods: "junit.jupiter.execution.timeout.lifecycle.method.default".
DEFAULT_LOCALE_CONVERSION_FORMAT_PROPERTY_NAME - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
Property name used to set the format for the conversion of Locale arguments: "junit.jupiter.params.arguments.conversion.locale.format"
DEFAULT_OUTPUT_FILE_PREFIX - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
The default prefix for the name of the file generated by the UniqueIdTrackingListener: "junit-platform-unique-ids"
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_TEMP_DIR_FACTORY_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default factory for temporary directories created via the @TempDir annotation: "junit.jupiter.tempdir.factory.default"
DEFAULT_TEST_CLASS_INSTANCE_CONSTRUCTION_EXTENSION_CONTEXT_SCOPE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default extension context scope for extensions that participate in test instantiation: "junit.jupiter.extensions.testinstantiation.extensioncontextscope.default"
DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEFAULT_TEST_CLASS_ORDER_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default class orderer class name: "junit.jupiter.testclass.order.default"
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: "junit.jupiter.execution.timeout.testfactory.method.default".
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_INSTANTIATION_EXTENSION_CONTEXT_SCOPE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default method orderer class name: "junit.jupiter.testmethod.order.default"
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: "junit.jupiter.execution.timeout.test.method.default".
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: "junit.jupiter.execution.timeout.testtemplate.method.default".
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: "junit.jupiter.execution.timeout.testable.method.default".
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: "junit.jupiter.execution.timeout.default".
DEFAULT_TIMEOUT_THREAD_MODE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default timeout thread mode.
DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
DefaultArgumentConverter is the default implementation of the ArgumentConverter API.
DefaultArgumentConverter(ExtensionContext) - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter
 
DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
Default implementation of the ArgumentsAccessor API.
Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
Section
Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
Section
Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
Section
DefaultExecutableInvoker - Class in org.junit.jupiter.engine.execution
 
DefaultExecutableInvoker(ExtensionContext, ExtensionRegistry) - Constructor for class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
 
DefaultJupiterConfiguration - Class in org.junit.jupiter.engine.config
Default implementation of the JupiterConfiguration API.
DefaultJupiterConfiguration(ConfigurationParameters, OutputDirectoryCreator) - 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
 
delimiter() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The column delimiter character to use when reading the CSV files.
delimiter() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The column delimiter character to use when reading the records.
delimiterString() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The column delimiter string to use when reading the CSV files.
delimiterString() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The column delimiter string to use when reading the records.
description - Variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
DescriptionUtils - Class in org.junit.vintage.engine.descriptor
 
Details - Enum in org.junit.platform.console.options
 
DetailsPrintingListener - Interface in org.junit.platform.console.output
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
determineExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
determineOwnExclusiveResources(Function<ResourceLocksProvider, Set<ResourceLocksProvider.Lock>>) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
DirectorySelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a directory so that TestEngines can discover tests or containers based on directories in the file system.
DirectorySelector.IdentifierParser - Class in org.junit.platform.engine.discovery
DirectorySource - Class in org.junit.platform.engine.support.descriptor
Directory based TestSource.
DisableParentConfigurationParameters - Annotation Type in org.junit.platform.suite.api
Disable parent configuration parameters.
DISCLAIMER - Search tag in class org.junit.platform.console.options.ConsoleUtils
Section
DISCLAIMER - Search tag in package org.junit.platform.suite.commons
Section
discover() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Discover tests for the configured TestEngine, discovery selectors, discovery filters, and configuration parameters.
discover(PrintWriter) - Method in class org.junit.platform.console.command.ConsoleTestExecutor
 
discover(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Discover tests for the given LauncherDiscoveryRequest using the TestEngine with the supplied ID.
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.platform.suite.engine.SuiteTestEngine
 
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.discovery.VintageDiscoverer
 
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.VintageTestEngine
 
discover(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Discover tests for the given LauncherDiscoveryRequest using the supplied TestEngine.
discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
Discovers tests for the supplied request using the configured test engines.
discover(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
Discover tests and build a TestPlan according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results.
discover(LauncherDiscoveryRequest, UniqueId) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
Discovers tests for the supplied request in the supplied phase using the configured test engines to be used by the suite engine.
DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the phase that critical discovery issues should cause a failure
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.
DiscoveryIssue - Interface in org.junit.platform.engine
DiscoveryIssue represents an issue that was encountered during test discovery by a TestEngine.
DiscoveryIssue.Builder - Interface in org.junit.platform.engine
Builder for creating a DiscoveryIssue.
DiscoveryIssue.Severity - Enum in org.junit.platform.engine
The severity of a DiscoveryIssue.
DiscoveryIssueException - Exception Class in org.junit.platform.launcher.core
DiscoveryIssueException is an exception that is thrown if an engine reports critical issues during test discovery.
DiscoveryIssueReporter - Interface in org.junit.platform.engine.support.discovery
DiscoveryIssueReporter defines the API for reporting DiscoveryIssues.
DiscoveryIssueReporter.Condition<T> - Interface in org.junit.platform.engine.support.discovery
A Condition is a union of Predicate and Consumer.
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.
DiscoverySelectorIdentifier - Class in org.junit.platform.engine
Identifier for a DiscoverySelector with a specific prefix.
DiscoverySelectorIdentifierParser - Interface in org.junit.platform.engine.discovery
Parser for a DiscoverySelectorIdentifier with a specific prefix.
DiscoverySelectorIdentifierParser.Context - Interface in org.junit.platform.engine.discovery
Context for parsing DiscoverySelectorIdentifiers.
DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
DiscoverySelectorResolver resolves TestDescriptors for containers and tests selected by DiscoverySelectors, with the help of an EngineDiscoveryRequestResolver.
DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
DiscoverySelectors - Class in org.junit.platform.engine.discovery
Collection of static factory methods for creating DiscoverySelectors.
DISPLAY_NAME_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for the display name of a @ParameterizedTest method: {displayName}
DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Deprecated.
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 an Event's test descriptor is equal to the supplied String.
doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating do not skip results.
doubles() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The double values to use as sources of arguments; must not be empty.
DRY_RUN_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable dry-run mode for test execution.
DYNAMIC - Enum constant in enum 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 - Enum constant in enum 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 this Events object.
dynamicallyRegistered(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected dynamic registration events.
DynamicDescendantFilter - Class in org.junit.jupiter.engine.descriptor
Filter for dynamic descendants of TestDescriptors that implement Filterable.
DynamicDescendantFilter() - Constructor for class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
dynamicTestRegistered(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.DYNAMIC_TEST_REGISTERED and its unique id contains the supplied String.
dynamicTestRegistered(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.DYNAMIC_TEST_REGISTERED and it matches the supplied Condition.
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 supplied TestDescriptor.
dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a dynamically registered container or test.
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
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.

E

EmptySource - Annotation Type in org.junit.jupiter.params.provider
@EmptySource is an ArgumentsSource which provides a single empty argument to the annotated @ParameterizedClass or @ParameterizedTest.
emptyValue() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The empty value to use when reading the CSV files.
emptyValue() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The empty value to use when reading the records.
ENABLE_LAUNCHER_INTERCEPTORS - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable support for LauncherInterceptor instances to be registered via the ServiceLoader mechanism: "junit.platform.launcher.interceptors.enabled"
enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Configure whether implicit configuration parameters should be considered.
enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Configure whether implicit configuration parameters should be considered.
enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Configure whether implicit configuration parameters should be considered.
EnableJUnit4MigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport
EnableJUnit4MigrationSupport is a class-level annotation that enables all JUnit 4 migration support within JUnit Jupiter.
enableLauncherDiscoveryListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for launcher discovery listeners.
enableLauncherSessionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for launcher session listeners.
enablePostDiscoveryFilterAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for post discovery filters.
EnableRuleMigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport.rules
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
enableTestEngineAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test engines.
enableTestExecutionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test execution listeners.
encoding() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The encoding to use when reading the CSV files; must be a valid charset.
end() - Method in enum org.junit.platform.console.output.Theme
 
engine() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is an instance of EngineDescriptor.
engine(String) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Create an execution EngineTestKit.Builder for the TestEngine with the supplied ID.
engine(TestEngine) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Create an execution EngineTestKit.Builder for the supplied TestEngine.
ENGINE_ID - Static variable in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
ENGINE_ID - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
An EngineDescriptor is a TestDescriptor for a specific TestEngine.
EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
Create a new EngineDescriptor with the supplied UniqueId and display name.
engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery has finished for an engine.
EngineDiscoveryListener - Interface in org.junit.platform.engine
EngineDiscoveryListener defines the API which enables a TestEngine to publish information about events that occur during test discovery.
EngineDiscoveryOrchestrator - Class in org.junit.platform.launcher.core
Orchestrates test discovery using the configured test engines.
EngineDiscoveryOrchestrator(Iterable<TestEngine>, Collection<PostDiscoveryFilter>) - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
 
EngineDiscoveryRequest - Interface in org.junit.platform.engine
EngineDiscoveryRequest provides a TestEngine access to the information necessary to discover tests and containers.
EngineDiscoveryRequestResolver<T> - Class in org.junit.platform.engine.support.discovery
Configurable test discovery implementation based on SelectorResolver and TestDescriptor.Visitor that can be reused by different TestEngines.
EngineDiscoveryRequestResolver.Builder<T> - Class in org.junit.platform.engine.support.discovery
EngineDiscoveryRequestResolver.InitializationContext<T> - Interface in org.junit.platform.engine.support.discovery
The initialization context for creating resolvers and visitors that depend on the EngineDiscoveryRequest to be resolved or the engine descriptor that will be used to collect the results.
EngineDiscoveryResult - Class in org.junit.platform.launcher
EngineDiscoveryResult encapsulates the result of test discovery by a TestEngine.
EngineDiscoveryResult.Status - Enum in org.junit.platform.launcher
Status of test discovery by a TestEngine.
EngineDiscoveryResults - Class in org.junit.platform.testkit.engine
EngineDiscoveryResults represents the results of test discovery by a TestEngine on the JUnit Platform and provides access to the TestDescriptor of the engine and any DiscoveryIssues that were encountered.
engineDiscoveryStarted(UniqueId) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery is about to be started for an engine.
EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
Marker interface for an execution context used by a concrete implementation of HierarchicalTestEngine and its collaborators.
EngineExecutionListener - Interface in org.junit.platform.engine
Listener to be notified of test execution events by test engines.
EngineExecutionOrchestrator - Class in org.junit.platform.launcher.core
Orchestrates test execution using the configured test engines.
EngineExecutionOrchestrator() - Constructor for class org.junit.platform.launcher.core.EngineExecutionOrchestrator
 
EngineExecutionResults - Class in org.junit.platform.testkit.engine
EngineExecutionResults provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a given TestEngine.
EngineFilter - Class in org.junit.platform.launcher
An EngineFilter is applied to all TestEngines before they are used.
EngineTestKit - Class in org.junit.platform.testkit.engine
EngineTestKit provides support for discovering and executing tests for a given TestEngine and provides convenient access to the results.
EngineTestKit.Builder - Class in org.junit.platform.testkit.engine
TestEngine execution builder.
entry() - Method in enum org.junit.platform.console.output.Theme
 
EnumConfigurationParameterConverter<E> - Class in org.junit.jupiter.engine.config
 
EnumConfigurationParameterConverter(Class<E>, String) - Constructor for class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
 
EnumSource - Annotation Type in org.junit.jupiter.params.provider
@EnumSource is a repeatable ArgumentsSource for constants of an Enum.
EnumSource.Mode - Enum in org.junit.jupiter.params.provider
Enumeration of modes for selecting enum constants by name.
EnumSources - Annotation Type in org.junit.jupiter.params.provider
@EnumSources is a simple container for one or more EnumSource annotations.
equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ClassSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.FilePosition
 
equals(Object) - Method in class org.junit.platform.engine.discovery.FileSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.IterationSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.MethodSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.NestedClassSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.PackageSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
equals(Object) - Method in class org.junit.platform.engine.discovery.UriSelector
 
equals(Object) - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
equals(Object) - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
equals(Object) - Method in class org.junit.platform.engine.support.store.Namespace
 
equals(Object) - Method in class org.junit.platform.engine.TestTag
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId
 
equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
 
equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
 
ERROR - Enum constant in enum org.junit.platform.engine.DiscoveryIssue.Severity
Indicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.
errorMessage() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained parse error message, if any.
evaluate(Collection<TestTag>) - Method in interface org.junit.platform.launcher.tagexpression.TagExpression
Evaluate this tag expression against the supplied collection of tags.
evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all ExecutionCondition extensions registered for the supplied ExtensionContext.
evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
Containers/tests are disabled if @Ignore is present on the test class or method.
event(Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event matches all of the supplied conditions.
Event - Class in org.junit.platform.testkit.engine
Event represents a single event fired during execution of a test plan on the JUnit Platform.
EventConditions - Class in org.junit.platform.testkit.engine
Collection of AssertJ conditions for Event.
Events - Class in org.junit.platform.testkit.engine
Events is a facade that provides a fluent API for working with events.
EventStatistics - Class in org.junit.platform.testkit.engine
EventStatistics provides a fluent API for asserting statistics for events.
EventType - Enum in org.junit.platform.testkit.engine
Enumeration of the different possible Event types.
exact(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Factory for creating an exact match without any children.
exact(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Factory for creating an exact match with potential children.
Example - Search tag in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Section
Example - Search tag in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Section
Example - Search tag in interface org.junit.platform.launcher.core.LauncherConfig
Section
Example - Search tag in org.junit.jupiter.params.provider.CsvFileSource.useHeadersInDisplayName()
Section
Example - Search tag in org.junit.jupiter.params.provider.CsvSource.textBlock()
Section
Example - Search tag in org.junit.jupiter.params.provider.CsvSource.useHeadersInDisplayName()
Section
Example - Search tag in org.junit.jupiter.params.provider.CsvSource.value()
Section
Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchExactly(Condition<? super Event>...)
Section
Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLoosely(Condition<? super Event>...)
Section
Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLooselyInOrder(Condition<? super Event>...)
Section
Example - Search tag in org.junit.platform.testkit.engine.Events.assertStatistics(Consumer<EventStatistics>)
Section
Examples - Search tag in annotation type org.junit.jupiter.params.provider.FieldSource
Section
Examples - Search tag in annotation type org.junit.jupiter.params.provider.MethodSource
Section
Examples - Search tag in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
Section
Examples - Search tag in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
Section
Examples - Search tag in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
Section
Examples - Search tag in org.junit.platform.launcher.LauncherConstants.DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
Section
Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(String)
Section
Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(TestEngine)
Section
EXCLUDE - Enum constant in enum org.junit.jupiter.params.provider.EnumSource.Mode
Select all declared enum constants except those supplied via the EnumSource.names() attribute.
excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new exclude ClassNameFilter based on the supplied patterns.
ExcludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
@ExcludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.
excluded() - Method in class org.junit.platform.engine.FilterResult
 
excluded(String) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating excluded results.
excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
ExcludeEngines - Annotation Type in org.junit.platform.suite.api
@ExcludeEngines specifies the IDs of TestEngines to be excluded when running a test suite on the JUnit Platform.
excludeMethodNamePatterns(String...) - Static method in interface org.junit.platform.launcher.MethodFilter
Create a new exclude MethodFilter based on the supplied patterns.
excludeMethodNamePatterns(List<String>) - Static method in interface org.junit.platform.launcher.MethodFilter
Create a new exclude MethodFilter based on the supplied patterns.
excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new exclude PackageNameFilter based on the supplied package names.
ExcludePackages - Annotation Type in org.junit.platform.suite.api
@ExcludePackages specifies the packages to be excluded when running a test suite on the JUnit Platform.
excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tag expressions.
excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tag expressions.
ExcludeTags - Annotation Type in org.junit.platform.suite.api
@ExcludeTags specifies the tags or tag expressions to be excluded when running a test suite on the JUnit Platform.
ExclusiveResource - Class in org.junit.platform.engine.support.hierarchical
An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.
ExclusiveResource(String, ExclusiveResource.LockMode) - Constructor for class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Create a new ExclusiveResource.
ExclusiveResource.LockMode - Enum in org.junit.platform.engine.support.hierarchical
LockMode translates to the respective ReadWriteLock locks.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Execute this task.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
Deprecated.
Execute the test.
execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
Execute this executable, potentially throwing a Throwable that signals abortion or failure.
execute() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Execute tests for the configured TestEngine, discovery selectors, discovery filters, and configuration parameters.
execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Execute the behavior of this node.
execute(PrintWriter, Optional<Path>) - Method in class org.junit.platform.console.command.ConsoleTestExecutor
 
execute(String, EngineDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
execute(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Execute tests for the given LauncherDiscoveryRequest using the TestEngine with the supplied ID.
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
Create an executor service; create an initial execution context; execute the behavior of all nodes in the hierarchy starting with the supplied request's root and notify its execution listener of test execution events.
execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
Execute tests according to the supplied ExecutionRequest.
execute(ExecutionRequest) - Method in class org.junit.platform.suite.engine.SuiteTestEngine
 
execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
 
execute(ThrowableCollector.Executable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Execute the supplied ThrowableCollector.Executable and collect any Throwable thrown during the execution.
execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Submit a dynamic test descriptor for immediate execution.
execute(TestDescriptor, EngineExecutionListener) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
execute(TestEngine, EngineDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
execute(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
Execute tests for the given LauncherDiscoveryRequest using the supplied TestEngine.
execute(LauncherDiscoveryResult, EngineExecutionListener, NamespacedHierarchicalStore<Namespace>) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
Executes tests for the supplied discovery results and notifies the supplied listener of execution events.
execute(LauncherDiscoveryResult, EngineExecutionListener, TestExecutionListener, NamespacedHierarchicalStore<Namespace>) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and testExecutionListener of execution events.
execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.
execute(TestPlan, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute the supplied TestPlan and notify registered listeners about the progress and results of the execution.
execute(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
 
executeAllChildren() - Method in class org.junit.vintage.engine.execution.VintageExecutor
 
executed() - Method in class org.junit.platform.testkit.engine.TerminationInfo
Determine if this TerminationInfo represents a completed execution.
executed(TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
Create an executed TerminationInfo instance for the supplied TestExecutionResult.
executeMethod(String) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeMethod(String, Class<?>[], Object...) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
 
executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
Execute the supplied SingleTestExecutor.Executable and return a TestExecutionResult based on the outcome.
Execution - Class in org.junit.platform.testkit.engine
Execution encapsulates metadata for the execution of a single TestDescriptor.
executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
executionFinished(TestDescriptor, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Event
Create a finished Event for the supplied TestDescriptor and TestExecutionResult.
executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a container or test that completed with the provided TestExecutionResult.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.console.output.TreePrintingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has finished, regardless of the outcome.
ExecutionRecorder - Class in org.junit.platform.testkit.engine
ExecutionRecorder is an EngineExecutionListener that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state via EngineExecutionResults.
ExecutionRecorder() - Constructor for class org.junit.platform.testkit.engine.ExecutionRecorder
 
ExecutionRequest - Class in org.junit.platform.engine
Provides a single TestEngine access to the information necessary to execute its tests.
ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
Deprecated.
without replacement because it's an internal API.
executions() - Method in class org.junit.platform.testkit.engine.Events
Get the Executions for the current set of events.
Executions - Class in org.junit.platform.testkit.engine
Executions is a facade that provides a fluent API for working with executions.
executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
executionSkipped(TestDescriptor, String) - Static method in class org.junit.platform.testkit.engine.Event
Create a skipped Event for the supplied TestDescriptor and reason.
executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a container or test that was skipped.
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.console.output.TreePrintingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has been skipped.
executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
executionStarted(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
Create a started Event for the supplied TestDescriptor.
executionStarted(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a container or test that started.
executionStarted(TestIdentifier) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.console.output.TreePrintingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan is about to be started.
expand() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Expand this match in order to resolve the children of the contained TestDescriptor.
ExpectedExceptionAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExpectedExceptionAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
ExpectedExceptionSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for the ExpectedException rule from JUnit 4.
ExpectedExceptionSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
ExtensionContextInternal - Interface in org.junit.jupiter.engine.extension
ExtensionContextInternal extends the ExtensionContext with internal API.
ExtensionContextSupplier - Interface in org.junit.jupiter.engine.execution
Container of two instances of ExtensionContext to simplify the legacy for #3445.
ExtensionContextSupplier.ScopeBasedExtensionContextSupplier - Class in org.junit.jupiter.engine.execution
 
ExtensionRegistrar - Interface in org.junit.jupiter.engine.extension
An ExtensionRegistrar is used to register extensions.
ExtensionRegistry - Interface in org.junit.jupiter.engine.extension
An ExtensionRegistry holds all registered extensions (i.e.
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable auto-detection and registration of extensions via Java's ServiceLoader mechanism: "junit.jupiter.extensions.autodetection.enabled"
EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to exclude patterns for auto-detecting extensions: "junit.jupiter.extensions.autodetection.exclude"
EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to include patterns for auto-detecting extensions: "junit.jupiter.extensions.autodetection.include"
EXTENSIONS_TIMEOUT_THREAD_DUMP_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
EXTENSIONS_TIMEOUT_THREAD_DUMP_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable dumping the stack of all threads to System.out when a timeout has occurred.
ExternalResourceAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
ExternalResourceAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
 
ExternalResourceSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for subclasses of the ExternalResource rule from JUnit 4.
ExternalResourceSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
 

F

failed() - Method in enum org.junit.platform.console.output.Theme
 
failed() - Method in class org.junit.platform.testkit.engine.Events
Get the failed Events contained in this Events object.
failed() - Method in class org.junit.platform.testkit.engine.Executions
Get the failed Executions contained in this Executions object.
failed(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected failed events.
failed(Throwable) - Static method in class org.junit.platform.engine.SelectorResolutionResult
Create a SelectorResolutionResult for a failed selector resolution.
failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for a failed execution of a test or container with the supplied throwable.
failed(Throwable) - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
Create a EngineDiscoveryResult for a failed test discovery.
FAILED - Enum constant in enum org.junit.platform.engine.SelectorResolutionResult.Status
Indicates that the TestEngine has encountered an error while resolving the selector.
FAILED - Enum constant in enum org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container failed.
FAILED - Enum constant in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Indicates that test discovery has failed.
failIfNoTests() - Element in annotation type org.junit.platform.suite.api.Suite
Fail suite if no tests were discovered.
failure() - Static method in class org.junit.platform.console.command.CommandResult
 
FAILURE - Static variable in class org.junit.platform.console.command.CommandResult
Exit code indicating any failure(s).
FieldContext - Interface in org.junit.jupiter.params.support
FieldContext encapsulates the context in which an @Parameter-annotated Field is declared in a @ParameterizedClass.
Field injection - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
Field or Constructor Injection - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
FieldSource - Annotation Type in org.junit.jupiter.params.provider
@FieldSource is a repeatable ArgumentsSource which provides access to values of fields of the class in which this annotation is declared or from static fields in external classes referenced by fully qualified field name.
FieldSources - Annotation Type in org.junit.jupiter.params.provider
@FieldSources is a simple container for one or more FieldSource annotations.
FILE_ENTRY_PUBLISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
Signals that a TestDescriptor published a file entry.
fileEntry(Predicate<FileEntry>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of FileEntry that contains a file that matches the supplied Predicate.
FileEntry - Class in org.junit.platform.engine.reporting
FileEntry encapsulates a file or directory to be published to the reporting infrastructure.
fileEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
Get the file entry publication Events contained in this Events object.
fileEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected file entry publication events.
fileEntryPublished(TestDescriptor, FileEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
Can be called for any TestDescriptor in order to publish a file or directory by attaching it to a test or container — for example: Screenshots Logs Output files written by the code under test Test output directory
fileEntryPublished(TestDescriptor, FileEntry) - Static method in class org.junit.platform.testkit.engine.Event
Create an Event for a published file for the supplied TestDescriptor and FileEntry.
fileEntryPublished(TestDescriptor, FileEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a published FileEntry.
fileEntryPublished(TestIdentifier, FileEntry) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
fileEntryPublished(TestIdentifier, FileEntry) - Method in class org.junit.platform.console.output.TreePrintingListener
 
fileEntryPublished(TestIdentifier, FileEntry) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
fileEntryPublished(TestIdentifier, FileEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when a file or directory has been published for the supplied TestIdentifier.
FilePosition - Class in org.junit.platform.engine.discovery
Position inside a file represented by line and column numbers.
FilePosition - Class in org.junit.platform.engine.support.descriptor
Position inside a file represented by line and column numbers.
files() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The CSV files to use as the sources of arguments; must not be empty unless CsvFileSource.resources() is non-empty.
FileSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a file so that TestEngines can discover tests or containers based on files in the file system.
FileSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
FileSource - Class in org.junit.platform.engine.support.descriptor
File based TestSource with an optional position.
FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
File system based TestSource.
filter(Predicate<? super Event>) - Method in class org.junit.platform.testkit.engine.Events
Shortcut for events.stream().filter(predicate).
filter(Predicate<? super Execution>) - Method in class org.junit.platform.testkit.engine.Executions
Shortcut for executions.stream().filter(predicate).
filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
Deprecated.
 
Filter<T> - Interface in org.junit.platform.engine
A Filter can be applied to determine if an object should be included or excluded in a result set.
Filterable - Interface in org.junit.jupiter.engine.descriptor
Filterable is implemented by TestDescriptors that may register dynamic tests during execution and support selective test execution.
FilterOptions() - Constructor for class org.junit.platform.console.options.TestDiscoveryOptionsMixin.FilterOptions
 
FilterResult - Class in org.junit.platform.engine
The result of applying a Filter.
filters(DiscoveryFilter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Deprecated.
filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all supplied filters to the request.
filters(Filter<?>...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Add all supplied filters to the request.
filters(Filter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Add all of the supplied filters.
filterStandardClassNamePatterns(boolean) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Specify whether to filter standard class name patterns.
findByUniqueId(UniqueId) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
findByUniqueId(UniqueId) - Method in interface org.junit.platform.engine.TestDescriptor
Find the descriptor with the supplied unique ID.
findInstance(Class<T>) - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
findTestSource(Description) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
 
finished() - Method in class org.junit.platform.testkit.engine.Events
Get the finished Events contained in this Events object.
finished() - Method in class org.junit.platform.testkit.engine.Executions
Get the finished Executions contained in this Executions object.
finished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected finished events.
finished(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its payload is an instance of TestExecutionResult that matches the supplied Condition.
finished(TestDescriptor, Instant, Instant, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Execution
Create a new instance of an Execution that finished with the provided TestExecutionResult.
FINISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
Signals that the execution of a TestDescriptor has finished, regardless of the outcome.
finishedSuccessfully() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of SUCCESSFUL.
finishedWithFailure() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of FAILED.
finishedWithFailure(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.FINISHED and its result has a status of FAILED as well as a cause that matches all of the supplied Conditions.
FIXED - Enum constant in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Uses the mandatory "fixed.parallelism" configuration parameter as the desired parallelism.
FLAT - Enum constant in enum org.junit.platform.console.options.Details
Test plan execution details are rendered in a flat, line-by-line mode.
FlatPrintingListener - Class in org.junit.platform.console.output
 
FlatPrintingListener(PrintWriter, ColorPalette) - Constructor for class org.junit.platform.console.output.FlatPrintingListener
 
floats() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The float values to use as sources of arguments; must not be empty.
forBiConsumer(BiConsumer<Throwable, Supplier<String>>) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to the supplied BiConsumer for consumption of logging messages.
forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
Create an engine's unique ID from its engineId using the default format.
forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using a log level of FINE.
forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using the supplied log level.
ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A ForkJoinPool-based executor service that executes test tasks with the configured parallelism.
ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ConfigurationParameters.
ForkJoinPoolHierarchicalTestExecutorService(ParallelExecutionConfiguration) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
Create a new ForkJoinPoolHierarchicalTestExecutorService based on the supplied ParallelExecutionConfiguration.
Formal Parameter List - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
forwarding(EngineDiscoveryListener, UniqueId) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Create a new DiscoveryIssueReporter that reports issues to the supplied EngineDiscoveryListener for the specified engine.
from() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
The starting enum constant of the range to be included.
from(boolean, Collection<TestDescriptor>, ConfigurationParameters, OutputDirectoryCreator) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.
from(int) - Static method in class org.junit.platform.engine.discovery.FilePosition
Create a new FilePosition using the supplied line number and an undefined column number.
from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line number and an undefined column number.
from(int, int) - Static method in class org.junit.platform.engine.discovery.FilePosition
Create a new FilePosition using the supplied line and column numbers.
from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create a new FilePosition using the supplied line and column numbers.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
Create a new DirectorySource using the supplied directory.
from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file.
from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
Create a new FileSource using the supplied file and filePosition.
from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class.
from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class and method.
from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class and file position.
from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied Java Package.
from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied method.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource using the supplied classpath resource name.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name.
from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
Create a new PackageSource using the supplied packageName.
from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a key-value pair.
from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name and method name.
from(String, String, Class<?>...) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name, method name, and method parameter types.
from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
Create a new MethodSource using the supplied class name, method name, and method parameter types.
from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource using the supplied classpath resource name and FilePosition.
from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource using the supplied class name and file position.
from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Create a new ClasspathResourceSource from the supplied URI.
from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
Create a new ClassSource from the supplied URI.
from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
Create a new UriSource using the supplied URI.
from(Path, String) - Static method in class org.junit.platform.engine.reporting.FileEntry
Factory for creating a new FileEntry from the supplied path and media type.
from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
Create a new CompositeTestSource based on the supplied collection of sources.
from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
Factory for creating a new ReportEntry from a map of key-value pairs.
from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.
fromConfigurationParameter(String, String) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
 
fromQuery(String) - Static method in class org.junit.platform.engine.discovery.FilePosition
Create an optional FilePosition by parsing the supplied query string.
fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
Create an optional FilePosition by parsing the supplied query string.

G

GenericBeforeAndAfterAdvice - Interface in org.junit.jupiter.migrationsupport.rules.adapter
 
get() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
 
get() - Method in interface org.junit.jupiter.params.provider.Arguments
Get the arguments used for an invocation of the @ParameterizedTest method.
get(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an Object.
get(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
get(int) - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
Returns the indexed parameter declaration for the supplied index, if available; never null.
get(int, Class<T>) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as an instance of the required type.
get(int, Class<T>) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the configuration parameter stored under the specified key.
get(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
get(String, Function<String, Optional<String>>, E) - Method in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
 
get(String, Function<String, T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get and transform the configuration parameter stored under the specified key using the specified transformer.
get(String, Function<String, T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
get(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Get the value stored for the supplied namespace and key in this store or the parent store, if present.
get(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Get the value stored for the supplied namespace and key in this store or the parent store, if present, and cast it to the supplied required type.
get(ExtensionContext) - Static method in interface org.junit.jupiter.params.ParameterInfo
Returns the closest ParameterInfo instance for the supplied ExtensionContext; potentially null.
get(ExtensionContext) - Static method in interface org.junit.jupiter.params.support.ParameterInfo
Deprecated.
get(TestInstantiationAwareExtension) - Method in interface org.junit.jupiter.engine.execution.ExtensionContextSupplier
 
get(TestInstantiationAwareExtension) - Method in class org.junit.jupiter.engine.execution.ExtensionContextSupplier.ScopeBasedExtensionContextSupplier
 
getAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getAdditionalLauncherDiscoveryListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional launcher discovery listeners that should be added to the Launcher.
getAdditionalLauncherSessionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional launcher session listeners that should be added to the Launcher.
getAdditionalPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional post discovery filters that should be added to the Launcher.
getAdditionalTestEngines() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test engines that should be added to the Launcher.
getAdditionalTestExecutionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test execution listeners that should be added to the Launcher.
getAll() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
Returns all indexed parameter declarations; never null, sorted by index.
getAllInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getAncestors() - Method in interface org.junit.platform.engine.TestDescriptor
Get the immutable set of all ancestors of this descriptor.
getAnnotatedElement() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
Returns the AnnotatedElement that declares the parameter; never null.
getArguments() - Method in interface org.junit.jupiter.params.ParameterInfo
Returns the accessor to the arguments of the current invocation.
getArtifactId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns junit-jupiter-engine as the artifact ID.
getArtifactId() - Method in interface org.junit.platform.engine.TestEngine
Get the Artifact ID of the JAR in which this test engine is packaged.
getArtifactId() - Method in class org.junit.platform.suite.engine.SuiteTestEngine
Returns junit-platform-suite-engine as the artifact ID.
getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
Returns junit-vintage-engine as the artifact ID.
getBoolean(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Boolean, performing automatic type conversion as necessary.
getBoolean(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getBoolean(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the boolean configuration parameter stored under the specified key.
getBoolean(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
getByte(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Byte, performing automatic type conversion as necessary.
getByte(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getCharacter(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Character, performing automatic type conversion as necessary.
getCharacter(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getChildren() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getChildren() - Method in interface org.junit.platform.engine.TestDescriptor
Get the immutable set of children of this descriptor.
getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
getChildren(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied unique ID.
getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied TestIdentifier.
getClassLoader() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the ClassLoader used to load the selected class.
getClassLoader() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the ClassLoader used to load the specified class.
getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
Get the ClassLoader used to load the selected nested class.
getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the ClassLoader used to load the nested class.
getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the selected class name.
getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected class name.
getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the class name of this source.
getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the class name of this source.
getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
Deprecated.
Get the class name for the supplied TestIdentifier using the supplied TestPlan.
getClassNameFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the class name filter built from the ClassNameFilters and PackageNameFilters in the EngineDiscoveryRequest that is about to be resolved.
getClasspathResourceName() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
Get the name of the selected classpath resource.
getClasspathResourceName() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Get the name of the source classpath resource.
getClasspathResources() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
Deprecated.
getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
Get the selected classpath root directory as an URI.
getColorPalettePath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
getColumn() - Method in class org.junit.platform.engine.discovery.FilePosition
Get the column number of this FilePosition, if available.
getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
Get the column number of this FilePosition, if available.
getConfiguration() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
getConfiguration() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getConfigurationParameters() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the ConfigurationParameters for this request.
getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
Returns the ConfigurationParameters that the engine may use to influence test execution.
getConfigurationParameters() - Method in class org.junit.platform.launcher.TestPlan
Get the ConfigurationParameters for this test plan.
getConfigurationParametersResources() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers aborted.
getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that failed.
getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers found.
getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers skipped.
getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers started.
getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that succeeded.
getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the core thread pool size to be used.
getDeclarations() - Method in interface org.junit.jupiter.params.ParameterInfo
Returns the declarations of all indexed parameters.
getDecoratedRunner() - Method in interface org.junit.vintage.engine.descriptor.RunnerDecorator
 
getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getDefaultClassesExecutionMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultClassesExecutionMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultClassesExecutionMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultDisplayNameGenerator() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultDisplayNameGenerator() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultDisplayNameGenerator() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultExecutionMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultExecutionMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTempDirCleanupMode() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTempDirCleanupMode() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTempDirCleanupMode() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTempDirFactorySupplier() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTempDirFactorySupplier() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTempDirFactorySupplier() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTestClassOrderer() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTestClassOrderer() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTestClassOrderer() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTestInstanceLifecycle() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTestInstantiationExtensionContextScope() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTestInstantiationExtensionContextScope() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTestInstantiationExtensionContextScope() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDefaultTestMethodOrderer() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getDefaultTestMethodOrderer() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getDefaultTestMethodOrderer() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
Get the immutable set of all descendants of this descriptor.
getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get all descendants of the supplied TestIdentifier (i.e., all of its children and their children, recursively).
getDescription() - Method in class org.junit.platform.runner.JUnitPlatform
Deprecated.
 
getDescription() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getDetails() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a File.
getDiscoveryIssues() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
Returns the issues that were encountered during discovery.
getDiscoveryIssues(TestEngine) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
 
getDiscoveryListener() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the EngineDiscoveryListener for this request.
getDiscoveryListener() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the LauncherDiscoveryListener for this request.
getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the EngineDiscoveryRequest that is about to be resolved.
getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
Get the display name for this descriptor.
getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the display name of the represented test or container.
getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Double, performing automatic type conversion as necessary.
getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getDuration() - Method in class org.junit.platform.testkit.engine.Execution
Get the Duration of this Execution.
getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
getDynamicDescendantFilter() - Method in interface org.junit.jupiter.engine.descriptor.Filterable
 
getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
getDynamicDescendantFilter() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
Get the list of Class enclosing the selected nested Class.
getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the list of Class enclosing the nested Class containing the selected Method.
getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
Get the names of the classes enclosing the selected nested class.
getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the names of the classes enclosing the nested class containing the selected method.
getEnclosingInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getEnclosingTestClasses() - Method in interface org.junit.jupiter.engine.descriptor.TestClassAware
 
getEnclosingTestClasses(TestDescriptor) - Static method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getEndInstant() - Method in class org.junit.platform.testkit.engine.Execution
Get the end Instant of this Execution.
getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the engine's TestDescriptor that will be used to collect the results.
getEngineDescriptor() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
Returns the root TestDescriptor of the engine.
getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
Returns the EngineExecutionListener to be notified of test execution events.
getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the EngineFilters for this request.
getEngineId() - Method in class org.junit.platform.engine.UniqueId
Get the engine ID stored in this UniqueId, if available.
getEngineIds() - Method in class org.junit.platform.launcher.EngineFilter
 
getEngineTestDescriptor(TestEngine) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
 
getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the Throwable causing the failure.
getExcludedClassNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExcludedEngines() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExcludedMethodNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExcludedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExcludedTagExpressions() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExclusiveResourceCollector() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getExclusiveResourceCollector() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getExclusiveResourceCollector() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
Get the set of exclusive resources required to execute this node.
getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getExecutionConditionFilter() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getExecutionConditionFilter() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Get the execution mode of this task.
getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.Node
Get the preferred of execution mode for parallel execution of this node.
getExecutionResult() - Method in class org.junit.platform.testkit.engine.TerminationInfo
Get the TestExecutionResult for the completed execution.
getExecutionResults() - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Get the state of the engine's execution in the form of EngineExecutionResults.
getExistingAdditionalClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExitCode() - Method in class org.junit.platform.console.command.CommandResult
 
getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getExplicitSelectors() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensions(Class<E>) - Method in interface org.junit.jupiter.engine.extension.ExtensionContextInternal
Returns a list of registered extension at this context of the passed extensionType.
getExtensions(Class<E>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistry
Get all Extensions of the specified type that are present in this registry or one of its ancestors.
getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get an immutable list of the failures of the test plan execution.
getField() - Method in interface org.junit.jupiter.params.support.FieldContext
Returns the field for this context; never null.
getFile() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a File.
getFile() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
Get the source directory.
getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the source file.
getFile() - Method in interface org.junit.platform.engine.support.descriptor.FileSystemSource
Get the source file or directory.
getFilterForAutoDetectedExtensions() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getFilterForAutoDetectedExtensions() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getFilterForAutoDetectedExtensions() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getFilters() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the DiscoveryFilters for this request, filtered by a particular type.
getFirst() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
Returns the first indexed parameter declaration, if available; never null.
getFloat(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Float, performing automatic type conversion as necessary.
getFloat(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getGroupId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns org.junit.jupiter as the group ID.
getGroupId() - Method in interface org.junit.platform.engine.TestEngine
Get the Group ID of the JAR in which this test engine is packaged.
getGroupId() - Method in class org.junit.platform.suite.engine.SuiteTestEngine
Returns org.junit.platform as the group ID.
getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
Returns org.junit.vintage as the group ID.
getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
getId() - Method in interface org.junit.platform.engine.TestEngine
Get the ID that uniquely identifies this test engine.
getId() - Method in class org.junit.platform.suite.engine.SuiteTestEngine
 
getId() - Method in class org.junit.vintage.engine.VintageTestEngine
 
getIncludedClassNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getIncludedEngines() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getIncludedMethodNamePatterns() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getIncludedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getIncludedTagExpressions() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getIndex() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getInnermostInstance() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
getInteger(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Integer, performing automatic type conversion as necessary.
getInteger(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getInvocationIndex() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the index of the current test invocation.
getInvocationIndex() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getIssueReporter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Returns the DiscoveryIssueReporter for the current resolution.
getIterationIndices() - Method in class org.junit.platform.engine.discovery.IterationSelector
Get the selected iteration indices.
getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
Get the selected Class.
getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the Class in which the selected method is declared, or a subclass thereof.
getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the Java class of this source.
getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the Java class of this source.
getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected Method.
getJavaMethod() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the Java method of this source.
getKeepAliveSeconds() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Get the key of this resource.
getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
Get an unmodifiable copy of the map of key-value pairs to be published.
getLastSegment() - Method in class org.junit.platform.engine.UniqueId
Get the last UniqueId.Segment of this UniqueId.
getLauncher() - Method in interface org.junit.platform.launcher.LauncherSession
Get the Launcher associated with this session.
getLauncherStoreFacade() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getLegacyReportingBaseName() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getLegacyReportingBaseName() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getLegacyReportingBaseName() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getLegacyReportingBaseName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getLegacyReportingIndex() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getLegacyReportingIndex() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getLegacyReportingIndex() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getLegacyReportingName() - Method in interface org.junit.platform.engine.TestDescriptor
Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
getLegacyReportingName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the name of this identifier in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getLine() - Method in class org.junit.platform.engine.discovery.FilePosition
Get the line number of this FilePosition.
getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
Get the line number of this FilePosition.
getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Get the lock mode of this resource.
getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Long, performing automatic type conversion as necessary.
getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getMatches() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Returns the matches contained by this resolution.
getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the maximum thread pool size to be used.
getMediaType() - Method in class org.junit.platform.engine.reporting.FileEntry
Get the media type of the path to be published.
getMethod() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the selected Method.
getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the selected method name.
getMethodName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the name of the selected method.
getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the method name of this source.
getMethodName(Description) - Static method in class org.junit.vintage.engine.descriptor.DescriptionUtils
 
getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
Deprecated.
getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Deprecated.
getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
Get the method parameter types of this source.
getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the minimum number of runnable threads to be used.
getModifiableChildren() - Method in class org.junit.vintage.engine.descriptor.VintageEngineDescriptor
 
getModuleName() - Method in class org.junit.platform.engine.discovery.ModuleSelector
Get the selected module name.
getName() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
Get the name of this ArgumentSet.
getName() - Method in class org.junit.platform.engine.TestTag
Get the name of this tag.
getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
Get the selected nested Class.
getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the nested Class containing the selected Method.
getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
Get the name of the selected nested class.
getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the name of the nested class containing the selected method.
getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getOrComputeIfAbsent(N, K, Function<K, V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it.
getOrComputeIfAbsent(N, K, Function<K, V>, Class<V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it and, finally, cast it to the supplied required type.
getOutputDirectoryCreator() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getOutputDirectoryCreator() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getOutputDirectoryCreator() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getOutputDirectoryCreator() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the OutputDirectoryCreator for this request.
getOutputDirectoryCreator() - Method in class org.junit.platform.engine.ExecutionRequest
Returns the OutputDirectoryCreator for this request for writing reports and other output files.
getOutputDirectoryCreator() - Method in class org.junit.platform.launcher.TestPlan
Get the OutputDirectoryCreator for this test plan.
getOutputDirectoryProvider() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
getOutputDirectoryProvider() - Method in class org.junit.platform.engine.ExecutionRequest
Deprecated.
getOutputDirectoryProvider() - Method in class org.junit.platform.launcher.TestPlan
Deprecated.
getPackageFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
Get the package name filter built from the PackageNameFilters in the EngineDiscoveryRequest that is about to be resolved.
getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
Get the selected package name.
getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
Get the package name of this test source.
getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the parallelism to be used.
getParameterIndex() - Method in interface org.junit.jupiter.params.support.FieldContext
Returns the index of the parameter.
getParameterIndex() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
Returns the index of the parameter.
getParameterName() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
Returns the name of the parameter, if available; never null but potentially empty.
getParameterType() - Method in interface org.junit.jupiter.params.support.ParameterDeclaration
Returns the type of the parameter; never null.
getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the names of parameter types for the selected method as a String, typically a comma-separated list of primitive types, fully qualified class names, or array types.
getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the names of parameter types for the selected method as a String.
getParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
Get the parameter types for the selected method.
getParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
Get the parameter types for the selected method.
getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getParent() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Returns the parent store of this NamespacedHierarchicalStore.
getParent() - Method in interface org.junit.platform.engine.TestDescriptor
Get the parent of this descriptor, if available.
getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the parent of the supplied TestIdentifier.
getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of this identifier's parent as a String, if available.
getParentIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of this identifier's parent as a UniqueId, if available.
getParentSelector() - Method in class org.junit.platform.engine.discovery.IterationSelector
Get the selected parent DiscoverySelector.
getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a Path using the default FileSystem.
getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a Path using the default FileSystem.
getPath() - Method in class org.junit.platform.engine.reporting.FileEntry
Get the path for the file or directory to be published.
getPayload() - Method in class org.junit.platform.testkit.engine.Event
Get the payload, if available.
getPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
Get the payload of the expected type, if available.
getPosition() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
Get the selected FilePosition within the classpath resource.
getPosition() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected position within the file as a FilePosition.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
Get the FilePosition, if available.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
Get the position in the source file for the associated class, if available.
getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the FilePosition, if available.
getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the PostDiscoveryFilters for this request.
getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
 
getPrefix() - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
Get the prefix that this parser supports.
getPrefix() - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
 
getPrefix() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
Get the prefix of this identifier.
getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getRawConfigurationParameter(String) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
getRawConfigurationParameter(String, Function<String, T>) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
Get the selected directory as a raw path.
getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
Get the selected file as a raw path.
getReason() - Method in class org.junit.platform.engine.FilterResult
Get the reason why the filtered object should be included or excluded, if available.
getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Get the reason that execution of the context should be skipped, if available.
getRequestLevelStore() - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
 
getRequestLevelStore(ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
 
getRequiredPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
Get the payload of the required type.
getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
Get the resource lock of this task.
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getResourceLocksProviderEvaluator() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getResources() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
Get the selected resources.
getResources() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Returns the exclusive resources this lock represents.
getRootDirectory() - Method in interface org.junit.platform.engine.OutputDirectoryCreator
Returns the root directory for all output files; never null.
getRoots() - Method in class org.junit.platform.launcher.TestPlan
Get the root TestIdentifiers for this test plan.
getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
Returns the root TestDescriptor of the engine that processes this request.
getSaturatePredicate() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
Get the saturate predicate to be used for the execution's ForkJoinPool.
getSegments() - Method in class org.junit.platform.engine.UniqueId
Get the immutable list of segments that make up this UniqueId.
getSelectedClasses() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedClasspathEntries() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedClasspathResources() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedDirectories() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedFiles() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedIterations() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedMethods() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedModules() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedPackages() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedUniqueIds() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectedUris() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectorIdentifiers() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
getSelectors() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Returns the selectors contained by this resolution.
getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
Get the DiscoverySelectors for this request, filtered by a particular type.
getSessionLevelStore(ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
 
getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a Short, performing automatic type conversion as necessary.
getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getSkipReason() - Method in class org.junit.platform.testkit.engine.TerminationInfo
Get the reason the execution was skipped.
getSource() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getSource() - Method in interface org.junit.platform.engine.TestDescriptor
Get the source of the test or container described by this descriptor, if available.
getSource() - Method in class org.junit.platform.launcher.TestIdentifier
Get the source of the represented test or container, if available.
getSourceElement() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
Returns the source element of all parameter declarations.
getSourceElementDescription() - Method in interface org.junit.jupiter.params.support.ParameterDeclarations
Returns a human-readable description of the source element.
getSources() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
Get an immutable list of the sources stored in this CompositeTestSource.
getStartInstant() - Method in class org.junit.platform.testkit.engine.Execution
Get the start Instant of this Execution.
getStatus() - Method in class org.junit.platform.engine.SelectorResolutionResult
Get the status of this result.
getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
Get the status of this result.
getStatus() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
Get the status of this result.
getStderrPath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
getStdoutPath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
getStore() - Method in class org.junit.platform.engine.ExecutionRequest
Returns the NamespacedHierarchicalStore for this request for storing request-scoped data.
getStore() - Method in interface org.junit.platform.launcher.LauncherSession
Get the NamespacedHierarchicalStore associated with this session.
getStoreAdapter(NamespacedHierarchicalStore<Namespace>, ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
 
getString(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the value of the argument at the given index as a String, performing automatic type conversion as necessary.
getString(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
Get the summary generated by this listener.
getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getTags() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getTags() - Method in interface org.junit.platform.engine.TestDescriptor
Get the set of tags associated with this descriptor.
getTags() - Method in class org.junit.platform.launcher.TestIdentifier
Get the set of tags associated with the represented test or container.
getTags() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getTerminationInfo() - Method in class org.junit.platform.testkit.engine.Execution
Get the TerminationInfo for this Execution.
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTestClass() - Method in interface org.junit.jupiter.engine.descriptor.TestClassAware
 
getTestDescriptor() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Get the contained TestDescriptor.
getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Event
Get the TestDescriptor associated with this Event.
getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
Get the TestDescriptor for this Execution.
getTestEngines() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
 
getTestIdentifier() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the identifier of the failed test or container.
getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
getTestIdentifier(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
Get the TestIdentifier with the supplied unique ID.
getTestInstances(JupiterEngineExecutionContext) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
 
getTestInstances(ExtensionRegistry, JupiterEngineExecutionContext) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
 
getTestInstancesProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
 
getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
 
getTestRule() - Method in interface org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMember
 
getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests aborted.
getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that failed.
getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests found.
getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests skipped.
getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests started.
getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that succeeded.
getTheme() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
getThrowable() - Method in class org.junit.platform.engine.SelectorResolutionResult
Get the throwable that caused this result, if available.
getThrowable() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Get the first Throwable collected by this ThrowableCollector.
getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
Get the throwable that caused this result, if available.
getThrowable() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
Get the throwable that caused this result, if available.
getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan finished.
getTimestamp() - Method in class org.junit.platform.engine.reporting.FileEntry
Get the timestamp for when this FileEntry was created.
getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
Get the timestamp for when this ReportEntry was created.
getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
Get the Instant when this Event occurred.
getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan started.
getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the total number of failed containers and failed tests.
getType() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
getType() - Method in interface org.junit.platform.engine.TestDescriptor
Determine the TestDescriptor.Type of this descriptor.
getType() - Method in class org.junit.platform.engine.UniqueId.Segment
Get the type of this segment.
getType() - Method in class org.junit.platform.launcher.TestIdentifier
Get the underlying descriptor type.
getType() - Method in class org.junit.platform.testkit.engine.Event
Get the type of this Event.
getType() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
Get the selected UniqueId.
getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
Get the unique identifier (UID) for this descriptor.
getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of the represented test or container as a String.
getUniqueIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of the represented test or container as a UniqueId.
getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
Get the selected URI.
getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
Get the URI for the source directory.
getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
Get the URI for the source file.
getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
Get the URI that represents this source.
getValue() - Method in class org.junit.platform.console.command.CommandResult
 
getValue() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
Get the value of this identifier.
getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
Get the value of this segment.
getVersion() - Method in interface org.junit.platform.engine.TestEngine
Get the version of this test engine.
GLOBAL - Static variable in class org.junit.platform.engine.support.store.Namespace
The default, global namespace which allows access to stored data from all extensions.
GLOBAL_KEY - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
Key of the global resource lock that all direct children of the engine descriptor acquire in read mode by default: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"

H

handle(ClassLoader) - Method in enum org.junit.platform.console.command.CustomClassLoaderCloseStrategy
Handle the class loader according to the strategy.
handleTestExecutionException(Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
 
handleTestExecutionException(Throwable) - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
 
handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.FilePosition
 
hashCode() - Method in class org.junit.platform.engine.discovery.FileSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.IterationSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
hashCode() - Method in class org.junit.platform.engine.discovery.UriSelector
 
hashCode() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
hashCode() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
hashCode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
hashCode() - Method in class org.junit.platform.engine.support.store.Namespace
 
hashCode() - Method in class org.junit.platform.engine.TestTag
 
hashCode() - Method in class org.junit.platform.engine.UniqueId
 
hashCode() - Method in class org.junit.platform.engine.UniqueId.Segment
 
hashCode() - Method in class org.junit.platform.launcher.TestIdentifier
 
hasPrefix(UniqueId) - Method in class org.junit.platform.engine.UniqueId
Determine if the supplied UniqueId is a prefix for this UniqueId.
hasVoidReturnType(Class<? extends Annotation>, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
hasVoidReturnType(Class<? extends Annotation>, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
hasVoidReturnType(Class<? extends Annotation>, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
HierarchicalTestEngine<C> - Class in org.junit.platform.engine.support.hierarchical
Abstract base class for all TestEngine implementations that wish to organize test suites hierarchically based on the Node abstraction.
HierarchicalTestEngine() - Constructor for class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
 
HierarchicalTestExecutorService - Interface in org.junit.platform.engine.support.hierarchical
A closeable service that executes test tasks.
HierarchicalTestExecutorService.TestTask - Interface in org.junit.platform.engine.support.hierarchical
An executable task that represents a single test or container.

I

IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
 
IdentifierParser() - Constructor for class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
 
IgnoreCondition - Class in org.junit.jupiter.migrationsupport.conditions
ExecutionCondition that supports JUnit 4's @Ignore annotation.
IgnoreCondition() - Constructor for class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
 
ignoreLeadingAndTrailingWhitespace() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
ignoreLeadingAndTrailingWhitespace() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
INCLUDE - Enum constant in enum org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names are supplied via the EnumSource.names() attribute.
includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
Create a new include ClassNameFilter based on the supplied patterns.
IncludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
@IncludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.
included() - Method in class org.junit.platform.engine.FilterResult
 
included(String) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating included results.
includedIf(boolean) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating filter results based on the condition given.
includedIf(boolean, Supplier<String>, Supplier<String>) - Static method in class org.junit.platform.engine.FilterResult
Factory for creating filter results based on the condition given.
includeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
includeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
IncludeEngines - Annotation Type in org.junit.platform.suite.api
@IncludeEngines specifies the IDs of TestEngines to be included when running a test suite on the JUnit Platform.
includeMethodNamePatterns(String...) - Static method in interface org.junit.platform.launcher.MethodFilter
Create a new include MethodFilter based on the supplied patterns.
includeMethodNamePatterns(List<String>) - Static method in interface org.junit.platform.launcher.MethodFilter
Create a new include MethodFilter based on the supplied patterns.
includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new include PackageNameFilter based on the supplied package names.
includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
Create a new include PackageNameFilter based on the supplied package names.
IncludePackages - Annotation Type in org.junit.platform.suite.api
@IncludePackages specifies the packages to be included when running a test suite on the JUnit Platform.
includeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tag expressions.
includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tag expressions.
IncludeTags - Annotation Type in org.junit.platform.suite.api
@IncludeTags specifies the tags or tag expressions to be included when running a test suite on the JUnit Platform.
indented(String, String) - Static method in interface org.junit.platform.console.output.DetailsPrintingListener
 
INDEX_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
Placeholder for the current invocation index of a @ParameterizedTest method (1-based): {index}
INDEX_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
Deprecated.
INFO - Enum constant in enum org.junit.platform.engine.DiscoveryIssue.Severity
Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.
Inheritance - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.ArgumentsSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.ArgumentsSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.CsvFileSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.CsvFileSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.CsvSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.CsvSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.EmptySource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.EnumSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.EnumSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.FieldSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.FieldSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.MethodSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.MethodSources
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.NullAndEmptySource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.NullSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.ValueSource
Section
Inheritance - Search tag in annotation type org.junit.jupiter.params.provider.ValueSources
Section
Inheritance and Execution Order - Search tag in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
Section
Inheritance and Execution Order - Search tag in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
Section
Inheritance and Execution Order - Search tag in annotation type org.junit.platform.suite.api.AfterSuite
Section
Inheritance and Execution Order - Search tag in annotation type org.junit.platform.suite.api.BeforeSuite
Section
initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
 
initializeExtensions(Class<?>, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Initialize all registered extensions for the supplied testClass using the supplied testInstance.
initializeExtensions(Class<?>, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
injectArguments() - Element in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
Whether the arguments of the parameterized test class should be injected into the annotated method (defaults to true).
injectArguments() - Element in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
Whether the arguments of the parameterized test class should be injected into the annotated method (defaults to true).
instanceOf(Class<? extends Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable is an instance of the supplied Class.
instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContextSupplier) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionContextSupplier, ExtensionRegistry, JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionContextSupplier, ExtensionRegistry, JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionContextSupplier, ExtensionRegistry, JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionContextSupplier, ExtensionRegistry, JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
intercept(LauncherInterceptor.Invocation<T>) - Method in interface org.junit.platform.launcher.LauncherInterceptor
Intercept the supplied invocation.
InterceptingExecutableInvoker - Class in org.junit.jupiter.engine.execution
InterceptingExecutableInvoker encapsulates the invocation of a Executable (i.e., method or constructor), including support for dynamic resolution of method parameters via ParameterResolvers.
InterceptingExecutableInvoker() - Constructor for class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
 
InterceptingExecutableInvoker.ReflectiveInterceptorCall<E,T> - Interface in org.junit.jupiter.engine.execution
 
InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall - Interface in org.junit.jupiter.engine.execution
 
ints() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The int values to use as sources of arguments; must not be empty.
InvocationInterceptorChain - Class in org.junit.jupiter.engine.execution
 
InvocationInterceptorChain() - Constructor for class org.junit.jupiter.engine.execution.InvocationInterceptorChain
 
InvocationInterceptorChain.InterceptorCall<T> - Interface in org.junit.jupiter.engine.execution
 
InvocationInterceptorChain.VoidInterceptorCall - Interface in org.junit.jupiter.engine.execution
 
invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
Invoke this invocation with the supplied context.
invoke(Constructor<T>, Object) - Method in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
 
invoke(Constructor<T>, Optional<Object>, ExtensionContextSupplier, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Constructor<T>, T>) - Method in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
invoke(Method, Object) - Method in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
 
invoke(Method, Object, ExtensionContext, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Method, T>) - Method in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
Invoke the supplied method with dynamic parameter resolution.
invoke(InvocationInterceptor.Invocation<T>, ExtensionRegistry, InvocationInterceptorChain.InterceptorCall<T>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
 
invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
 
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Invoke all supplied test tasks and block until their execution has finished.
invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
invokeTestWatchers(JupiterEngineExecutionContext, boolean, Consumer<TestWatcher>) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
isAnnotatedWithClassTemplate - Variable in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
isAnnotatedWithNested - Variable in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
isAnnotatedWithNestedAndValid - Variable in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
isAnsiColorOutputDisabled() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
isClosed() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Determine if this store has been closed.
isClosingStoredAutoCloseablesEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isClosingStoredAutoCloseablesEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isClosingStoredAutoCloseablesEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
isCompatible(ResourceLock) - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Returns whether the given lock is compatible with this lock.
isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a container.
isContainer() - Method in enum org.junit.platform.engine.TestDescriptor.Type
 
isContainer() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a container.
isDisableAnsiColors() - Method in class org.junit.platform.console.options.AnsiColorOptionMixin
 
isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is empty (i.e., has not collected any Throwables).
isExact() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Whether this match is exact.
isExclusive() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Returns whether this lock requires exclusiveness.
isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isExtensionAutoDetectionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isExtensionAutoDetectionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
isIgnored() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
isIncludeFilter() - Method in class org.junit.platform.launcher.EngineFilter
 
isLauncherDiscoveryListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if launcher discovery listeners should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
isLauncherSessionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if launcher session listeners should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Determine if this ThrowableCollector is not empty (i.e., has collected at least one Throwable).
isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isParallelExecutionEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isParallelExecutionEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
isPostDiscoveryFilterAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if post discovery filters should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
IsPotentialJUnit4TestClass - Class in org.junit.vintage.engine.discovery
 
IsPotentialJUnit4TestClass() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
 
isResolved() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Whether this resolution contains matches or selectors.
isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor is a root descriptor.
isScanClasspath() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
isScanModulepath() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
isSingleColorPalette() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Whether execution of the context should be skipped.
issueEncountered(UniqueId, DiscoveryIssue) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
Called when the engine with the supplied engineId encountered an issue during test discovery.
isTest() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor describes a test.
isTest() - Method in enum org.junit.platform.engine.TestDescriptor.Type
 
isTest() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a test.
isTestEngineAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test engines should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
isTestExecutionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test execution listeners should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestFactory method.
IsTestFactoryMethod(DiscoveryIssueReporter) - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
IsTestMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @Test method.
IsTestMethod(DiscoveryIssueReporter) - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
isTestOrTestFactoryOrTestTemplateMethod - Variable in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestTemplate method.
IsTestTemplateMethod(DiscoveryIssueReporter) - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
isThreadDumpOnTimeoutEnabled() - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
 
isThreadDumpOnTimeoutEnabled() - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
 
isThreadDumpOnTimeoutEnabled() - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
isValid(String) - Static method in class org.junit.platform.engine.TestTag
Determine if the supplied tag name is valid with regard to the supported syntax for tags.
isValidNestedTestClass(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
isValidStandaloneTestClass(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
IterationSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects the iterations of a parent DiscoverySelector via their indices so that TestEngines can discover a subset of the iterations of tests or containers.
IterationSelector.IdentifierParser - Class in org.junit.platform.engine.discovery

J

JavaTimeConversionPattern - Annotation Type in org.junit.jupiter.params.converter
@JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a parameter of a @ParameterizedClass or @ParameterizedTest.
JUnit 4 Suite Support - Search tag in annotation type org.junit.platform.suite.api.SuiteDisplayName
Section
JUnit 4 Suite Support - Search tag in annotation type org.junit.platform.suite.api.UseTechnicalNames
Section
JUnit 4 Suite Support - Search tag in package org.junit.platform.suite.api
Section
JUnit 5 Suite Support - Search tag in annotation type org.junit.platform.suite.api.SuiteDisplayName
Section
JUnit 5 Suite Support - Search tag in package org.junit.platform.suite.api
Section
JUnitPlatform - Class in org.junit.platform.runner
Deprecated.
since 1.8, in favor of the @Suite support provided by the junit-platform-suite-engine module; to be removed in JUnit Platform 2.0
JUnitPlatform(Class<?>) - Constructor for class org.junit.platform.runner.JUnitPlatform
Deprecated.
 
JupiterConfiguration - Interface in org.junit.jupiter.engine.config
 
JupiterEngineDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterEngineDescriptor(UniqueId, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
JupiterEngineExecutionContext - Class in org.junit.jupiter.engine.execution
 
JupiterEngineExecutionContext(EngineExecutionListener, JupiterConfiguration, LauncherStoreFacade) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
JupiterEngineExecutionContext.Builder - Class in org.junit.jupiter.engine.execution
 
JupiterTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterTestEngine - Class in org.junit.jupiter.engine
The JUnit Jupiter TestEngine.
JupiterTestEngine() - Constructor for class org.junit.jupiter.engine.JupiterTestEngine
 
JupiterThrowableCollectorFactory - Class in org.junit.jupiter.engine.support
Factory for creating ThrowableCollectors within the JUnit Jupiter test engine.
JupiterThrowableCollectorFactory() - Constructor for class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
 

K

KEEP_OPEN - Enum constant in enum org.junit.platform.console.command.CustomClassLoaderCloseStrategy
Rely on the JVM to release resources held by the custom class loader when it terminates.
key() - Element in annotation type org.junit.platform.suite.api.ConfigurationParameter
The configuration parameter key under which to add the value to the discovery request; never null or blank.
KEY - Static variable in interface org.junit.jupiter.params.ParameterInfo
The key for retrieving the ParameterInfo instance from the Store.
KEY - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
Deprecated.
Please use ParameterInfo.KEY instead
keySet() - Method in interface org.junit.platform.engine.ConfigurationParameters
Get the keys of all configuration parameters stored in this ConfigurationParameters.
keySet() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 

L

Launcher - Interface in org.junit.platform.launcher
The Launcher API is the main entry point for client code that wishes to discover and execute tests using one or more test engines.
LauncherConfig - Interface in org.junit.platform.launcher.core
LauncherConfig defines the configuration API for creating Launcher instances via the LauncherFactory.
LauncherConfig.Builder - Class in org.junit.platform.launcher.core
Builder API for LauncherConfig.
LauncherConstants - Class in org.junit.platform.launcher
Collection of constants related to Launcher.
launcherDiscoveryFinished(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery has finished.
LauncherDiscoveryListener - Interface in org.junit.platform.launcher
Register a concrete implementation of this interface with a LauncherDiscoveryRequestBuilder or Launcher to be notified of events that occur during test discovery.
LauncherDiscoveryListeners - Class in org.junit.platform.launcher.listeners.discovery
Collection of static factory methods for creating LauncherDiscoveryListeners.
LauncherDiscoveryRequest - Interface in org.junit.platform.launcher
LauncherDiscoveryRequest extends the EngineDiscoveryRequest API with additional filters that are applied by the Launcher itself.
LauncherDiscoveryRequestBuilder - Class in org.junit.platform.launcher.core
The LauncherDiscoveryRequestBuilder provides a light-weight DSL for generating a LauncherDiscoveryRequest.
LauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
LauncherDiscoveryResult - Class in org.junit.platform.launcher.core
Represents the result of test discovery of the configured test engines.
launcherDiscoveryStarted(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery is about to be started.
LauncherFactory - Class in org.junit.platform.launcher.core
Factory for creating Launcher instances by invoking LauncherFactory.create() or LauncherFactory.create(LauncherConfig).
LauncherInterceptor - Interface in org.junit.platform.launcher
Interceptor for test discovery and execution by a Launcher in the context of a LauncherSession.
LauncherInterceptor.Invocation<T> - Interface in org.junit.platform.launcher
An invocation that can be intercepted.
LauncherSession - Interface in org.junit.platform.launcher
The LauncherSession API is the main entry point for client code that wishes to repeatedly discover and execute tests using one or more test engines.
launcherSessionClosed(LauncherSession) - Method in interface org.junit.platform.launcher.LauncherSessionListener
Called when a launcher session was closed.
LauncherSessionListener - Interface in org.junit.platform.launcher
Register an implementation of this interface to be notified when a LauncherSession is opened and closed.
LauncherSessionListeners - Class in org.junit.platform.launcher.listeners.session
Collection of static factory methods for creating LauncherSessionListeners.
launcherSessionOpened(LauncherSession) - Method in interface org.junit.platform.launcher.LauncherSessionListener
Called when a launcher session was opened.
LauncherStoreFacade - Class in org.junit.jupiter.engine.execution
 
LauncherStoreFacade(NamespacedHierarchicalStore<Namespace>) - Constructor for class org.junit.jupiter.engine.execution.LauncherStoreFacade
 
legacyReportingName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the TestDescriptor.getLegacyReportingName() () legacy reporting name} of an Event's test descriptor is equal to the supplied String.
LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
Deprecated.
Use
invalid reference
org.junit.platform.reporting.legacy.LegacyReportingUtils
instead.
Lifecycle Methods - Search tag in annotation type org.junit.jupiter.params.ParameterizedClass
Section
line() - Element in annotation type org.junit.platform.suite.api.SelectClasspathResource
The line number within the classpath resource; ignored if not greater than zero.
line() - Element in annotation type org.junit.platform.suite.api.SelectFile
The line number within the file; ignored if not greater than zero.
LINE_START_PATTERN - Static variable in interface org.junit.platform.console.output.DetailsPrintingListener
 
lineSeparator() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The line separator to use when reading the CSV files; must consist of 1 or 2 characters, typically "\r", "\n", or "\r\n".
list() - Method in class org.junit.platform.testkit.engine.Events
Get the events as a List.
list() - Method in class org.junit.platform.testkit.engine.Executions
Get the executions as a List.
listener(LauncherDiscoveryListener) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
 
LISTENER_ENABLED_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
Property name used to enable the UniqueIdTrackingListener: "junit.platform.listeners.uid.tracking.enabled"
listeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all supplied discovery listeners to the request.
listTests(TestPlan) - Method in interface org.junit.platform.console.output.DetailsPrintingListener
 
listTests(TestPlan) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
listTests(TestPlan) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
listTests(TestPlan) - Method in class org.junit.platform.console.output.TreePrintingListener
 
listTests(TestPlan) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
loadTestEngines() - Method in class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
 
logging() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
Create a LauncherDiscoveryListener that logs test discovery events based on their severity.
LoggingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener for logging informational messages for all events via a BiConsumer that consumes Throwable and Supplier<String>.
longs() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The long values to use as sources of arguments; must not be empty.
looksLikeIntendedTestClass(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
looksLikeNestedOrStandaloneTestClass - Variable in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 

M

main(String...) - Static method in class org.junit.platform.console.ConsoleLauncher
 
map(Function<? super Event, ? extends R>) - Method in class org.junit.platform.testkit.engine.Events
Shortcut for events.stream().map(mapper).
map(Function<? super Execution, ? extends R>) - Method in class org.junit.platform.testkit.engine.Executions
Shortcut for executions.stream().map(mapper).
match(SelectorResolver.Match) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Factory for creating a resolution that contains the supplied Match.
MATCH_ALL - Enum constant in enum org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names match all patterns supplied via the EnumSource.names() attribute.
MATCH_ANY - Enum constant in enum org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names match any pattern supplied via the EnumSource.names() attribute.
MATCH_NONE - Enum constant in enum org.junit.jupiter.params.provider.EnumSource.Mode
Select only those enum constants whose names match none of the patterns supplied via the EnumSource.names() attribute.
matches(Set<SelectorResolver.Match>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Factory for creating a resolution that contains the supplied Matches.
maxCharsPerColumn() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The maximum number of characters allowed per CSV column.
maxCharsPerColumn() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The maximum number of characters allowed per CSV column.
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
mayRegisterTests() - Method in interface org.junit.platform.engine.TestDescriptor
Determine if this descriptor may register dynamic tests during execution.
message() - Method in interface org.junit.platform.engine.DiscoveryIssue
Returns the message of this issue.
message(String) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable's message is equal to the supplied String.
message(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable's message matches the supplied Predicate.
Method Arguments - Search tag in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
Section
Method Arguments - Search tag in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
Section
MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
Base class for TestDescriptors based on Java methods.
MethodFilter - Interface in org.junit.platform.launcher
PostDiscoveryFilter that is applied to the fully qualified Method name without parameters.
MethodSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a Method or a combination of class name, method name, and parameter types so that TestEngines can discover tests or containers based on methods.
MethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
Method Signatures - Search tag in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
Section
Method Signatures - Search tag in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
Section
Method Signatures - Search tag in annotation type org.junit.platform.suite.api.AfterSuite
Section
Method Signatures - Search tag in annotation type org.junit.platform.suite.api.BeforeSuite
Section
MethodSource - Class in org.junit.platform.engine.support.descriptor
Method based TestSource.
MethodSource - Annotation Type in org.junit.jupiter.params.provider
@MethodSource is a repeatable ArgumentsSource which provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name.
MethodSources - Annotation Type in org.junit.jupiter.params.provider
@MethodSources is a simple container for one or more MethodSource annotations.
mode() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
The enum constant selection mode.
ModuleSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a module name so that TestEngines can discover tests or containers based on modules.
ModuleSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
MutableExtensionRegistry - Class in org.junit.jupiter.engine.extension
Default, mutable implementation of ExtensionRegistry.

N

name() - Element in annotation type org.junit.jupiter.params.ParameterizedClass
The display name to be used for individual invocations of the parameterized class; never blank or consisting solely of whitespace.
name() - Element in annotation type org.junit.jupiter.params.ParameterizedTest
The display name to be used for individual invocations of the parameterized test; never blank or consisting solely of whitespace.
name() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The name of the method to select; never blank unless SelectMethod.value() is used.
names() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.
names() - Element in annotation type org.junit.platform.suite.api.SelectClasses
One or more classes to select by their fully qualified names.
Namespace - Class in org.junit.platform.engine.support.store
A Namespace is used to provide a scope for data saved by extensions within a NamespacedHierarchicalStore.
NAMESPACE - Static variable in interface org.junit.jupiter.params.ParameterInfo
The ExtensionContext.Namespace for accessing the Store for ParameterInfo.
NAMESPACE - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
Deprecated.
Please use ParameterInfo.NAMESPACE instead
NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
 
NamespaceAwareStore(NamespacedHierarchicalStore<Namespace>, Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
NamespacedHierarchicalStore<N> - Class in org.junit.platform.engine.support.store
NamespacedHierarchicalStore is a hierarchical, namespaced key-value store.
NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Create a new store with the supplied parent.
NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>, NamespacedHierarchicalStore.CloseAction<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Create a new store with the supplied parent and close action.
NamespacedHierarchicalStore.CloseAction<N> - Interface in org.junit.platform.engine.support.store
Called for each successfully stored non-null value in the store when a NamespacedHierarchicalStore is closed.
NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
Exception thrown by failed NamespacedHierarchicalStore operations.
NamespacedHierarchicalStoreException(String) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
 
NamespacedHierarchicalStoreException(String, Throwable) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
 
NESTED_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
NestedClassSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a nested Class or class name enclosed in other classes so that TestEngines can discover tests or containers based on classes.
NestedClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on nested (but not static) Java classes.
NestedClassTestDescriptor(UniqueId, Class<?>, Supplier<List<Class<?>>>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
nestedContainer(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a container and its unique id contains the simple names of the supplied Class and all of its enclosing classes.
nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event matches the supplied Condition, its test descriptor is a container, and its unique id contains the simple names of the supplied Class and all of its enclosing classes.
NestedMethodSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a nested Method or a combination of enclosing class names, class name, method name, and parameter types so that TestEngines can discover tests or containers based on methods.
NestedMethodSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
newChild() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Create a child store with this store as its parent and this store's close action.
Node<C> - Interface in org.junit.platform.engine.support.hierarchical
A node within the execution hierarchy.
Node.DynamicTestExecutor - Interface in org.junit.platform.engine.support.hierarchical
Executor for additional, dynamic test descriptors discovered during execution of a Node.
Node.ExecutionMode - Enum in org.junit.platform.engine.support.hierarchical
Supported execution modes for parallel execution.
Node.Invocation<C> - Interface in org.junit.platform.engine.support.hierarchical
Represents an invocation that runs with the supplied context.
Node.SkipResult - Class in org.junit.platform.engine.support.hierarchical
The result of determining whether the execution of a given context should be skipped.
nodeFinished(C, TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Callback invoked when the execution of this node has finished.
nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
Invoke testSuccessful(), testAborted(), or testFailed() on each registered TestWatcher according to the status of the supplied TestExecutionResult, in reverse registration order.
nodeSkipped(C, TestDescriptor, Node.SkipResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Callback invoked when the execution of this node has been skipped.
nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
Invoke TestWatcher.testDisabled(ExtensionContext, Optional) on each registered TestWatcher, in registration order.
nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
NONE - Enum constant in enum org.junit.jupiter.params.ArgumentCountValidationMode
Use the "none" argument count validation mode.
NONE - Enum constant in enum org.junit.platform.console.options.Details
No test plan execution details are printed.
NONE - Static variable in class org.junit.platform.console.output.ColorPalette
 
NOOP - Static variable in interface org.junit.platform.engine.EngineDiscoveryListener
No-op implementation of EngineDiscoveryListener
NOOP - Static variable in interface org.junit.platform.engine.EngineExecutionListener
No-op implementation of EngineExecutionListener
NOOP - Static variable in interface org.junit.platform.launcher.LauncherDiscoveryListener
No-op implementation of LauncherDiscoveryListener
NOOP - Static variable in interface org.junit.platform.launcher.LauncherSessionListener
No-op implementation of LauncherSessionListener
NOT_INNER - Enum constant in enum org.junit.jupiter.engine.discovery.predicates.TestClassPredicates.NestedClassInvalidityReason
 
notSkipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
Determine if this TerminationInfo does not represent a skipped execution.
nullable() - Element in annotation type org.junit.jupiter.params.converter.JavaTimeConversionPattern
Whether null argument values are allowed.
NullAndEmptySource - Annotation Type in org.junit.jupiter.params.provider
@NullAndEmptySource is a composed annotation that combines the functionality of @NullSource and @EmptySource.
NullEnum - Enum in org.junit.jupiter.params.provider
Dummy enum class used as default value for optional attributes of annotations.
NullSource - Annotation Type in org.junit.jupiter.params.provider
@NullSource is an ArgumentsSource which provides a single null argument to the annotated @ParameterizedClass or @ParameterizedTest.
nullValues() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
A list of strings that should be interpreted as null references.
nullValues() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
A list of strings that should be interpreted as null references.
numLinesToSkip() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The number of lines to skip when reading the CSV files.

O

of(Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
Factory method for creating an instance of Arguments based on the supplied arguments.
of(TestInstances, Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
 
ofVoid(InvocationInterceptorChain.VoidInterceptorCall) - Static method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptorCall
 
ofVoidMethod(InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall) - Static method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall
 
openSession() - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for opening a new LauncherSession using the default LauncherConfig.
openSession(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for opening a new LauncherSession using the supplied LauncherConfig.
OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Specialization of ThrowableCollector that treats instances of TestAbortedException as aborting.
OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
 
orderChildren(UnaryOperator<List<TestDescriptor>>) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
Order the children of this descriptor.
orderChildren(UnaryOperator<List<TestDescriptor>>) - Method in interface org.junit.platform.engine.TestDescriptor
Order the children of this descriptor.
org.junit.jupiter.engine - package org.junit.jupiter.engine
Core package for the JUnit Jupiter test engine.
org.junit.jupiter.engine.config - package org.junit.jupiter.engine.config
Configuration specific to the JUnit Jupiter test engine.
org.junit.jupiter.engine.descriptor - package org.junit.jupiter.engine.descriptor
Test descriptors used within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery - package org.junit.jupiter.engine.discovery
Internal classes for test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery.predicates - package org.junit.jupiter.engine.discovery.predicates
Internal predicate classes used by test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.execution - package org.junit.jupiter.engine.execution
Internal classes for test execution within the JUnit Jupiter test engine.
org.junit.jupiter.engine.extension - package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.
org.junit.jupiter.engine.support - package org.junit.jupiter.engine.support
Internal support classes for the JUnit Jupiter test engine.
org.junit.jupiter.migrationsupport - package org.junit.jupiter.migrationsupport
Support for migrating from JUnit 4 to JUnit Jupiter.
org.junit.jupiter.migrationsupport.conditions - package org.junit.jupiter.migrationsupport.conditions
Extensions which provide support for conditional test execution features of JUnit 4 (e.g., the @Ignore annotation) within JUnit Jupiter.
org.junit.jupiter.migrationsupport.rules - package org.junit.jupiter.migrationsupport.rules
Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.
org.junit.jupiter.migrationsupport.rules.adapter - package org.junit.jupiter.migrationsupport.rules.adapter
Simple wrappers for JUnit 4 rules to overcome visibility limitations of the JUnit 4 implementations.
org.junit.jupiter.migrationsupport.rules.member - package org.junit.jupiter.migrationsupport.rules.member
Abstractions for members which can be targets of JUnit 4 rule annotations.
org.junit.jupiter.params - package org.junit.jupiter.params
JUnit Jupiter extension for parameterized tests.
org.junit.jupiter.params.aggregator - package org.junit.jupiter.params.aggregator
The ArgumentsAggregator and ArgumentsAccessor interfaces and the AggregateWith annotation.
org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
ArgumentConverter implementations and the corresponding @ConvertWith annotation.
org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
ArgumentsProvider implementations and their corresponding ArgumentsSource annotations.
org.junit.jupiter.params.support - package org.junit.jupiter.params.support
Support classes for building providers and converters for arguments.
org.junit.platform.console - package org.junit.platform.console
Support for launching the JUnit Platform from the console.
org.junit.platform.console.command - package org.junit.platform.console.command
Commands of JUnit's console launcher.
org.junit.platform.console.options - package org.junit.platform.console.options
Command-line option utility classes of JUnit's console launcher.
org.junit.platform.console.output - package org.junit.platform.console.output
Output printing utility classes of JUnit's console launcher.
org.junit.platform.engine - package org.junit.platform.engine
Public API for test engines.
org.junit.platform.engine.discovery - package org.junit.platform.engine.discovery
Concrete selectors and filters to be used in discovery requests.
org.junit.platform.engine.reporting - package org.junit.platform.engine.reporting
Classes used by test engines to report additional data to execution listeners.
org.junit.platform.engine.support.config - package org.junit.platform.engine.support.config
ConfigurationParameters-related support classes intended to be used by test engine implementations.
org.junit.platform.engine.support.descriptor - package org.junit.platform.engine.support.descriptor
TestDescriptor-related support classes intended to be used by test engine implementations and clients of the launcher.
org.junit.platform.engine.support.discovery - package org.junit.platform.engine.support.discovery
Configurable test discovery implementation that can be reused by different test engines.
org.junit.platform.engine.support.filter - package org.junit.platform.engine.support.filter
Filter-related support classes intended to be used by test engine implementations.
org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
Support classes and base implementation for any TestEngine that wishes to organize test suites hierarchically based on the Node abstraction.
org.junit.platform.engine.support.store - package org.junit.platform.engine.support.store
Reusable data structures for test engines and their extensions.
org.junit.platform.launcher - package org.junit.platform.launcher
Public API for configuring and launching test plans.
org.junit.platform.launcher.core - package org.junit.platform.launcher.core
Core support classes for the Launcher including the LauncherFactory and the LauncherDiscoveryRequestBuilder.
org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
Common TestExecutionListener implementations and related support classes for the Launcher.
org.junit.platform.launcher.listeners.discovery - package org.junit.platform.launcher.listeners.discovery
Common LauncherDiscoveryListener implementations and factory methods.
org.junit.platform.launcher.listeners.session - package org.junit.platform.launcher.listeners.session
Common LauncherSessionListener implementations and factory methods.
org.junit.platform.launcher.tagexpression - package org.junit.platform.launcher.tagexpression
The tag expression language parser and related support classes.
org.junit.platform.runner - package org.junit.platform.runner
Runner and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment.
org.junit.platform.suite.api - package org.junit.platform.suite.api
Annotations for configuring a test suite on the JUnit Platform.
org.junit.platform.suite.commons - package org.junit.platform.suite.commons
Common support utilities for executing test suites on the JUnit Platform.
org.junit.platform.suite.engine - package org.junit.platform.suite.engine
Core package for the JUnit Platform Suite test engine.
org.junit.platform.testkit.engine - package org.junit.platform.testkit.engine
Test Kit for testing the execution of a TestEngine running on the JUnit Platform.
org.junit.vintage.engine - package org.junit.vintage.engine
Core package for the JUnit Vintage test engine.
org.junit.vintage.engine.descriptor - package org.junit.vintage.engine.descriptor
Test descriptors used within the JUnit Vintage test engine.
org.junit.vintage.engine.discovery - package org.junit.vintage.engine.discovery
Internal classes for test discovery within the JUnit Vintage test engine.
org.junit.vintage.engine.execution - package org.junit.vintage.engine.execution
Internal classes for test execution within the JUnit Vintage test engine.
org.junit.vintage.engine.support - package org.junit.vintage.engine.support
Internal support classes for test discovery and execution within the JUnit Vintage test engine.
OTHER - Enum constant in enum org.junit.jupiter.engine.discovery.predicates.TestClassPredicates.NestedClassInvalidityReason
 
OUTPUT_DIR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the output directory for reporting.
OUTPUT_DIR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
Property name used to set the path to the output directory for the file generated by the UniqueIdTrackingListener: "junit.platform.listeners.uid.tracking.output.dir"
OUTPUT_DIR_UNIQUE_NUMBER_PLACEHOLDER - Static variable in class org.junit.platform.launcher.LauncherConstants
Placeholder for use in LauncherConstants.OUTPUT_DIR_PROPERTY_NAME that will be replaced with a unique number.
OUTPUT_FILE_PREFIX_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
Property name used to set the prefix for the name of the file generated by the UniqueIdTrackingListener: "junit.platform.listeners.uid.tracking.output.file.prefix"
OutputDir - Class in org.junit.platform.launcher.listeners
 
outputDirectoryCreator(OutputDirectoryCreator) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Set the OutputDirectoryCreator to use for the request.
outputDirectoryCreator(OutputDirectoryCreator) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
 
outputDirectoryCreator(OutputDirectoryCreator) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Set the OutputDirectoryCreator to use.
OutputDirectoryCreator - Interface in org.junit.platform.engine
Provider of output directories for test engines to write reports and other output files to.
outputDirectoryProvider(OutputDirectoryProvider) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
outputDirectoryProvider(OutputDirectoryProvider) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
OutputDirectoryProvider - Interface in org.junit.platform.engine.reporting
Deprecated.
Please implement OutputDirectoryCreator instead

P

PackageNameFilter - Interface in org.junit.platform.engine.discovery
DiscoveryFilter that is applied to the name of a Package.
PackageSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a package name so that TestEngines can discover tests or containers based on packages.
PackageSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
PackageSource - Class in org.junit.platform.engine.support.descriptor
Package based TestSource.
paint(Style, String) - Method in class org.junit.platform.console.output.ColorPalette
 
PARALLEL_CLASS_EXECUTION - Static variable in class org.junit.vintage.engine.Constants
Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.
PARALLEL_CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to specify the fully qualified class name of the ParallelExecutionConfigurationStrategy to be used for the custom configuration strategy: "junit.jupiter.execution.parallel.config.custom.class"
PARALLEL_CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the factor to be multiplied with the number of available processors/cores to determine the desired parallelism for the dynamic configuration strategy: "junit.jupiter.execution.parallel.config.dynamic.factor"
PARALLEL_CONFIG_FIXED_MAX_POOL_SIZE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to configure the maximum pool size of the underlying fork-join pool for the fixed configuration strategy: "junit.jupiter.execution.parallel.config.fixed.max-pool-size"
PARALLEL_CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the desired parallelism for the fixed configuration strategy: "junit.jupiter.execution.parallel.config.fixed.parallelism"
PARALLEL_CONFIG_FIXED_SATURATE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to disable saturation of the underlying fork-join pool for the fixed configuration strategy: "junit.jupiter.execution.parallel.config.fixed.saturate"
PARALLEL_CONFIG_STRATEGY_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to select the ParallelExecutionConfigurationStrategy: "junit.jupiter.execution.parallel.config.strategy"
PARALLEL_EXECUTION_ENABLED - Static variable in class org.junit.vintage.engine.Constants
Indicates whether parallel execution is enabled for the JUnit Vintage engine.
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
 
PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable parallel test execution: "junit.jupiter.execution.parallel.enabled"
PARALLEL_METHOD_EXECUTION - Static variable in class org.junit.vintage.engine.Constants
Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.
PARALLEL_POOL_SIZE - Static variable in class org.junit.vintage.engine.Constants
Specifies the size of the thread pool to be used for parallel execution.
ParallelExecutionConfiguration - Interface in org.junit.platform.engine.support.hierarchical
Configuration to use for parallel test execution.
ParallelExecutionConfigurationStrategy - Interface in org.junit.platform.engine.support.hierarchical
A strategy to use for configuring parallel test execution.
Parameter - Annotation Type in org.junit.jupiter.params
@Parameter is used to signal that a field in a @ParameterizedClass constitutes a parameter and marks it for field injection.
ParameterDeclaration - Interface in org.junit.jupiter.params.support
ParameterDeclaration encapsulates the declaration of an indexed @ParameterizedClass or @ParameterizedTest parameter.
ParameterDeclarations - Interface in org.junit.jupiter.params.support
ParameterDeclarations encapsulates the combined declarations of all indexed @ParameterizedClass or @ParameterizedTest parameters.
ParameterInfo - Interface in org.junit.jupiter.params
ParameterInfo is used to provide information about the current invocation of a parameterized class or test.
ParameterInfo - Interface in org.junit.jupiter.params.support
Deprecated.
Please use ParameterInfo instead
ParameterizedClass - Annotation Type in org.junit.jupiter.params
@ParameterizedClass is used to signal that the annotated class is a parameterized test class.
ParameterizedInvocationConstants - Class in org.junit.jupiter.params
Constants for the use with the @ParameterizedClass and @ParameterizedTest annotations.
ParameterizedTest - Annotation Type in org.junit.jupiter.params
@ParameterizedTest is used to signal that the annotated method is a parameterized test method.
ParameterResolutionUtils - Class in org.junit.jupiter.engine.execution
ParameterResolutionUtils provides support for dynamic resolution of executable parameters via ParameterResolvers.
ParameterResolutionUtils() - Constructor for class org.junit.jupiter.engine.execution.ParameterResolutionUtils
 
parameterTypeNames() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The parameter types of the method to select.
parameterTypes() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The parameter types of the method to select.
parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Set the parent configuration parameters to use for the request.
parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Set the parent configuration parameters to use for the request.
parse(String) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser.Context
Parse the supplied selector.
parse(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Parse the supplied string representation of a DiscoverySelectorIdentifier.
parse(String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
Parse the supplied string representation of a DiscoverySelectorIdentifier in the format prefix:value.
parse(String) - Static method in class org.junit.platform.engine.UniqueId
Parse a UniqueId from the supplied string representation using the default format.
parse(DiscoverySelectorIdentifier) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Parse the supplied DiscoverySelectorIdentifier.
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
Parse the supplied DiscoverySelectorIdentifier.
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
 
parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
 
parseAll(String...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Parse the supplied string representations of DiscoverySelectorIdentifiers.
parseAll(Collection<DiscoverySelectorIdentifier>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Parse the supplied DiscoverySelectorIdentifiers.
parseFrom(String) - Static method in interface org.junit.platform.launcher.tagexpression.TagExpression
Attempt to parse a TagExpression from the supplied tag expression string.
ParseResult - Interface in org.junit.platform.launcher.tagexpression
The result of attempting to parse a TagExpression.
partial(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Factory for creating a partial match without any children.
partial(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
Factory for creating a partial match with potential children.
Pattern Matching Syntax - Search tag in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
Section
Pattern Matching Syntax - Search tag in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
Section
Pattern Matching Syntax - Search tag in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
Section
Pattern Matching Syntax - Search tag in org.junit.platform.launcher.LauncherConstants.DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
Section
populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
PostDiscoveryFilter - Interface in org.junit.platform.launcher
A PostDiscoveryFilter is applied to TestDescriptors after test discovery.
postVisitContainer(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
Called after visiting a container.
PREFIX - Static variable in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
 
PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
View of ConfigurationParameters that applies a supplied prefix to all queries.
PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
Create a new view of the supplied ConfigurationParameters that applies the supplied prefix to all queries.
prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Prepare the supplied context prior to execution.
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Must be overridden and return a new context with a new ExtensionContext so cleanUp() does not accidentally close the parent context.
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
prepareExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
prepareExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
preVisitContainer(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
Called before visiting a container.
printFailuresTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print failed containers and tests, including sources and exception messages, to the supplied PrintWriter.
printFailuresTo(PrintWriter, int) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print failed containers and tests, including sources and exception messages, to the supplied PrintWriter.
printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print this summary to the supplied PrintWriter.
proceed() - Method in interface org.junit.platform.launcher.LauncherInterceptor.Invocation
 
provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
provideArguments(ParameterDeclarations, ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
 
provideArguments(ParameterDeclarations, ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
Provide a Stream of Arguments to be passed to a @ParameterizedClass or @ParameterizedTest.
provideArguments(ParameterDeclarations, ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
The returned Stream will be properly closed by the default implementation of AnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext), making it safe to use a resource such as Files.lines().
prune() - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
prune() - Method in interface org.junit.platform.engine.TestDescriptor
Remove this descriptor from the hierarchy unless it is a root or contains tests.
prune() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
put(N, Object, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Put the supplied value for the supplied namespace and key into this store and return the previously associated value in this store.

Q

quoteCharacter() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The quote character to use for quoted strings.
quoteCharacter() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The quote character to use for quoted strings.

R

READ - Enum constant in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Require only read access to the resource.
READ_WRITE - Enum constant in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Require read and write access to the resource.
reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of String that is equal to the supplied value.
reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of String that matches the supplied Predicate.
registerExtension(Class<? extends Extension>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Instantiate an extension of the given type using its default constructor and register it in the registry.
registerExtension(Class<? extends Extension>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
registerExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Register the supplied Extension, without checking if an extension of that type has already been registered.
registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test discovery.
registerSyntheticExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Register the supplied Extension as a synthetic extension, without checking if an extension of that type has already been registered.
registerSyntheticExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test execution.
registerUninitializedExtension(Class<?>, Field, Function<Object, ? extends Extension>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
Register an uninitialized extension for the supplied testClass to be initialized using the supplied initializer when an instance of the test class is created.
registerUninitializedExtension(Class<?>, Field, Function<Object, ? extends Extension>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
release() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
Release this resource lock.
remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
remove(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
remove(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Remove the value stored for the supplied namespace and key from this store.
remove(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
Remove the value stored for the supplied namespace and key from this store and cast it to the supplied required type.
removeChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
removeChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Remove a child from this descriptor.
removeFromHierarchy() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
removeFromHierarchy() - Method in interface org.junit.platform.engine.TestDescriptor
Remove this non-root descriptor from its parent and remove all the children from this descriptor.
removeFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
removeLastSegment() - Method in class org.junit.platform.engine.UniqueId
Construct a new UniqueId and removing the last UniqueId.Segment of this UniqueId.
reportAndClear(List<DiscoveryIssue>, DiscoveryIssueReporter) - Static method in interface org.junit.jupiter.engine.descriptor.Validatable
Report and clear the given list of DiscoveryIssues using the supplied DiscoveryIssueReporter.
reportEntry(Map<String, String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of ReportEntry that contains the supplied key-value pairs.
ReportEntry - Class in org.junit.platform.engine.reporting
ReportEntry encapsulates a time-stamped map of String-based key-value pairs to be published to the reporting infrastructure.
ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
REPORTING_ENTRY_PUBLISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
Signals that a TestDescriptor published a reporting entry.
reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
Get the reporting entry publication Events contained in this Events object.
reportingEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected reporting entry publication events.
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
Can be called for any TestDescriptor in order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go to System.out Information about test context or test data
reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
Create an Event for a reporting entry published for the supplied TestDescriptor and ReportEntry.
reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
Record an Event for a published ReportEntry.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.console.output.TreePrintingListener
 
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when additional test reporting data has been published for the supplied TestIdentifier.
reportIssue(DiscoveryIssue) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Report the supplied DiscoveryIssue.
reportIssue(DiscoveryIssue.Builder) - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
Build the supplied Builder and report the resulting DiscoveryIssue.
request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Create a new LauncherDiscoveryRequestBuilder.
request() - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Create a new SuiteLauncherDiscoveryRequestBuilder.
RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
Reserved characters that are not permissible as part of a tag name.
resolve(ClasspathResourceSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClasspathResourceSelector using the supplied Context.
resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClasspathRootSelector using the supplied Context.
resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ClassSelector using the supplied Context.
resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied DirectorySelector using the supplied Context.
resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied FileSelector using the supplied Context.
resolve(IterationSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied IterationSelector using the supplied Context.
resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied MethodSelector using the supplied Context.
resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied ModuleSelector using the supplied Context.
resolve(NestedClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied NestedClassSelector using the supplied Context.
resolve(NestedMethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied NestedMethodSelector using the supplied Context.
resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied PackageSelector using the supplied Context.
resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UniqueIdSelector using the supplied Context.
resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied UriSelector using the supplied Context.
resolve(DiscoverySelector) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
Resolve the supplied TestDescriptor, if possible.
resolve(DiscoverySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
Resolve the supplied DiscoverySelector using the supplied Context.
resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
Resolve the supplied EngineDiscoveryRequest and collect the results into the supplied TestDescriptor while forwarding encountered discovery issues to the EngineDiscoveryRequest's EngineDiscoveryListener.
resolve(EngineDiscoveryRequest, T, DiscoveryIssueReporter) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
Resolve the supplied EngineDiscoveryRequest and collect the results into the supplied TestDescriptor using the supplied DiscoveryIssueReporter to report issues encountered during resolution.
resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
Create a SelectorResolutionResult for a resolved selector.
RESOLVED - Enum constant in enum org.junit.platform.engine.SelectorResolutionResult.Status
Indicates that the TestEngine has successfully resolved the selector.
resolveParameters(Executable, Optional<Object>, Optional<Object>, ExtensionContext, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
Resolve the array of parameters for the supplied executable, target, and outer instance.
resolveParameters(Executable, Optional<Object>, Optional<Object>, ExtensionContextSupplier, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
 
resolveParameters(Method, Optional<Object>, ExtensionContext, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
Resolve the array of parameters for the supplied method and target.
resolveSelectors(EngineDiscoveryRequest, JupiterEngineDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
ResourceLock - Interface in org.junit.platform.engine.support.hierarchical
A lock for a one or more resources.
resources() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
The CSV classpath resources to use as the sources of arguments; must not be empty unless CsvFileSource.files() is non-empty.
result(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's payload is an instance of TestExecutionResult that matches the supplied Condition.
root() - Method in enum org.junit.platform.console.output.Theme
 
root(String, String) - Static method in class org.junit.platform.engine.UniqueId
Create a root unique ID from the supplied segmentType and value using the default format.
rootCause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable's root cause matches all supplied conditions.
run(PrintWriter, PrintWriter, String...) - Static method in class org.junit.platform.console.ConsoleLauncher
 
run(String[]) - Method in class org.junit.platform.console.command.CommandFacade
 
run(String[], PrintWriter, PrintWriter) - Method in class org.junit.platform.console.command.CommandFacade
 
run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
Deprecated.
 
RunnerDecorator - Interface in org.junit.vintage.engine.descriptor
 
RunnerExecutor - Class in org.junit.vintage.engine.execution
 
RunnerExecutor(EngineExecutionListener) - Constructor for class org.junit.vintage.engine.execution.RunnerExecutor
 
RunnerTestDescriptor - Class in org.junit.vintage.engine.descriptor
 
RunnerTestDescriptor(UniqueId, Class<?>, Runner, boolean) - Constructor for class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
RuntimeConfigurationOptions() - Constructor for class org.junit.platform.console.options.TestDiscoveryOptionsMixin.RuntimeConfigurationOptions
 

S

SAME_THREAD - Enum constant in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Force execution in same thread as the parent node.
SameThreadHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
A simple executor service that executes all test tasks in the caller's thread.
SameThreadHierarchicalTestExecutorService() - Constructor for class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
SEGMENT_TYPE_DYNAMIC - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
SEGMENT_TYPE_RUNNER - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
SEGMENT_TYPE_TEST - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
Select - Annotation Type in org.junit.platform.suite.api
@Select is a repeatable annotation that specifies which tests to select based on prefixed selector identifiers.
selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied Class.
selectClass(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied class name and class loader.
selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClassSelector for the supplied class name.
SelectClasses - Annotation Type in org.junit.platform.suite.api
@SelectClasses specifies the classes to select when running a test suite on the JUnit Platform.
selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClasspathResourceSelector for the supplied classpath resource name.
selectClasspathResource(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClasspathResourceSelector for the supplied classpath resource name.
selectClasspathResource(Set<Resource>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
SelectClasspathResource - Annotation Type in org.junit.platform.suite.api
@SelectClasspathResource is a repeatable annotation that specifies a classpath resource to select when running a test suite on the JUnit Platform.
selectClasspathResourceByName(Set<? extends Resource>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ClasspathResourceSelector for the supplied classpath resources.
SelectClasspathResources - Annotation Type in org.junit.platform.suite.api
@SelectClasspathResources is a container for one or more @SelectClasspathResource declarations.
selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ClasspathRootSelectors for the supplied classpath roots (directories or JAR files).
SelectDirectories - Annotation Type in org.junit.platform.suite.api
@SelectDirectories specifies the directories to select when running a test suite on the JUnit Platform.
selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory.
selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a DirectorySelector for the supplied directory path.
selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file.
selectFile(File, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file.
selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file path.
selectFile(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a FileSelector for the supplied file path.
SelectFile - Annotation Type in org.junit.platform.suite.api
@SelectFile is a repeatable annotation that specifies a file to select when running a test suite on the JUnit Platform.
SelectFiles - Annotation Type in org.junit.platform.suite.api
@SelectFiles is a container for one or more @SelectFile declarations.
selectIteration(DiscoverySelector, int...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create an IterationSelector for the supplied parent selector and iteration indices.
selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and Method.
selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class and method name.
selectMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class, method name, and parameter types.
selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied Class, method name, and parameter type names.
selectMethod(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied fully qualified method name and class loader.
selectMethod(ClassLoader, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, and class loader.
selectMethod(ClassLoader, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, parameter type names, and class loader.
selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied fully qualified method name.
selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name and method name using the default class loader.
selectMethod(String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, and parameter types.
selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a MethodSelector for the supplied class name, method name, and parameter type names.
SelectMethod - Annotation Type in org.junit.platform.suite.api
@SelectMethod is a repeatable annotation that specifies a method to select when running a test suite on the JUnit Platform.
SelectMethods - Annotation Type in org.junit.platform.suite.api
@SelectMethods is a container for one or more @SelectMethod declarations.
selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a ModuleSelector for the supplied module name.
selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a list of ModuleSelectors for the supplied module names.
SelectModules - Annotation Type in org.junit.platform.suite.api
@SelectModules specifies the modules to select when running a test suite on the JUnit Platform.
selectNestedClass(ClassLoader, List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedClassSelector for the supplied class name, its enclosing classes' names, and class loader.
selectNestedClass(List<Class<?>>, Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedClassSelector for the supplied nested Class and its enclosing classes.
selectNestedClass(List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedClassSelector for the supplied class name and its enclosing classes' names.
selectNestedMethod(ClassLoader, List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested class name, method name, and class loader.
selectNestedMethod(ClassLoader, List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested class name, method name, parameter type names, and class loader.
selectNestedMethod(List<Class<?>>, Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested Class and Method.
selectNestedMethod(List<Class<?>>, Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested Class and method name.
selectNestedMethod(List<Class<?>>, Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied enclosing classes, nested class, method name, and parameter types.
selectNestedMethod(List<Class<?>>, Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied Class, method name, and parameter type names.
selectNestedMethod(List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested class name and method name.
selectNestedMethod(List<String>, String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied enclosing class names, nested class name, method name, and parameter types.
selectNestedMethod(List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a NestedMethodSelector for the supplied nested class name, method name, and parameter type names.
selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
Must be called after a discovery selector has been processed by a test engine.
SelectorResolutionResult - Class in org.junit.platform.engine
SelectorResolutionResult encapsulates the result of resolving a DiscoverySelector by a TestEngine.
SelectorResolutionResult.Status - Enum in org.junit.platform.engine
Status of resolving a DiscoverySelector.
SelectorResolver - Interface in org.junit.platform.engine.support.discovery
A resolver that supports resolving one or multiple types of DiscoverySelectors.
SelectorResolver.Context - Interface in org.junit.platform.engine.support.discovery
The context for resolving a DiscoverySelector and adding it to the test tree.
SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
An exact or partial match for resolving a DiscoverySelector into a TestDescriptor.
SelectorResolver.Resolution - Class in org.junit.platform.engine.support.discovery
The result of an attempt to resolve a DiscoverySelector.
selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all supplied selectors to the request.
selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Add all supplied selectors to the request.
selectors(Set<? extends DiscoverySelector>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Factory for creating a resolution that contains the supplied DiscoverySelectors.
selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all supplied selectors to the request.
selectors(DiscoverySelector...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Add all supplied selectors to the request.
selectors(DiscoverySelector...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
Add all of the supplied discovery selectors.
selectPackage(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a PackageSelector for the supplied package name.
SelectPackages - Annotation Type in org.junit.platform.suite.api
@SelectPackages specifies the names of packages to select when running a test suite on the JUnit Platform.
Selects - Annotation Type in org.junit.platform.suite.api
@Selects is a container for one or more @Select declarations.
selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied unique ID.
selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UniqueIdSelector for the supplied UniqueId.
selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
Create a UriSelector for the supplied URI.
SelectUris - Annotation Type in org.junit.platform.suite.api
@SelectUris specifies the URIs to select when running a test suite on the JUnit Platform.
Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
Section
Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
Section
ServiceLoaderTestEngineRegistry - Class in org.junit.platform.launcher.core
 
ServiceLoaderTestEngineRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
 
setAdditionalClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setAnsiColorOutputDisabled(boolean) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setColorPalettePath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setConfigurationParameters(Map<String, String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setConfigurationParameters(Map<String, String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptionsMixin.RuntimeConfigurationOptions
Adds the specified key-value pair (or pairs) to the configuration parameters.
setConfigurationParameters2(Map<String, String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptionsMixin.RuntimeConfigurationOptions
 
setConfigurationParametersResources(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setDefaultChildExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
setDetails(Details) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setDisableAnsiColors(boolean) - Method in class org.junit.platform.console.options.AnsiColorOptionMixin
 
setDisableAnsiColors2(boolean) - Method in class org.junit.platform.console.options.AnsiColorOptionMixin
 
setExcludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setExcludedEngines(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setExcludedMethodNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setExcludedPackages(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setExcludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setExecutorService(ExecutorService) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
setIncludedClassNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setIncludedEngines(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setIncludedMethodNamePatterns(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setIncludedPackages(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setIncludedTagExpressions(List<String>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setParent(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
setParent(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
Set the parent of this descriptor.
setScanClasspath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setScanModulepath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedClasses(List<ClassSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedClasspathEntries(List<Path>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedClasspathResources(List<ClasspathResourceSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedDirectories(List<DirectorySelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedFiles(List<FileSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedIterations(List<IterationSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedMethods(List<MethodSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedModules(List<ModuleSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedPackages(List<PackageSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedUniqueId(List<UniqueIdSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectedUris(List<UriSelector>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSelectorIdentifiers(List<DiscoverySelectorIdentifier>) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
 
setSingleColorPalette(boolean) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setStderrPath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setStdoutPath(Path) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
setTheme(Theme) - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
 
severity() - Method in interface org.junit.platform.engine.DiscoveryIssue
Returns the severity of this issue.
shorts() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The short values to use as sources of arguments; must not be empty.
shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
Determine if the execution of the supplied context should be skipped.
shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
SimpleArgumentConverter is an abstract base class for ArgumentConverter implementations that only need to know the target type and do not need access to the ParameterContext to perform the conversion.
SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
 
SimpleArgumentsAggregator - Class in org.junit.jupiter.params.aggregator
SimpleArgumentsAggregator is an abstract base class for ArgumentsAggregator implementations that do not need to distinguish between fields and method/constructor parameters.
SimpleArgumentsAggregator() - Constructor for class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
 
SINGLE_COLOR - Static variable in class org.junit.platform.console.output.ColorPalette
 
SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
Deprecated.
 
SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
Deprecated.
Functional interface for a single test to be executed by SingleTestExecutor.
size() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get the number of arguments in this accessor.
size() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
size() - Method in interface org.junit.platform.engine.ConfigurationParameters
Deprecated.
as of JUnit Platform 1.9 in favor of ConfigurationParameters.keySet()
size() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
 
skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
Factory for creating skipped results.
skipped() - Method in enum org.junit.platform.console.output.Theme
 
skipped() - Method in class org.junit.platform.testkit.engine.Events
Get the skipped Events contained in this Events object.
skipped() - Method in class org.junit.platform.testkit.engine.Executions
Get the skipped Executions contained in this Executions object.
skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
Determine if this TerminationInfo represents a skipped execution.
skipped(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected skipped events.
skipped(String) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
Create a skipped TerminationInfo instance for the supplied reason.
skipped(TestDescriptor, Instant, Instant, String) - Static method in class org.junit.platform.testkit.engine.Execution
Create a new instance of an Execution that was skipped with the provided skipReason.
SKIPPED - Enum constant in enum org.junit.platform.testkit.engine.EventType
Signals that the execution of a TestDescriptor has been skipped.
skippedWithReason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.SKIPPED and the reason is equal to the supplied String.
skippedWithReason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.SKIPPED and the reason matches the supplied Predicate.
source() - Method in interface org.junit.platform.engine.DiscoveryIssue
Returns the source of this issue.
source(Optional<TestSource>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
Set the TestSource for the DiscoveryIssue.
source(TestSource) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
Set the TestSource for the DiscoveryIssue.
STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable or disable stack trace pruning.
STANDALONE_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
STANDARD_INCLUDE_PATTERN - Static variable in interface org.junit.platform.engine.discovery.ClassNameFilter
Standard include pattern in the form of a regular expression that is used to match against fully qualified class names: "^(Test.*|.+[.$]Test.*|.*Tests?)$"
started() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is EventType.STARTED.
started() - Method in class org.junit.platform.testkit.engine.Events
Get the started Events contained in this Events object.
started() - Method in class org.junit.platform.testkit.engine.Executions
Get the started Executions contained in this Executions object.
started(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected started events.
STARTED - Enum constant in enum org.junit.platform.testkit.engine.EventType
Signals that the execution of a TestDescriptor has started.
status(TestExecutionResult) - Method in enum org.junit.platform.console.output.Theme
 
status(TestExecutionResult.Status) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a TestExecutionResult's status is equal to the supplied Status.
STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.err as part of a ReportEntry: "stderr"
STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.out as part of a ReportEntry: "stdout"
stream() - Method in class org.junit.platform.testkit.engine.Events
Get the events as a Stream.
stream() - Method in class org.junit.platform.testkit.engine.Executions
Get the executions as a Stream.
stream(Class<E>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistry
Stream all Extensions of the specified type that are present in this registry or one of its ancestors.
stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
 
STRICT - Enum constant in enum org.junit.jupiter.params.ArgumentCountValidationMode
Use the strict argument count validation mode.
strings() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
The String values to use as sources of arguments; must not be empty.
submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
 
submit(HierarchicalTestExecutorService.TestTask) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
Submit the supplied test task to be executed by this service.
submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
 
succeeded() - Method in class org.junit.platform.testkit.engine.Events
Get the succeeded Events contained in this Events object.
succeeded() - Method in class org.junit.platform.testkit.engine.Executions
Get the succeeded Executions contained in this Executions object.
succeeded(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
Specify the number of expected succeeded events.
success() - Static method in class org.junit.platform.console.command.CommandResult
 
SUCCESS - Static variable in class org.junit.platform.console.command.CommandResult
Exit code indicating successful execution.
successful() - Method in enum org.junit.platform.console.output.Theme
 
successful() - Static method in class org.junit.platform.engine.TestExecutionResult
Create a TestExecutionResult for a successful execution of a test or container.
successful() - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
Create a EngineDiscoveryResult for a successful test discovery.
SUCCESSFUL - Enum constant in enum org.junit.platform.engine.TestExecutionResult.Status
Indicates that the execution of a test or container was successful.
SUCCESSFUL - Enum constant in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Indicates that test discovery was successful.
suite(Class<?>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
Suite - Annotation Type in org.junit.platform.suite.api
@Suite marks a class as a test suite on the JUnit Platform.
SuiteDisplayName - Annotation Type in org.junit.platform.suite.api
@SuiteDisplayName is used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform.
SuiteLauncherDiscoveryRequestBuilder - Class in org.junit.platform.suite.commons
The SuiteLauncherDiscoveryRequestBuilder provides a light-weight DSL for generating a LauncherDiscoveryRequest specifically tailored for suite execution.
SuiteTestEngine - Class in org.junit.platform.suite.engine
The JUnit Platform Suite TestEngine.
SuiteTestEngine() - Constructor for class org.junit.platform.suite.engine.SuiteTestEngine
 
SUMMARY - Enum constant in enum org.junit.platform.console.options.Details
Print summary table of counts only.
SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener that generates a summary of the test execution.
SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
Supported Parameter Types - Search tag in annotation type org.junit.jupiter.params.provider.EmptySource
Section
Supported placeholders - Search tag in org.junit.jupiter.params.ParameterizedClass.name()
Section
Supported placeholders - Search tag in org.junit.jupiter.params.ParameterizedTest.name()
Section
Supported Values - Search tag in org.junit.jupiter.params.converter.DefaultArgumentConverter.DEFAULT_LOCALE_CONVERSION_FORMAT_PROPERTY_NAME
Section
Supported Values - Search tag in org.junit.platform.launcher.LauncherConstants.CRITICAL_DISCOVERY_ISSUE_SEVERITY_PROPERTY_NAME
Section
Supported Values - Search tag in org.junit.platform.launcher.LauncherConstants.DISCOVERY_ISSUE_FAILURE_PHASE_PROPERTY_NAME
Section
Supported Values - Search tag in org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder.DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME
Section
suppressed(int, Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a Throwable's suppressed throwable at the supplied index matches all supplied conditions.
Syntax Rules for Tags - Search tag in annotation type org.junit.platform.suite.api.ExcludeTags
Section
Syntax Rules for Tags - Search tag in annotation type org.junit.platform.suite.api.IncludeTags
Section
Syntax Rules for Tags - Search tag in org.junit.platform.engine.TestTag.isValid(String)
Section

T

tagExpression() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained TagExpression, if any.
TagExpression - Interface in org.junit.platform.launcher.tagexpression
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
tagExpressionOrThrow(Function<String, RuntimeException>) - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the parsed TagExpression or throw an exception with the contained parse error.
Tag Expressions - Search tag in annotation type org.junit.platform.suite.api.ExcludeTags
Section
Tag Expressions - Search tag in annotation type org.junit.platform.suite.api.IncludeTags
Section
TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags or tag expressions.
TEMP_DIR_SCOPE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Deprecated.
TerminationInfo - Class in org.junit.platform.testkit.engine
TerminationInfo is a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or the TestExecutionResult if the container/test was executed.
test() - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test.
test(Class<?>) - Method in class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 
test(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test and its unique id contains the supplied String.
test(String, String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's test descriptor is a test, its unique id contains the supplied String, and its display name equals the supplied String.
test(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event matches the supplied Condition and its test descriptor is a test.
test(UniqueId, Integer) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
TEST - Enum constant in enum org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a test.
TestClassAware - Interface in org.junit.jupiter.engine.descriptor
 
TestClassPredicates - Class in org.junit.jupiter.engine.discovery.predicates
Predicates for determining whether a class is a JUnit Jupiter test class.
TestClassPredicates(DiscoveryIssueReporter) - Constructor for class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
TestClassPredicates.NestedClassInvalidityReason - Enum in org.junit.jupiter.engine.discovery.predicates
 
TestConsoleOutputOptions - Class in org.junit.platform.console.options
 
TestConsoleOutputOptions() - Constructor for class org.junit.platform.console.options.TestConsoleOutputOptions
 
TestConsoleOutputOptionsMixin - Class in org.junit.platform.console.options
 
TestConsoleOutputOptionsMixin() - Constructor for class org.junit.platform.console.options.TestConsoleOutputOptionsMixin
 
TestConsoleOutputOptionsMixin.ConsoleOutputOptions - Class in org.junit.platform.console.options
 
TestDescriptor - Interface in org.junit.platform.engine
Mutable descriptor for a test or container that has been discovered by a TestEngine.
TestDescriptor.Type - Enum in org.junit.platform.engine
Supported types for TestDescriptors.
TestDescriptor.Visitor - Interface in org.junit.platform.engine
Visitor for the tree-like TestDescriptor structure.
TestDiscoveryOptions - Class in org.junit.platform.console.options
 
TestDiscoveryOptions() - Constructor for class org.junit.platform.console.options.TestDiscoveryOptions
 
TestDiscoveryOptionsMixin - Class in org.junit.platform.console.options
 
TestDiscoveryOptionsMixin() - Constructor for class org.junit.platform.console.options.TestDiscoveryOptionsMixin
 
TestDiscoveryOptionsMixin.FilterOptions - Class in org.junit.platform.console.options
 
TestDiscoveryOptionsMixin.RuntimeConfigurationOptions - Class in org.junit.platform.console.options
 
TestDiscoveryOptionsMixin.SelectorOptions - Class in org.junit.platform.console.options
 
TestEngine - Interface in org.junit.platform.engine
A TestEngine facilitates discovery and execution of tests for a particular programming model.
testEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
Get recorded events for tests.
TestExecutionListener - Interface in org.junit.platform.launcher
Register a concrete implementation of this interface with a Launcher to be notified of events that occur during test execution.
Test Execution Order - Search tag in annotation type org.junit.jupiter.params.ParameterizedTest
Section
TestExecutionResult - Class in org.junit.platform.engine
TestExecutionResult encapsulates the result of executing a single test or container.
TestExecutionResult.Status - Enum in org.junit.platform.engine
Status of executing a single test or container.
TestExecutionResultConditions - Class in org.junit.platform.testkit.engine
Collection of AssertJ conditions for TestExecutionResult.
TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
Summary of test plan execution.
TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
Failure of a test or container.
TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @TestFactory methods.
TestFactoryTestDescriptor(UniqueId, Class<?>, Method, Supplier<List<Class<?>>>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
TESTFEED - Enum constant in enum org.junit.platform.console.options.Details
Test plan execution events are rendered as they occur in a concise format.
TestFeedPrintingListener - Class in org.junit.platform.console.output
 
TestFeedPrintingListener(PrintWriter, ColorPalette) - Constructor for class org.junit.platform.console.output.TestFeedPrintingListener
 
TestIdentifier - Class in org.junit.platform.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestInstanceLifecycleUtils - Class in org.junit.jupiter.engine.descriptor
Collection of utilities for retrieving the test instance lifecycle mode.
TestInstancesProvider - Interface in org.junit.jupiter.engine.execution
 
TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @Test methods.
TestMethodTestDescriptor(UniqueId, Class<?>, Method, Supplier<List<Class<?>>>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
TestPlan - Class in org.junit.platform.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
TestPlan(boolean, ConfigurationParameters, OutputDirectoryCreator) - Constructor for class org.junit.platform.launcher.TestPlan
 
TestPlan.Visitor - Interface in org.junit.platform.launcher
Visitor for TestIdentifiers in a TestPlan.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.console.output.TreePrintingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.console.output.FlatPrintingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.console.output.TestFeedPrintingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.console.output.TreePrintingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.console.output.VerboseTreePrintingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
TestRuleAnnotatedField - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedField(Object, Field) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
 
TestRuleAnnotatedMember - Interface in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod(Object, Method) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
 
TestSource - Interface in org.junit.platform.engine
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
TestSourceProvider - Class in org.junit.vintage.engine.descriptor
 
TestSourceProvider() - Constructor for class org.junit.vintage.engine.descriptor.TestSourceProvider
 
TestTag - Class in org.junit.platform.engine
Immutable value object for a tag that is assigned to a test or container.
TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for a @TestTemplate invocation.
TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @TestTemplate methods.
TestTemplateTestDescriptor(UniqueId, Class<?>, Method, Supplier<List<Class<?>>>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
textBlock() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The CSV records to use as the source of arguments, supplied as a single text block; must not be empty.
Theme - Enum in org.junit.platform.console.output
 
throwable(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
Create a new Condition that matches if and only if a TestExecutionResult's throwable matches all supplied conditions.
ThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
Simple component that can be used to collect one or more instances of Throwable.
ThrowableCollector(Predicate<? super Throwable>) - Constructor for class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Create a new ThrowableCollector that uses the supplied Predicate to determine whether a Throwable aborted or failed execution.
ThrowableCollector.Executable - Interface in org.junit.platform.engine.support.hierarchical
Functional interface for an executable block of code that may throw a Throwable.
ThrowableCollector.Factory - Interface in org.junit.platform.engine.support.hierarchical
Factory for ThrowableCollector instances.
TIMEOUT_MODE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to configure whether timeouts are applied to tests: "junit.jupiter.execution.timeout.mode".
to() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
The ending enum constant of the range to be included.
toArray() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an array.
toArray() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toConsumer() - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
Returns this condition as a Consumer.
toExecutionMode(ExecutionMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.FileSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.IterationSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
toIdentifier() - Method in class org.junit.platform.engine.discovery.UriSelector
 
toIdentifier() - Method in interface org.junit.platform.engine.DiscoverySelector
Return the identifier of this selector.
toList() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
Get all arguments in this accessor as an immutable list.
toList() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
 
toPath() - Method in class org.junit.platform.launcher.listeners.OutputDir
 
toPredicate() - Method in interface org.junit.platform.engine.Filter
Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
toPredicate() - Method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition
Returns this condition as a Predicate.
toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
toString() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
Return the name of this ArgumentSet.
toString() - Method in enum org.junit.platform.console.options.Details
Return lower case Enum.name() for easier usage in help text for available options.
toString() - Method in enum org.junit.platform.console.output.Theme
Return lower case Enum.name() for easier usage in help text for available options.
toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
toString() - Method in class org.junit.platform.engine.discovery.FilePosition
 
toString() - Method in class org.junit.platform.engine.discovery.FileSelector
 
toString() - Method in class org.junit.platform.engine.discovery.IterationSelector
 
toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
toString() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UriSelector
 
toString() - Method in class org.junit.platform.engine.DiscoverySelectorIdentifier
Get the string representation of this identifier in the format prefix:value.
toString() - Method in class org.junit.platform.engine.FilterResult
 
toString() - Method in class org.junit.platform.engine.reporting.FileEntry
 
toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
 
toString() - Method in class org.junit.platform.engine.SelectorResolutionResult
 
toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
 
toString() - Method in class org.junit.platform.engine.TestExecutionResult
 
toString() - Method in class org.junit.platform.engine.TestTag
 
toString() - Method in class org.junit.platform.engine.UniqueId.Segment
 
toString() - Method in class org.junit.platform.engine.UniqueId
Generate the unique, formatted string representation of this UniqueId using the configured UniqueIdFormat.
toString() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
 
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 
toString() - Method in class org.junit.platform.testkit.engine.Event
 
toString() - Method in class org.junit.platform.testkit.engine.Execution
 
toString() - Method in class org.junit.platform.testkit.engine.TerminationInfo
 
toTestConsoleOutputOptions() - Method in class org.junit.platform.console.options.TestConsoleOutputOptionsMixin
 
toTestDiscoveryOptions() - Method in class org.junit.platform.console.options.TestDiscoveryOptionsMixin
 
toTestExecutionResult() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
Convert the collected Throwables into a TestExecutionResult.
TREE - Enum constant in enum org.junit.platform.console.options.Details
Test plan execution details are rendered as a simple tree.
TreePrintingListener - Class in org.junit.platform.console.output
 
TreePrintingListener(PrintWriter, ColorPalette, Theme) - Constructor for class org.junit.platform.console.output.TreePrintingListener
 
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
type() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The class in which the method is declared, or a subclass thereof.
type(EventType) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if an Event's type is equal to the supplied EventType.
TypedArgumentConverter<S,T> - Class in org.junit.jupiter.params.converter
TypedArgumentConverter is an abstract base class for ArgumentConverter implementations that always convert objects of a given source type into a given target type.
TypedArgumentConverter(Class<S>, Class<T>) - Constructor for class org.junit.jupiter.params.converter.TypedArgumentConverter
Create a new TypedArgumentConverter.
typeName() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The fully qualified class name in which the method is declared, or a subclass thereof.

U

UNICODE - Enum constant in enum org.junit.platform.console.output.Theme
Unicode (extended ASCII) characters are used to display the test execution tree.
uniqueId(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor is equal to the UniqueId parsed from the supplied String.
uniqueId(Condition<? super UniqueId>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor matches the supplied Condition.
uniqueId(UniqueId) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor is equal to the supplied UniqueId.
UniqueId - Class in org.junit.platform.engine
UniqueId encapsulates the creation, parsing, and display of unique IDs for TestDescriptors.
UniqueId.Segment - Class in org.junit.platform.engine
A segment of a UniqueId comprises a type and a value.
UniqueIdReader - Class in org.junit.vintage.engine.support
 
UniqueIdReader() - Constructor for class org.junit.vintage.engine.support.UniqueIdReader
 
UniqueIdSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a UniqueId so that TestEngines can discover tests or containers based on unique IDs.
UniqueIdSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
UniqueIdStringifier - Class in org.junit.vintage.engine.support
 
UniqueIdStringifier() - Constructor for class org.junit.vintage.engine.support.UniqueIdStringifier
 
uniqueIdSubstring(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor contains the supplied String.
uniqueIdSubstrings(String...) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor contains all of the supplied strings.
uniqueIdSubstrings(List<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
Create a new Condition that matches if and only if the unique id of an Event's test descriptor contains all of the supplied strings.
UniqueIdTrackingListener - Class in org.junit.platform.launcher.listeners
UniqueIdTrackingListener is a TestExecutionListener that tracks the unique IDs of all tests that were executed during the execution of the TestPlan and generates a file containing the unique IDs once execution of the TestPlan has finished.
UniqueIdTrackingListener() - Constructor for class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
 
unresolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
Create a SelectorResolutionResult for an unresolved selector.
unresolved() - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
Factory for creating unresolved resolutions.
UNRESOLVED - Enum constant in enum org.junit.platform.engine.SelectorResolutionResult.Status
Indicates that the TestEngine was unable to resolve the selector.
UNSET_INDEX - Static variable in annotation type org.junit.jupiter.params.Parameter
Constant that indicates that the index of the parameter is unset.
UriSelector - Class in org.junit.platform.engine.discovery
A DiscoverySelector that selects a URI so that TestEngines can discover tests or containers based on URIs.
UriSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
UriSource - Interface in org.junit.platform.engine.support.descriptor
A TestSource that can be represented as a URI.
useHeadersInDisplayName() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
Configures whether the first CSV record should be treated as header names for columns.
useHeadersInDisplayName() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
Configures whether the first CSV record should be treated as header names for columns.
UseTechnicalNames - Annotation Type in org.junit.platform.suite.api
Deprecated.
since 1.8, in favor of the @Suite support provided by the junit-platform-suite-engine module; to be removed in JUnit Platform 2.0

V

Validatable - Interface in org.junit.jupiter.engine.descriptor
Interface for descriptors that can be validated during discovery.
validate(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
validate(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
 
validate(DiscoveryIssueReporter) - Method in interface org.junit.jupiter.engine.descriptor.Validatable
Validate the state of this descriptor and report any issues found to the supplied DiscoveryIssueReporter.
validateClassTemplateInvocationLifecycleMethods(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
validateClassTemplateInvocationLifecycleMethods(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
validateCoreLifecycleMethods(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
 
validateCoreLifecycleMethods(DiscoveryIssueReporter) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
validateNestedTestClass(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
 
value() - Element in annotation type org.junit.jupiter.params.aggregator.AggregateWith
 
value() - Element in annotation type org.junit.jupiter.params.converter.ConvertWith
The type of ArgumentConverter to use.
value() - Element in annotation type org.junit.jupiter.params.converter.JavaTimeConversionPattern
The date/time conversion pattern.
value() - Element in annotation type org.junit.jupiter.params.Parameter
Returns the index of the parameter in the list of parameters.
value() - Element in annotation type org.junit.jupiter.params.provider.ArgumentsSource
The type of ArgumentsProvider to be used.
value() - Element in annotation type org.junit.jupiter.params.provider.ArgumentsSources
An array of one or more @ArgumentsSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSources
An array of one or more @CsvFileSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
The CSV records to use as the source of arguments; must not be empty.
value() - Element in annotation type org.junit.jupiter.params.provider.CsvSources
An array of one or more @CsvSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
The enum type that serves as the source of the enum constants.
value() - Element in annotation type org.junit.jupiter.params.provider.EnumSources
An array of one or more @EnumSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.FieldSource
The names of fields within the test class or in external classes to use as sources for arguments.
value() - Element in annotation type org.junit.jupiter.params.provider.FieldSources
An array of one or more @FieldSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.MethodSource
The names of factory methods within the test class or in external classes to use as sources for arguments.
value() - Element in annotation type org.junit.jupiter.params.provider.MethodSources
An array of one or more @MethodSource annotations.
value() - Element in annotation type org.junit.jupiter.params.provider.ValueSources
An array of one or more @ValueSource annotations.
value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParameter
The value to add to the discovery request for the specified key.
value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParameters
An array of one or more @ConfigurationParameter declarations.
value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParametersResource
The classpath location for the desired properties file; never null or blank.
value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParametersResources
An array of one or more @ConfigurationParameterResource declarations.
value() - Element in annotation type org.junit.platform.suite.api.ExcludeClassNamePatterns
Regular expressions used to match against fully qualified class names.
value() - Element in annotation type org.junit.platform.suite.api.ExcludeEngines
One or more TestEngine IDs to be excluded from the test plan.
value() - Element in annotation type org.junit.platform.suite.api.ExcludePackages
One or more packages to exclude.
value() - Element in annotation type org.junit.platform.suite.api.ExcludeTags
One or more tags to exclude.
value() - Element in annotation type org.junit.platform.suite.api.IncludeClassNamePatterns
Regular expressions used to match against fully qualified class names.
value() - Element in annotation type org.junit.platform.suite.api.IncludeEngines
One or more TestEngine IDs to be included in the test plan.
value() - Element in annotation type org.junit.platform.suite.api.IncludePackages
One or more packages to include.
value() - Element in annotation type org.junit.platform.suite.api.IncludeTags
One or more tags to include.
value() - Element in annotation type org.junit.platform.suite.api.Select
One or more prefixed selector identifiers to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectClasses
One or more classes to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectClasspathResource
The name of the classpath resource to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectClasspathResources
An array of one or more @SelectClasspathResource declarations.
value() - Element in annotation type org.junit.platform.suite.api.SelectDirectories
One or more directories to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectFile
The file to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectFiles
An array of one or more @SelectFile declarations.
value() - Element in annotation type org.junit.platform.suite.api.SelectMethod
The fully qualified method name of the method to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectMethods
An array of one or more @SelectMethod declarations.
value() - Element in annotation type org.junit.platform.suite.api.SelectModules
One or more modules to select.
value() - Element in annotation type org.junit.platform.suite.api.SelectPackages
One or more fully qualified package names to select.
value() - Element in annotation type org.junit.platform.suite.api.Selects
An array of one or more @Select declarations.
value() - Element in annotation type org.junit.platform.suite.api.SelectUris
One or more URIs to select.
value() - Element in annotation type org.junit.platform.suite.api.SuiteDisplayName
Custom display name for the annotated class.
valueOf(String) - Static method in enum org.junit.jupiter.engine.discovery.predicates.TestClassPredicates.NestedClassInvalidityReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.params.ArgumentCountValidationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.jupiter.params.provider.NullEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.console.command.CustomClassLoaderCloseStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.console.options.Details
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.console.output.Theme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.DiscoveryIssue.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.SelectorResolutionResult.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.junit.platform.testkit.engine.EventType
Returns the enum constant of this type with the specified name.
valueOf(Charset) - Static method in enum org.junit.platform.console.output.Theme
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.jupiter.engine.discovery.predicates.TestClassPredicates.NestedClassInvalidityReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.params.ArgumentCountValidationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.params.provider.EnumSource.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.jupiter.params.provider.NullEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.console.command.CustomClassLoaderCloseStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.console.options.Details
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.console.output.Theme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.DiscoveryIssue.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.SelectorResolutionResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestDescriptor.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.engine.TestExecutionResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.junit.platform.testkit.engine.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
ValueSource - Annotation Type in org.junit.jupiter.params.provider
@ValueSource is a repeatable ArgumentsSource which provides access to an array of literal values.
ValueSources - Annotation Type in org.junit.jupiter.params.provider
@ValueSources is a simple container for one or more ValueSource annotations.
VERBOSE - Enum constant in enum org.junit.platform.console.options.Details
Combines Details.TREE and Details.FLAT modes.
VerboseTreePrintingListener - Class in org.junit.platform.console.output
 
VerboseTreePrintingListener(PrintWriter, ColorPalette, int, Theme) - Constructor for class org.junit.platform.console.output.VerboseTreePrintingListener
 
VerifierAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
 
VerifierAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
 
VerifierSupport - Class in org.junit.jupiter.migrationsupport.rules
This Extension provides native support for subclasses of the Verifier rule from JUnit 4.
VerifierSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.VerifierSupport
 
vertical() - Method in enum org.junit.platform.console.output.Theme
 
VintageDiscoverer - Class in org.junit.vintage.engine.discovery
 
VintageDiscoverer() - Constructor for class org.junit.vintage.engine.discovery.VintageDiscoverer
 
VintageEngineDescriptor - Class in org.junit.vintage.engine.descriptor
 
VintageEngineDescriptor(UniqueId) - Constructor for class org.junit.vintage.engine.descriptor.VintageEngineDescriptor
 
VintageExecutor - Class in org.junit.vintage.engine.execution
 
VintageExecutor(VintageEngineDescriptor, EngineExecutionListener, ExecutionRequest) - Constructor for class org.junit.vintage.engine.execution.VintageExecutor
 
VintageTestDescriptor - Class in org.junit.vintage.engine.descriptor
 
VintageTestDescriptor(UniqueId, Description, TestSource) - Constructor for class org.junit.vintage.engine.descriptor.VintageTestDescriptor
 
VintageTestEngine - Class in org.junit.vintage.engine
The JUnit Vintage TestEngine.
VintageTestEngine() - Constructor for class org.junit.vintage.engine.VintageTestEngine
 
visit(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor.Visitor
visit(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
Called for all test identifiers regardless of their type.

W

WARNING - Enum constant in enum org.junit.platform.engine.DiscoveryIssue.Severity
Indicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release.
withExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withExtensionRegistry(MutableExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withMessage(UnaryOperator<String>) - Method in interface org.junit.platform.engine.DiscoveryIssue
Create a copy of this issue with the modified message produced by the supplied operator.
withoutIndexFiltering() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
 
withPosition(FilePosition) - Method in class org.junit.platform.engine.support.descriptor.FileSource
Returns a FileSource based on this instance but with the supplied FilePosition.
withRetainedEngines(Predicate<? super TestDescriptor>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
 
withTestInstancesProvider(TestInstancesProvider) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withThrowableCollector(ThrowableCollector) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Returns shallow copy (without children) of this descriptor with the supplied unique ID.
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
withUniqueId(UnaryOperator<UniqueId>) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form