Index
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
Eventscontained in thisEventsobject. - aborted() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the aborted
Executionscontained in thisExecutionsobject. - 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
TestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable. - 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
- abortOnFailure() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
-
Create a
LauncherDiscoveryListenerthat aborts test discovery on failures. - AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
-
Abstract base implementation of
TestDescriptorthat may be used by customTestEngines. - AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptorwith the suppliedUniqueIdand display name. - AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptorwith the suppliedUniqueId, 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.Visitorto the subtree starting with this descriptor. - accept(TestPlan.Visitor) - Method in class org.junit.platform.launcher.TestPlan
-
Accept the supplied
TestPlan.Visitorfor 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
Filterincludes the value converted using the suppliedFunction. - 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, andPackageSelectorsintoClassSelectorsby 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, andPackageSelectorsintoClassSelectorsby scanning for classes that satisfy the predicate created by the suppliedFunctionin 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
filtersto the configuration. - addResourceContainerSelectorResolver(Predicate<Resource>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Deprecated.
- addResourceContainerSelectorResolver(ResourceFilter) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a predefined resolver that resolves
ClasspathRootSelectors,ModuleSelectors, andPackageSelectorsintoClasspathResourceSelectorsby 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
SelectorResolverto this builder. - addSelectorResolver(SelectorResolver) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context insensitive
SelectorResolverto 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.Visitorto 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
TestDescriptorto an unspecified parent, usually the engine descriptor, by applying the suppliedFunctionto the new parent. - addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Add a
TestDescriptorto a parent, specified by theDiscoverySelectorreturned by the suppliedSupplier, by applying the suppliedFunctionto 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
@AfterEachmethod as a pseudo-extension. - AfterParameterizedClassInvocation - Annotation Type in org.junit.jupiter.params
-
@AfterParameterizedClassInvocationis 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
-
@AfterSuiteis 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
accessorinto 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
accessorinto a single object. - aggregateArguments(ArgumentsAccessor, FieldContext) - Method in class org.junit.jupiter.params.aggregator.SimpleArgumentsAggregator
- AggregateWith - Annotation Type in org.junit.jupiter.params.aggregator
-
@AggregateWithis an annotation that allows one to specify anArgumentsAggregator. - 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.Conditionthat 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
-
AnnotationBasedArgumentConverteris an abstract base class forArgumentConverterimplementations 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
-
AnnotationBasedArgumentsProvideris an abstract base class forArgumentsProviderimplementations 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
-
AnnotationConsumeris a functional interface for consuming annotations. - AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializeris an internal helper class for initializingAnnotationConsumers. - 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
partsto the existing sequence of parts in this namespace. - append(String, String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueIdby appending a newUniqueId.Segment, based on the suppliedsegmentTypeandvalue, to the end of thisUniqueId. - append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
- appendEngine(String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueIdby appending a newUniqueId.Segment, based on the suppliedengineId, to the end of thisUniqueId. - 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_PLACEHOLDERorParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDER, depending on whether the current set of arguments was created viaargumentSet():{argumentSetNameOrArgumentsWithNames}. - ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead. - 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
@ParameterizedTestmethod:{argumentSetName}. - ARGUMENT_SET_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_PLACEHOLDERinstead. - ArgumentAccessException - Exception Class in org.junit.jupiter.params.aggregator
-
ArgumentAccessExceptionis an exception thrown by anArgumentsAccessorif 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
-
ArgumentConversionExceptionis an exception that can occur when an object is converted to another object by an implementation of anArgumentConverter. - 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
-
ArgumentConverteris 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
ArgumentsSourceare validated. - argumentCountValidation() - Element in annotation type org.junit.jupiter.params.ParameterizedTest
-
Configure how the number of arguments provided by an
ArgumentsSourceare validated. - ArgumentCountValidationMode - Enum in org.junit.jupiter.params
-
Enumeration of argument count validation modes for
@ParameterizedClassand@ParameterizedTest. - arguments(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Argumentsbased on the suppliedarguments. - Arguments - Interface in org.junit.jupiter.params.provider
-
Argumentsis an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTestmethod. - 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
@ParameterizedTestmethod:{arguments} - ARGUMENTS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENTS_PLACEHOLDERinstead. - 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
@ParameterizedTestmethod:{argumentsWithNames} - ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead. - Arguments.ArgumentSet - Class in org.junit.jupiter.params.provider
- ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAccessordefines the public API for accessing arguments provided by anArgumentsProviderfor a single invocation of a@ParameterizedTestmethod. - ArgumentsAggregationException - Exception Class in org.junit.jupiter.params.aggregator
-
ArgumentsAggregationExceptionis an exception thrown by anArgumentsAggregatorwhen 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
-
ArgumentsAggregatoris an abstraction for the aggregation of arguments provided by anArgumentsProviderfor a single invocation of a@ParameterizedTestmethod into a single object. - argumentSet(String, Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
- ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvideris responsible for providing a stream of arguments to be passed to a@ParameterizedClassor@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
-
@ArgumentsSourceis 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
-
@ArgumentsSourcesis a simple container for one or moreArgumentsSourceannotations. - around(C, Node.Invocation<C>) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Wraps around the invocation of
Node.before(EngineExecutionContext),Node.execute(EngineExecutionContext, DynamicTestExecutor), andNode.after(EngineExecutionContext). - 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
ThrowableCollectoris empty (i.e., has not collected anyThrowables). - assertEventsMatchExactly(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all events contained in this
Eventsobject 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
Eventsobject, 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
Eventsobject. - assertStatistics(Consumer<EventStatistics>) - Method in class org.junit.platform.testkit.engine.Events
-
Assert statistics for the events contained in this
Eventsobject. - 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
AutoCloseablewill 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
AutoCloseablewill 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
BeforeAllCallbackextensions. - 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
@BeforeAllmethods. - beforeEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
- BeforeEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
-
Functional interface for registering a
@BeforeEachmethod as a pseudo-extension. - BeforeParameterizedClassInvocation - Annotation Type in org.junit.jupiter.params
-
@BeforeParameterizedClassInvocationis 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
-
@BeforeSuiteis 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
booleanvalues 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
EngineDiscoveryRequestResolverthat has been configured via this builder. - build() - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Build the
LauncherConfigthat has been configured via this builder. - build() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Build the
LauncherDiscoveryRequestthat has been configured via this builder. - build() - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Build the
LauncherDiscoveryRequestthat has been configured via this builder. - buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolverinstead. - buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolverinstead. - builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Create a new
EngineDiscoveryRequestResolver.Builderfor creating aEngineDiscoveryRequestResolver. - builder() - Static method in interface org.junit.platform.launcher.core.LauncherConfig
-
Create a new
LauncherConfig.Builder. - builder(DiscoveryIssue.Severity, String) - Static method in interface org.junit.platform.engine.DiscoveryIssue
-
Create a new
DiscoveryIssue.Builderfor creating aDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message. - byPayload(Class<T>, Predicate<? super T>) - Static method in class org.junit.platform.testkit.engine.Event
- bytes() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
bytevalues to use as sources of arguments; must not be empty. - byTestDescriptor(Predicate<? super TestDescriptor>) - Static method in class org.junit.platform.testkit.engine.Event
- byType(EventType) - Static method in class org.junit.platform.testkit.engine.Event
C
- CachingJupiterConfiguration - Class in org.junit.jupiter.engine.config
-
Caching implementation of the
JupiterConfigurationAPI. - 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
OutputDirectoryCreatorto aOutputDirectoryProvider. - 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
Throwablethat caused theDiscoveryIssue. - cause(Optional<Throwable>) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
Throwablethat caused theDiscoveryIssue. - cause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- chars() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
charvalues 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
- ClassBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor 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
Classvalues 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
-
DiscoveryFilterthat is applied to the name of aClass. - CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects the name of a classpath resource so thatTestEnginescan 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
TestSourcewith an optional position. - ClasspathRootSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a classpath root so thatTestEnginescan 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
EngineDiscoveryRequestResolverinstead. - ClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aClassor class name so thatTestEnginescan 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
TestSourcewith 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
-
TestDescriptorfor 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
contextafter 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.CloseActionis 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
Launcherfor 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
AutoCloseableinstances - collecting(Collection<? super DiscoveryIssue>) - Static method in interface org.junit.platform.engine.support.discovery.DiscoveryIssueReporter
-
Create a new
DiscoveryIssueReporterthat 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
filtersinclude 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
filtersinclude 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
visitorsinto a singleVisitor. - CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
-
A
CompositeTestSourcecontains one or moreTestSources. - 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
-
ConditionEvaluatorevaluatesExecutionConditionextensions. - 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
ParallelExecutionConfigurationStrategyto be used by theDefaultParallelExecutionConfigurationStrategy.CUSTOMconfiguration 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.DYNAMICconfiguration 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.DYNAMICconfiguration 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.DYNAMICconfiguration 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.FIXEDconfiguration 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.FIXEDconfiguration 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.FIXEDconfiguration 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
-
@ConfigurationParameteris a repeatable annotation that specifies a configurationkeyandvaluepair 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
TestEnginesmay use to influence test discovery and execution. - ConfigurationParameters - Annotation Type in org.junit.platform.suite.api
-
@ConfigurationParametersis a container for one or more@ConfigurationParameterdeclarations. - configurationParametersResource(String) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- ConfigurationParametersResource - Annotation Type in org.junit.platform.suite.api
-
@ConfigurationParametersResourceis 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
-
@ConfigurationParametersResourcesis a container for one or more@ConfigurationParametersResourcedeclarations. - configure(UnaryOperator<UniqueId>, DynamicDescendantFilter) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- ConsoleLauncher - Class in org.junit.platform.console
-
The
ConsoleLauncheris 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.Consoleand 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
DiscoveryIssueReporterthat adds reported issues to the supplied consumer. - container() - Static method in class org.junit.platform.testkit.engine.EventConditions
- container(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the fully qualified name of the suppliedClass. - container(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the suppliedString. - container(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedConditionand its test descriptor is a container. - CONTAINER - Enum constant in enum org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris for a container. - CONTAINER_AND_TEST - Enum constant in enum org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptoris 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
sourceobject into the suppliedtargetType. - convert(Object, Class<?>, A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
-
Convert the supplied
sourceobject into the suppliedtargetType, 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
sourceobject according to the suppliedcontext. - 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
sourceobject according to the suppliedcontext. - 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
sourceobject of typeSinto an object of typeT. - ConvertWith - Annotation Type in org.junit.jupiter.params.converter
-
@ConvertWithis an annotation that allows one to specify an explicitArgumentConverter. - 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
Eventsobject. - count() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the number of executions contained in this
Executionsobject. - countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
-
Count all
TestIdentifiersthat 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
- 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
partsfor creating a namespace. - create(String) - Static method in class org.junit.platform.engine.TestTag
-
Create a
TestTagfrom the suppliedname. - create(String, String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Create a new
DiscoverySelectorIdentifierwith 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
objectsfor 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
DiscoveryIssuewith the suppliedDiscoveryIssue.Severityand 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
Launcherusing the suppliedLauncherConfig. - 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.Conditionthat reports aDiscoveryIssuewhen the suppliedPredicateis not met. - createThrowableCollector() - Static method in class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
-
Create a new
ThrowableCollectorthat treats instances of the OTA'sTestAbortedExceptionand JUnit 4'sorg.junit.AssumptionViolatedExceptionas 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
ThrowableCollectorinstances 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
-
@CsvFileSourceis a repeatableArgumentsSourcewhich is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()orCsvFileSource.files(). - CsvFileSources - Annotation Type in org.junit.jupiter.params.provider
-
@CsvFileSourcesis a simple container for one or moreCsvFileSourceannotations. - 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
-
@CsvSourceis a repeatableArgumentsSourcewhich reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()attribute orCsvSource.textBlock()attribute. - CsvSources - Annotation Type in org.junit.jupiter.params.provider
-
@CsvSourcesis a simple container for one or moreCsvSourceannotations. - CUSTOM - Enum constant in enum org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Allows the specification of a custom
ParallelExecutionConfigurationStrategyimplementation 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
ServiceLoadermechanism 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
ServiceLoadermechanism: "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
DiscoveryIssueReporterthat 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
LauncherConfigwhich 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
@AfterAllmethods: "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
@AfterEachmethods: "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
@BeforeAllmethods: "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
@BeforeEachmethods: "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
@ParameterizedTestmethod: "[{index}] {argumentSetNameOrArgumentsWithNames}" - DEFAULT_DISPLAY_NAME - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.DEFAULT_DISPLAY_NAMEinstead. - 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
Localearguments: "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
@TempDirannotation: "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
@TestFactorymethods: "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
@Testmethods: "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
@TestTemplatemethods: "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
-
DefaultArgumentConverteris the default implementation of theArgumentConverterAPI. - DefaultArgumentConverter(ExtensionContext) - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter
- DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
-
Default implementation of the
ArgumentsAccessorAPI. - 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
JupiterConfigurationAPI. - 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
DiscoverySelectorthat selects a directory so thatTestEnginescan 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
LauncherDiscoveryRequestusing theTestEnginewith 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
LauncherDiscoveryRequestusing the suppliedTestEngine. - 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
TestPlanaccording to the suppliedLauncherDiscoveryRequestby 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
DiscoveryFilteris 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
-
DiscoveryIssuerepresents an issue that was encountered during test discovery by aTestEngine. - 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
-
DiscoveryIssueExceptionis an exception that is thrown if an engine reports critical issues during test discovery. - DiscoveryIssueReporter - Interface in org.junit.platform.engine.support.discovery
-
DiscoveryIssueReporterdefines the API for reportingDiscoveryIssues. - DiscoveryIssueReporter.Condition<T> - Interface in org.junit.platform.engine.support.discovery
- DiscoverySelector - Interface in org.junit.platform.engine
-
A selector defines what a
TestEnginecan 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
DiscoverySelectorwith a specific prefix. - DiscoverySelectorIdentifierParser - Interface in org.junit.platform.engine.discovery
-
Parser for a
DiscoverySelectorIdentifierwith a specific prefix. - DiscoverySelectorIdentifierParser.Context - Interface in org.junit.platform.engine.discovery
-
Context for parsing
DiscoverySelectorIdentifiers. - DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
-
DiscoverySelectorResolverresolvesTestDescriptorsfor containers and tests selected byDiscoverySelectors, with the help of anEngineDiscoveryRequestResolver. - DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- DiscoverySelectors - Class in org.junit.platform.engine.discovery
-
Collection of
staticfactory methods for creatingDiscoverySelectors. - DISPLAY_NAME_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedInvocationConstants
-
Placeholder for the display name of a
@ParameterizedTestmethod:{displayName} - DISPLAY_NAME_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.DISPLAY_NAME_PLACEHOLDERinstead. - displayName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the display name of anEvent's test descriptor is equal to the suppliedString. - 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
doublevalues 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
TestDescriptorhas 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
Eventscontained in thisEventsobject. - 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
TestDescriptorsthat implementFilterable. - 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
Conditionthat matches if and only if anEvent's type isEventType.DYNAMIC_TEST_REGISTEREDand its unique id contains the suppliedString. - dynamicTestRegistered(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.DYNAMIC_TEST_REGISTEREDand it matches the suppliedCondition. - dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when a new, dynamic
TestDescriptorhas been registered. - dynamicTestRegistered(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor the dynamic registration of the suppliedTestDescriptor. - dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor 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
TestIdentifierhas been registered.
E
- EmptySource - Annotation Type in org.junit.jupiter.params.provider
-
@EmptySourceis anArgumentsSourcewhich provides a single empty argument to the annotated@ParameterizedClassor@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
LauncherInterceptorinstances to be registered via theServiceLoadermechanism: "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
-
EnableJUnit4MigrationSupportis 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
Conditionthat matches if and only if anEvent's test descriptor is an instance ofEngineDescriptor. - engine(String) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builderfor theTestEnginewith the supplied ID. - engine(TestEngine) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builderfor the suppliedTestEngine. - 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
- EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Create a new
EngineDescriptorwith the suppliedUniqueIdand 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
-
EngineDiscoveryListenerdefines the API which enables aTestEngineto 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
-
EngineDiscoveryRequestprovides aTestEngineaccess 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
SelectorResolverandTestDescriptor.Visitorthat can be reused by differentTestEngines. - EngineDiscoveryRequestResolver.Builder<T> - Class in org.junit.platform.engine.support.discovery
-
Builder for
EngineDiscoveryRequestResolver. - EngineDiscoveryRequestResolver.InitializationContext<T> - Interface in org.junit.platform.engine.support.discovery
-
The initialization context for creating resolvers and visitors that depend on the
EngineDiscoveryRequestto be resolved or the engine descriptor that will be used to collect the results. - EngineDiscoveryResult - Class in org.junit.platform.launcher
-
EngineDiscoveryResultencapsulates the result of test discovery by aTestEngine. - EngineDiscoveryResult.Status - Enum in org.junit.platform.launcher
-
Status of test discovery by a
TestEngine. - EngineDiscoveryResults - Class in org.junit.platform.testkit.engine
-
EngineDiscoveryResultsrepresents the results of test discovery by aTestEngineon the JUnit Platform and provides access to theTestDescriptorof the engine and anyDiscoveryIssuesthat 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
HierarchicalTestEngineand 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
-
EngineExecutionResultsprovides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine. - EngineFilter - Class in org.junit.platform.launcher
-
An
EngineFilteris applied to allTestEnginesbefore they are used. - EngineTestKit - Class in org.junit.platform.testkit.engine
-
EngineTestKitprovides support for discovering and executing tests for a givenTestEngineand provides convenient access to the results. - EngineTestKit.Builder - Class in org.junit.platform.testkit.engine
-
TestEngineexecution 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.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
-
@EnumSourcesis a simple container for one or moreEnumSourceannotations. - 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
ExecutionConditionextensions registered for the suppliedExtensionContext. - evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
-
Containers/tests are disabled if
@Ignoreis present on the test class or method. - event(Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches all of the supplied conditions. - Event - Class in org.junit.platform.testkit.engine
-
Eventrepresents 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
-
Eventsis a facade that provides a fluent API for working with events. - EventStatistics - Class in org.junit.platform.testkit.engine
-
EventStatisticsprovides a fluent API for asserting statistics for events. - EventType - Enum in org.junit.platform.testkit.engine
-
Enumeration of the different possible
Eventtypes. - 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
ClassNameFilterbased on the supplied patterns. - ExcludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
-
@ExcludeClassNamePatternsspecifies 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
EngineFilterbased on the supplied engine IDs. - excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new exclude
EngineFilterbased on the supplied engine IDs. - ExcludeEngines - Annotation Type in org.junit.platform.suite.api
-
@ExcludeEnginesspecifies the IDs ofTestEnginesto 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
MethodFilterbased on the supplied patterns. - excludeMethodNamePatterns(List<String>) - Static method in interface org.junit.platform.launcher.MethodFilter
-
Create a new exclude
MethodFilterbased on the supplied patterns. - excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilterbased on the supplied package names. - excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilterbased on the supplied package names. - ExcludePackages - Annotation Type in org.junit.platform.suite.api
-
@ExcludePackagesspecifies 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
-
@ExcludeTagsspecifies 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
-
LockModetranslates to the respectiveReadWriteLocklocks. - 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
Throwablethat 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
-
Deprecated.Please use
EngineTestKit.execute(String, LauncherDiscoveryRequest)instead. - execute(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequestusing theTestEnginewith 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.Executableand collect anyThrowablethrown 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
-
Deprecated.Please use
EngineTestKit.execute(TestEngine, LauncherDiscoveryRequest)instead. - execute(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequestusing the suppliedTestEngine. - 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
TestPlanwhich is built according to the suppliedLauncherDiscoveryRequestby 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
TestPlanand 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
TerminationInforepresents a completed execution. - executed(TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create an executed
TerminationInfoinstance for the suppliedTestExecutionResult. - 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.Executableand return aTestExecutionResultbased on the outcome. - Execution - Class in org.junit.platform.testkit.engine
-
Executionencapsulates metadata for the execution of a singleTestDescriptor. - 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
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a container or test that completed with the providedTestExecutionResult. - 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
TestPlanhas finished, regardless of the outcome. - ExecutionRecorder - Class in org.junit.platform.testkit.engine
-
ExecutionRecorderis anEngineExecutionListenerthat records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults. - ExecutionRecorder() - Constructor for class org.junit.platform.testkit.engine.ExecutionRecorder
- ExecutionRequest - Class in org.junit.platform.engine
-
Provides a single
TestEngineaccess 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
Executionsfor the current set of events. - Executions - Class in org.junit.platform.testkit.engine
-
Executionsis 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
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor 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
TestPlanhas 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
Eventfor the suppliedTestDescriptor. - executionStarted(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor 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
TestPlanis 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
Extensionprovides native support for theExpectedExceptionrule 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
-
ExtensionContextInternalextends theExtensionContextwith internal API. - ExtensionContextSupplier - Interface in org.junit.jupiter.engine.execution
-
Container of two instances of
ExtensionContextto simplify the legacy for #3445. - ExtensionContextSupplier.ScopeBasedExtensionContextSupplier - Class in org.junit.jupiter.engine.execution
- ExtensionRegistrar - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistraris used to register extensions. - ExtensionRegistry - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistryholds 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
ServiceLoadermechanism: "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.outwhen 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
Extensionprovides native support for subclasses of theExternalResourcerule 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
Eventscontained in thisEventsobject. - failed() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the failed
Executionscontained in thisExecutionsobject. - 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
SelectorResolutionResultfor a failed selector resolution. - failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResultfor a failed execution of a test or container with the suppliedthrowable. - failed(Throwable) - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Create a
EngineDiscoveryResultfor a failed test discovery. - FAILED - Enum constant in enum org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginehas 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
-
FieldContextencapsulates the context in which an@Parameter-annotatedFieldis 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
-
@FieldSourceis a repeatableArgumentsSourcewhich 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
-
@FieldSourcesis a simple container for one or moreFieldSourceannotations. - FILE_ENTRY_PUBLISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorpublished a file entry. - fileEntry(Predicate<FileEntry>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- FileEntry - Class in org.junit.platform.engine.reporting
-
FileEntryencapsulates 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
Eventscontained in thisEventsobject. - 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
TestDescriptorin 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
- fileEntryPublished(TestDescriptor, FileEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
- 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
- FilePosition - Class in org.junit.platform.engine.support.descriptor
- 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
DiscoverySelectorthat selects a file so thatTestEnginescan 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
TestSourcewith 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
Filtercan be applied to determine if an object should be included or excluded in a result set. - Filterable - Interface in org.junit.jupiter.engine.descriptor
-
Filterableis implemented byTestDescriptorsthat 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.Please use
EngineTestKit.Builder.filters(Filter...)instead. - filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all supplied
filtersto the request. - filters(Filter<?>...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Add all supplied
filtersto 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
Eventscontained in thisEventsobject. - finished() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the finished
Executionscontained in thisExecutionsobject. - 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
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its payload is an instance ofTestExecutionResultthat matches the suppliedCondition. - finished(TestDescriptor, Instant, Instant, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Executionthat finished with the providedTestExecutionResult. - FINISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas finished, regardless of the outcome. - finishedSuccessfully() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofSUCCESSFUL. - finishedWithFailure() - Static method in class org.junit.platform.testkit.engine.EventConditions
- finishedWithFailure(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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
floatvalues 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
LoggingListenerwhich delegates to the suppliedBiConsumerfor consumption of logging messages. - forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
-
Create an engine's unique ID from its
engineIdusing the default format. - forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorServicebased on the suppliedConfigurationParameters. - ForkJoinPoolHierarchicalTestExecutorService(ParallelExecutionConfiguration) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorServicebased on the suppliedParallelExecutionConfiguration. - 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
DiscoveryIssueReporterthat reports issues to the suppliedEngineDiscoveryListenerfor 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
TestPlanfrom the supplied collection ofTestDescriptors. - from(int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePositionusing the suppliedlinenumber and an undefined column number. - from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlinenumber and an undefined column number. - from(int, int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePositionusing the suppliedlineandcolumnnumbers. - from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePositionusing the suppliedlineandcolumnnumbers. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Create a new
DirectorySourceusing the supplied directory. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
-
Create a new
FileSourceusing the suppliedfile. - from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
- from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class. - from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
- from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
- from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the supplied JavaPackage. - from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing the suppliedmethod. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourceusing the supplied classpath resource name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSourceusing the suppliedpackageName. - from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a key-value pair. - from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSourceusing 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
MethodSourceusing 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
MethodSourceusing 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
ClasspathResourceSourceusing the supplied classpath resource name andFilePosition. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourceusing the supplied class name and file position. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSourcefrom the suppliedURI. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSourcefrom the suppliedURI. - from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Create a new
UriSourceusing the suppliedURI. - from(Path, String) - Static method in class org.junit.platform.engine.reporting.FileEntry
-
Factory for creating a new
FileEntryfrom the supplied path and media type. - from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Create a new
CompositeTestSourcebased on the supplied collection ofsources. - from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntryfrom a map of key-value pairs. - from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
-
Factory for creating a new
TestIdentifierfrom aTestDescriptor. - 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
FilePositionby parsing the suppliedquerystring. - fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create an optional
FilePositionby parsing the suppliedquerystring.
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
@ParameterizedTestmethod. - 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
keyusing the specifiedtransformer. - 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
ParameterInfoinstance for the suppliedExtensionContext; potentiallynull. - get(ExtensionContext) - Static method in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated.Please use
ParameterInfo.get(ExtensionContext)instead - 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
AnnotatedElementthat declares the parameter; nevernull. - 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-engineas 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-engineas the artifact ID. - getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
junit-vintage-engineas 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
-
Deprecated.
- 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
ClassLoaderused to load the selected class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the
ClassLoaderused to load the specified class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the
ClassLoaderused to load the selected nested class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the
ClassLoaderused 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
TestIdentifierusing the suppliedTestPlan. - getClassNameFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the class name filter built from the
ClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat 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.Please use {
ClasspathResourceSelector.getResources()} instead. - 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
ConfigurationParametersfor this request. - getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
ConfigurationParametersthat the engine may use to influence test execution. - getConfigurationParameters() - Method in class org.junit.platform.launcher.TestPlan
-
Get the
ConfigurationParametersfor 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
EngineDiscoveryListenerfor this request. - getDiscoveryListener() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
LauncherDiscoveryListenerfor this request. - getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the
EngineDiscoveryRequestthat 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
Durationof thisExecution. - 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
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- 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
Instantof thisExecution. - getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the engine's
TestDescriptorthat will be used to collect the results. - getEngineDescriptor() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
-
Returns the root
TestDescriptorof the engine. - getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
EngineExecutionListenerto be notified of test execution events. - getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
EngineFiltersfor 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
Throwablecausing 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
TestExecutionResultfor 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
Extensionsof 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
DiscoveryFiltersfor 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.jupiteras 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.platformas the group ID. - getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
org.junit.vintageas 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
DiscoveryIssueReporterfor 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
- 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.Segmentof thisUniqueId. - getLauncher() - Method in interface org.junit.platform.launcher.LauncherSession
-
Get the
Launcherassociated 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.since 1.10 in favor of
MethodSelector.getParameterTypeNames() - getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Deprecated.since 1.10 in favor or
NestedMethodSelector.getParameterTypeNames() - 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
- 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
OutputDirectoryCreatorfor this request. - getOutputDirectoryCreator() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the
OutputDirectoryCreatorfor this request for writing reports and other output files. - getOutputDirectoryCreator() - Method in class org.junit.platform.launcher.TestPlan
-
Get the
OutputDirectoryCreatorfor this test plan. - getOutputDirectoryProvider() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Deprecated.Please use
EngineDiscoveryRequest.getOutputDirectoryCreator()instead - getOutputDirectoryProvider() - Method in class org.junit.platform.engine.ExecutionRequest
-
Deprecated.Please use
ExecutionRequest.getOutputDirectoryCreator()instead - getOutputDirectoryProvider() - Method in class org.junit.platform.launcher.TestPlan
-
Deprecated.Please use
TestPlan.getOutputDirectoryCreator()instead - getPackageFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the package name filter built from the
PackageNameFiltersin theEngineDiscoveryRequestthat 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
nullbut 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
- getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
- 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
FilePositionwithin 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
- 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
PostDiscoveryFiltersfor 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
TestIdentifiersfor this test plan. - getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Returns the root
TestDescriptorof 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
DiscoverySelectorsfor 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
Instantof thisExecution. - 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
NamespacedHierarchicalStorefor this request for storing request-scoped data. - getStore() - Method in interface org.junit.platform.launcher.LauncherSession
-
Get the
NamespacedHierarchicalStoreassociated 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
TerminationInfofor thisExecution. - 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
TestDescriptorassociated with thisEvent. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TestDescriptorfor thisExecution. - 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
-
Deprecated.
- getTestIdentifier(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
-
Get the
TestIdentifierwith 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
Throwablecollected by thisThrowableCollector. - 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
FileEntrywas created. - getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get the timestamp for when this
ReportEntrywas created. - getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
Instantwhen thisEventoccurred. - 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
-
Returns
TestDescriptor.Type.CONTAINER. - getType() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine the
TestDescriptor.Typeof 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
- getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Get the
URIthat 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
UniqueIdis a prefix for thisUniqueId. - 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
TestEngineimplementations that wish to organize test suites hierarchically based on theNodeabstraction. - 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
-
ExecutionConditionthat supports JUnit 4's@Ignoreannotation. - 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
ClassNameFilterbased on the supplied patterns. - IncludeClassNamePatterns - Annotation Type in org.junit.platform.suite.api
-
@IncludeClassNamePatternsspecifies 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
EngineFilterbased on the supplied engine IDs. - includeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new include
EngineFilterbased on the supplied engine IDs. - IncludeEngines - Annotation Type in org.junit.platform.suite.api
-
@IncludeEnginesspecifies the IDs ofTestEnginesto 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
MethodFilterbased on the supplied patterns. - includeMethodNamePatterns(List<String>) - Static method in interface org.junit.platform.launcher.MethodFilter
-
Create a new include
MethodFilterbased on the supplied patterns. - includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilterbased on the supplied package names. - includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilterbased on the supplied package names. - IncludePackages - Annotation Type in org.junit.platform.suite.api
-
@IncludePackagesspecifies 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
-
@IncludeTagsspecifies 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
@ParameterizedTestmethod (1-based):{index} - INDEX_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.params.ParameterizedTest
-
Deprecated.Please reference
ParameterizedInvocationConstants.INDEX_PLACEHOLDERinstead. - 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
testClassusing the suppliedtestInstance. - 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
Conditionthat matches if and only if aThrowableis an instance of the suppliedClass. - 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
-
InterceptingExecutableInvokerencapsulates the invocation of aExecutable(i.e., method or constructor), including support for dynamic resolution of method parameters viaParameterResolvers. - 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
intvalues 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
ThrowableCollectoris empty (i.e., has not collected anyThrowables). - 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
ServiceLoadermechanism 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
ServiceLoadermechanism and automatically registered. - isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollectoris not empty (i.e., has collected at least oneThrowable). - 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
ServiceLoadermechanism 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
engineIdencountered 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
ServiceLoadermechanism 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
ServiceLoadermechanism and automatically registered. - IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@TestFactorymethod. - 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
@Testmethod. - 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
@TestTemplatemethod. - 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
DiscoverySelectorthat selects the iterations of a parentDiscoverySelectorvia their indices so thatTestEnginescan 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
-
@JavaTimeConversionPatternis an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedClassor@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
@Suitesupport provided by thejunit-platform-suite-enginemodule; 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
ThrowableCollectorswithin 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
valueto the discovery request; nevernullor blank. - KEY - Static variable in interface org.junit.jupiter.params.ParameterInfo
-
The key for retrieving the
ParameterInfoinstance from theStore. - KEY - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated.Please use
ParameterInfo.KEYinstead - 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
LauncherAPI 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
-
LauncherConfigdefines the configuration API for creatingLauncherinstances via theLauncherFactory. - 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
LauncherDiscoveryRequestBuilderorLauncherto be notified of events that occur during test discovery. - LauncherDiscoveryListeners - Class in org.junit.platform.launcher.listeners.discovery
-
Collection of
staticfactory methods for creatingLauncherDiscoveryListeners. - LauncherDiscoveryRequest - Interface in org.junit.platform.launcher
-
LauncherDiscoveryRequestextends theEngineDiscoveryRequestAPI with additional filters that are applied by theLauncheritself. - LauncherDiscoveryRequestBuilder - Class in org.junit.platform.launcher.core
-
The
LauncherDiscoveryRequestBuilderprovides a light-weight DSL for generating aLauncherDiscoveryRequest. - LauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Deprecated.
- 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
Launcherinstances by invokingLauncherFactory.create()orLauncherFactory.create(LauncherConfig). - LauncherInterceptor - Interface in org.junit.platform.launcher
-
Interceptor for test discovery and execution by a
Launcherin the context of aLauncherSession. - LauncherInterceptor.Invocation<T> - Interface in org.junit.platform.launcher
-
An invocation that can be intercepted.
- LauncherSession - Interface in org.junit.platform.launcher
-
The
LauncherSessionAPI 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
LauncherSessionis opened and closed. - LauncherSessionListeners - Class in org.junit.platform.launcher.listeners.session
-
Collection of
staticfactory methods for creatingLauncherSessionListeners. - 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
Conditionthat matches if and only if the TestDescriptor.getLegacyReportingName() () legacy reporting name} of anEvent's test descriptor is equal to the suppliedString. - LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
-
Deprecated.Useinstead.
invalid reference
org.junit.platform.reporting.legacy.LegacyReportingUtils - 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
- 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
LauncherDiscoveryListenerthat logs test discovery events based on their severity. - LoggingListener - Class in org.junit.platform.launcher.listeners
-
Simple
TestExecutionListenerfor logging informational messages for all events via aBiConsumerthat consumesThrowableandSupplier<String>. - longs() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
longvalues 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
- message(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- 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
TestDescriptorsbased on Java methods. - MethodFilter - Interface in org.junit.platform.launcher
-
PostDiscoveryFilterthat is applied to the fully qualifiedMethodname without parameters. - MethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects aMethodor a combination of class name, method name, and parameter types so thatTestEnginescan 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
-
@MethodSourceis a repeatableArgumentsSourcewhich 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
-
@MethodSourcesis a simple container for one or moreMethodSourceannotations. - 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
DiscoverySelectorthat selects a module name so thatTestEnginescan 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
Namespaceis used to provide a scope for data saved by extensions within aNamespacedHierarchicalStore. - NAMESPACE - Static variable in interface org.junit.jupiter.params.ParameterInfo
-
The
ExtensionContext.Namespacefor accessing theStoreforParameterInfo. - NAMESPACE - Static variable in interface org.junit.jupiter.params.support.ParameterInfo
-
Deprecated.Please use
ParameterInfo.NAMESPACEinstead - 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
-
NamespacedHierarchicalStoreis 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
NamespacedHierarchicalStoreis closed. - NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
-
Exception thrown by failed
NamespacedHierarchicalStoreoperations. - 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
DiscoverySelectorthat selects a nestedClassor class name enclosed in other classes so thatTestEnginescan discover tests or containers based on classes. - NestedClassSelector.IdentifierParser - Class in org.junit.platform.engine.discovery
- NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor 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
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedCondition, its test descriptor is a container, and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a nestedMethodor a combination of enclosing class names, class name, method name, and parameter types so thatTestEnginescan 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
contextshould 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
-
Override
TestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers. - nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
Invoke
testSuccessful(),testAborted(), ortestFailed()on each registeredTestWatcheraccording to the status of the suppliedTestExecutionResult, 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 registeredTestWatcher, in registration order. - nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
MethodBasedTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers. - 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
TerminationInfodoes not represent a skipped execution. - nullable() - Element in annotation type org.junit.jupiter.params.converter.JavaTimeConversionPattern
-
Whether
nullargument values are allowed. - NullAndEmptySource - Annotation Type in org.junit.jupiter.params.provider
-
@NullAndEmptySourceis a composed annotation that combines the functionality of@NullSourceand@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
-
@NullSourceis anArgumentsSourcewhich provides a singlenullargument to the annotated@ParameterizedClassor@ParameterizedTest. - nullValues() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
nullreferences. - nullValues() - Element in annotation type org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
nullreferences. - 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
Argumentsbased on the suppliedarguments. - 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
- openSession(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
-
Factory method for opening a new
LauncherSessionusing the suppliedLauncherConfig. - OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Specialization of
ThrowableCollectorthat treats instances ofTestAbortedExceptionas 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
@Ignoreannotation) 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
- org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
-
ArgumentConverterimplementations and the corresponding@ConvertWithannotation. - org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
ArgumentsProviderimplementations and their correspondingArgumentsSourceannotations. - 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
- 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
TestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction. - 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
Launcherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder. - org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
-
Common
TestExecutionListenerimplementations and related support classes for theLauncher. - org.junit.platform.launcher.listeners.discovery - package org.junit.platform.launcher.listeners.discovery
-
Common
LauncherDiscoveryListenerimplementations and factory methods. - org.junit.platform.launcher.listeners.session - package org.junit.platform.launcher.listeners.session
-
Common
LauncherSessionListenerimplementations 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
-
Runnerand 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
TestEnginerunning 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_NAMEthat 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
OutputDirectoryCreatorto 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
OutputDirectoryCreatorto 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
-
Deprecated.
- outputDirectoryProvider(OutputDirectoryProvider) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Deprecated.Please use
EngineTestKit.Builder.outputDirectoryCreator(OutputDirectoryCreator)instead - OutputDirectoryProvider - Interface in org.junit.platform.engine.reporting
-
Deprecated.Please implement
OutputDirectoryCreatorinstead
P
- PackageNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilterthat is applied to the name of aPackage. - PackageSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelectorthat selects a package name so thatTestEnginescan 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
ParallelExecutionConfigurationStrategyto be used for thecustomconfiguration 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
dynamicconfiguration 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
fixedconfiguration 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
fixedconfiguration 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
fixedconfiguration 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
-
@Parameteris used to signal that a field in a@ParameterizedClassconstitutes a parameter and marks it for field injection. - ParameterDeclaration - Interface in org.junit.jupiter.params.support
-
ParameterDeclarationencapsulates the declaration of an indexed@ParameterizedClassor@ParameterizedTestparameter. - ParameterDeclarations - Interface in org.junit.jupiter.params.support
-
ParameterDeclarationsencapsulates the combined declarations of all indexed@ParameterizedClassor@ParameterizedTestparameters. - ParameterInfo - Interface in org.junit.jupiter.params
-
ParameterInfois 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
ParameterInfoinstead - ParameterizedClass - Annotation Type in org.junit.jupiter.params
-
@ParameterizedClassis 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
@ParameterizedClassand@ParameterizedTestannotations. - ParameterizedTest - Annotation Type in org.junit.jupiter.params
-
@ParameterizedTestis used to signal that the annotated method is a parameterized test method. - ParameterResolutionUtils - Class in org.junit.jupiter.engine.execution
-
ParameterResolutionUtilsprovides support for dynamic resolution of executable parameters viaParameterResolvers. - 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
DiscoverySelectorIdentifierin the formatprefix:value. - parse(String) - Static method in class org.junit.platform.engine.UniqueId
-
Parse a
UniqueIdfrom 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
TagExpressionfrom 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
PostDiscoveryFilteris applied toTestDescriptorsafter 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
ConfigurationParametersthat 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
ConfigurationParametersthat applies the supplied prefix to all queries. - prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Prepare the supplied
contextprior 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
ExtensionContextso 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
-
Deprecated.Please implement
ArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext)instead. - provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
-
Deprecated.Please implement
AnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext, Annotation)instead. - provideArguments(ParameterDeclarations, ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideArguments(ParameterDeclarations, ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
- provideArguments(ParameterDeclarations, ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
-
The returned
Streamwill beproperly closedby the default implementation ofAnnotationBasedArgumentsProvider.provideArguments(ParameterDeclarations, ExtensionContext), making it safe to use a resource such asFiles.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
- reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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
Extensionas 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
testClassto be initialized using the suppliedinitializerwhen 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
- reportAndClear(List<DiscoveryIssue>, DiscoveryIssueReporter) - Static method in interface org.junit.jupiter.engine.descriptor.Validatable
-
Report and clear the given list of
DiscoveryIssues using the suppliedDiscoveryIssueReporter. - reportEntry(Map<String, String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's payload is an instance ofReportEntrythat contains the supplied key-value pairs. - ReportEntry - Class in org.junit.platform.engine.reporting
-
ReportEntryencapsulates a time-stamped map ofString-based key-value pairs to be published to the reporting infrastructure. - ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
-
Deprecated.
- REPORTING_ENTRY_PUBLISHED - Enum constant in enum org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorpublished a reporting entry. - reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the reporting entry publication
Eventscontained in thisEventsobject. - 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
TestDescriptorin order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go toSystem.outInformation about test context or test data - reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a publishedReportEntry. - 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
Builderand report the resultingDiscoveryIssue. - 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
ClasspathResourceSelectorusing the suppliedContext. - resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathRootSelectorusing the suppliedContext. - resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClassSelectorusing the suppliedContext. - resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DirectorySelectorusing the suppliedContext. - resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
FileSelectorusing the suppliedContext. - resolve(IterationSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
IterationSelectorusing the suppliedContext. - resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
MethodSelectorusing the suppliedContext. - resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ModuleSelectorusing the suppliedContext. - resolve(NestedClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedClassSelectorusing the suppliedContext. - resolve(NestedMethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedMethodSelectorusing the suppliedContext. - resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
PackageSelectorusing the suppliedContext. - resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UniqueIdSelectorusing the suppliedContext. - resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UriSelectorusing the suppliedContext. - 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
DiscoverySelectorusing the suppliedContext. - resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequestand collect the results into the suppliedTestDescriptorwhile forwarding encountered discovery issues to theEngineDiscoveryRequest'sEngineDiscoveryListener. - resolve(EngineDiscoveryRequest, T, DiscoveryIssueReporter) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequestand collect the results into the suppliedTestDescriptorusing the suppliedDiscoveryIssueReporterto report issues encountered during resolution. - resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor a resolved selector. - RESOLVED - Enum constant in enum org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEnginehas 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
Conditionthat matches if and only if anEvent's payload is an instance ofTestExecutionResultthat matches the suppliedCondition. - 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
segmentTypeandvalueusing the default format. - rootCause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- 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
-
@Selectis 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
ClassSelectorfor the suppliedClass. - selectClass(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name and class loader. - selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelectorfor the supplied class name. - SelectClasses - Annotation Type in org.junit.platform.suite.api
-
@SelectClassesspecifies 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
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelectorfor the supplied classpath resource name. - selectClasspathResource(Set<Resource>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Deprecated.Please use
DiscoverySelectors.selectClasspathResourceByName(Set)instead. - SelectClasspathResource - Annotation Type in org.junit.platform.suite.api
-
@SelectClasspathResourceis 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
ClasspathResourceSelectorfor the supplied classpath resources. - SelectClasspathResources - Annotation Type in org.junit.platform.suite.api
-
@SelectClasspathResourcesis a container for one or more@SelectClasspathResourcedeclarations. - selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ClasspathRootSelectorsfor the supplied classpath roots (directories or JAR files). - SelectDirectories - Annotation Type in org.junit.platform.suite.api
-
@SelectDirectoriesspecifies 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
DirectorySelectorfor the supplied directory. - selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelectorfor the supplied directory path. - selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(File, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file. - selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - selectFile(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelectorfor the supplied file path. - SelectFile - Annotation Type in org.junit.platform.suite.api
-
@SelectFileis 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
-
@SelectFilesis a container for one or more@SelectFiledeclarations. - selectIteration(DiscoverySelector, int...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create an
IterationSelectorfor the supplied parent selector and iteration indices. - selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClassand method name. - selectMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter types. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor the suppliedClass, method name, and parameter type names. - selectMethod(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor 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
MethodSelectorfor 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
MethodSelectorfor 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
MethodSelectorfor the supplied fully qualified method name. - selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelectorfor 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
MethodSelectorfor 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
MethodSelectorfor the supplied class name, method name, and parameter type names. - SelectMethod - Annotation Type in org.junit.platform.suite.api
-
@SelectMethodis 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
-
@SelectMethodsis a container for one or more@SelectMethoddeclarations. - selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ModuleSelectorfor the supplied module name. - selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ModuleSelectorsfor the supplied module names. - SelectModules - Annotation Type in org.junit.platform.suite.api
-
@SelectModulesspecifies 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
NestedClassSelectorfor 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
NestedClassSelectorfor the supplied nestedClassand its enclosing classes. - selectNestedClass(List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelectorfor 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
NestedMethodSelectorfor 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
NestedMethodSelectorfor 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
- selectNestedMethod(List<Class<?>>, Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor the supplied nestedClassand method name. - selectNestedMethod(List<Class<?>>, Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor 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
NestedMethodSelectorfor the suppliedClass, method name, and parameter type names. - selectNestedMethod(List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelectorfor 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
NestedMethodSelectorfor 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
NestedMethodSelectorfor 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.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
DiscoverySelectorand adding it to the test tree. - SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
-
An exact or partial match for resolving a
DiscoverySelectorinto aTestDescriptor. - 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
selectorsto the request. - selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Add all supplied
selectorsto 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
selectorsto the request. - selectors(DiscoverySelector...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Add all supplied
selectorsto 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
PackageSelectorfor the supplied package name. - SelectPackages - Annotation Type in org.junit.platform.suite.api
-
@SelectPackagesspecifies the names of packages to select when running a test suite on the JUnit Platform. - Selects - Annotation Type in org.junit.platform.suite.api
-
@Selectsis a container for one or more@Selectdeclarations. - selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the supplied unique ID. - selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelectorfor the suppliedUniqueId. - selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the supplied URI. - selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelectorfor the suppliedURI. - SelectUris - Annotation Type in org.junit.platform.suite.api
-
@SelectUrisspecifies 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
shortvalues 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
contextshould 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
-
SimpleArgumentConverteris an abstract base class forArgumentConverterimplementations that only need to know the target type and do not need access to theParameterContextto perform the conversion. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
- SimpleArgumentsAggregator - Class in org.junit.jupiter.params.aggregator
-
SimpleArgumentsAggregatoris an abstract base class forArgumentsAggregatorimplementations 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
-
Deprecated.
- 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
Eventscontained in thisEventsobject. - skipped() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the skipped
Executionscontained in thisExecutionsobject. - skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInforepresents 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
TerminationInfoinstance 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
Executionthat was skipped with the providedskipReason. - SKIPPED - Enum constant in enum org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas been skipped. - skippedWithReason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.SKIPPEDand the reason is equal to the suppliedString. - skippedWithReason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.SKIPPEDand the reason matches the suppliedPredicate. - 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
TestSourcefor theDiscoveryIssue. - source(TestSource) - Method in interface org.junit.platform.engine.DiscoveryIssue.Builder
-
Set the
TestSourcefor theDiscoveryIssue. - 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
- started() - Method in class org.junit.platform.testkit.engine.Events
-
Get the started
Eventscontained in thisEventsobject. - started() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the started
Executionscontained in thisExecutionsobject. - 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
TestDescriptorhas 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
Conditionthat matches if and only if aTestExecutionResult's status is equal to the suppliedStatus. - STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.erras part of aReportEntry: "stderr" - STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.outas part of aReportEntry: "stdout" - stream() - Method in class org.junit.platform.testkit.engine.Events
- 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
Extensionsof 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
Stringvalues 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
Eventscontained in thisEventsobject. - succeeded() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the succeeded
Executionscontained in thisExecutionsobject. - 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
TestExecutionResultfor a successful execution of a test or container. - successful() - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Create a
EngineDiscoveryResultfor 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
-
Deprecated.
- Suite - Annotation Type in org.junit.platform.suite.api
-
@Suitemarks a class as a test suite on the JUnit Platform. - SuiteDisplayName - Annotation Type in org.junit.platform.suite.api
-
@SuiteDisplayNameis 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
SuiteLauncherDiscoveryRequestBuilderprovides a light-weight DSL for generating aLauncherDiscoveryRequestspecifically 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
TestExecutionListenerthat 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
Conditionthat matches if and only if aThrowable'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
TagExpressionor 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
PostDiscoveryFiltersbased 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
-
TerminationInfois a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or theTestExecutionResultif the container/test was executed. - test() - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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
Conditionthat matches if and only if anEvent's test descriptor is a test and its unique id contains the suppliedString. - test(String, String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a test, its unique id contains the suppliedString, and its display name equals the suppliedString. - test(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedConditionand 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
TestDescriptoris 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
TestDescriptorstructure. - 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
TestEnginefacilitates 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
Launcherto 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
-
TestExecutionResultencapsulates 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
-
TestDescriptorfor@TestFactorymethods. - 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
-
TestDescriptorfor@Testmethods. - TestMethodTestDescriptor(UniqueId, Class<?>, Method, Supplier<List<Class<?>>>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- TestPlan - Class in org.junit.platform.launcher
-
TestPlandescribes the tree of tests and containers as discovered by aLauncher. - TestPlan(boolean, ConfigurationParameters, OutputDirectoryCreator) - Constructor for class org.junit.platform.launcher.TestPlan
- TestPlan.Visitor - Interface in org.junit.platform.launcher
-
Visitor for
TestIdentifiersin aTestPlan. - 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
TestPlanhas 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
TestPlanhas 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
-
TestDescriptorfor a@TestTemplateinvocation. - TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor@TestTemplatemethods. - 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
Conditionthat matches if and only if aTestExecutionResult'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
- 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
ThrowableCollectorinstances. - 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
- 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
nameof thisArgumentSet. - 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
UniqueIdusing the configuredUniqueIdFormat. - 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
Throwablesinto aTestExecutionResult. - 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
- TypedArgumentConverter<S,
T> - Class in org.junit.jupiter.params.converter -
TypedArgumentConverteris an abstract base class forArgumentConverterimplementations 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
Conditionthat matches if and only if the unique id of anEvent's test descriptor is equal to theUniqueIdparsed from the suppliedString. - uniqueId(Condition<? super UniqueId>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor matches the suppliedCondition. - uniqueId(UniqueId) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor is equal to the suppliedUniqueId. - UniqueId - Class in org.junit.platform.engine
-
UniqueIdencapsulates the creation, parsing, and display of unique IDs forTestDescriptors. - UniqueId.Segment - Class in org.junit.platform.engine
-
A segment of a
UniqueIdcomprises 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
DiscoverySelectorthat selects aUniqueIdso thatTestEnginescan 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
Conditionthat matches if and only if the unique id of anEvent's test descriptor contains the suppliedString. - uniqueIdSubstrings(String...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent'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
Conditionthat matches if and only if the unique id of anEvent's test descriptor contains all of the supplied strings. - UniqueIdTrackingListener - Class in org.junit.platform.launcher.listeners
-
UniqueIdTrackingListeneris aTestExecutionListenerthat tracks the unique IDs of all tests that were executed during the execution of theTestPlanand generates a file containing the unique IDs once execution of theTestPlanhas finished. - UniqueIdTrackingListener() - Constructor for class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- unresolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResultfor 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
TestEnginewas 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
DiscoverySelectorthat selects aURIso thatTestEnginescan 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
TestSourcethat can be represented as aURI. - 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
@Suitesupport provided by thejunit-platform-suite-enginemodule; 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
ArgumentConverterto 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
ArgumentsProviderto be used. - value() - Element in annotation type org.junit.jupiter.params.provider.ArgumentsSources
-
An array of one or more
@ArgumentsSourceannotations. - value() - Element in annotation type org.junit.jupiter.params.provider.CsvFileSources
-
An array of one or more
@CsvFileSourceannotations. - 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
@CsvSourceannotations. - 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
@EnumSourceannotations. - 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
@FieldSourceannotations. - 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
@MethodSourceannotations. - value() - Element in annotation type org.junit.jupiter.params.provider.ValueSources
-
An array of one or more
@ValueSourceannotations. - 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
@ConfigurationParameterdeclarations. - value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParametersResource
-
The classpath location for the desired properties file; never
nullor blank. - value() - Element in annotation type org.junit.platform.suite.api.ConfigurationParametersResources
-
An array of one or more
@ConfigurationParameterResourcedeclarations. - 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
@SelectClasspathResourcedeclarations. - 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
@SelectFiledeclarations. - 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
@SelectMethoddeclarations. - 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
@Selectdeclarations. - 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
- ValueSources - Annotation Type in org.junit.jupiter.params.provider
-
@ValueSourcesis a simple container for one or moreValueSourceannotations. - VERBOSE - Enum constant in enum org.junit.platform.console.options.Details
-
Combines
Details.TREEandDetails.FLATmodes. - 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
Extensionprovides native support for subclasses of theVerifierrule 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 a
TestDescriptor. - 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
FileSourcebased on this instance but with the suppliedFilePosition. - 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form