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.
- abortedWithReason(Condition...) - 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 ofABORTEDas well as a cause that matches all of the supplied conditions. - AbstractTestRuleAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- AbstractTestRuleAdapter(TestRuleAnnotatedMember, Class) - 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
- 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(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) - 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.
- 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
- apply(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
- apply(InvocationInterceptor, InvocationInterceptor.Invocation) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.VoidInterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation, ReflectiveInvocationContext, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation, ReflectiveInvocationContext, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall
- apply(Description) - Method in class org.junit.vintage.engine.support.UniqueIdReader
- applyConfigurationParametersFromSuite(Class) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Apply a suite's annotation-based configuration to this builder.
- applyFilters(Consumer) - 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.
- 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 - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- Argument Conversion - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- 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 - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- Arguments Providers and Sources - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- 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. - ASCII - Enum constant in enum org.junit.platform.console.output.Theme
-
ASCII 7-bit characters form the tree branch.
- assertEventsMatchExactly(Condition...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all events contained in this
Eventsobject exactly match the provided conditions. - assertEventsMatchLoosely(Condition...) - 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...) - 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) - 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.
B
- before() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- before() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
- 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 class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Build the
LauncherDiscoveryRequestthat has been configured via this builder. - byPayload(Class, Predicate) - 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) - 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
- cause(Condition...) - 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.
- 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
- 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(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
- close() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- 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. - 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 - 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) - 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 - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- Composed Annotations - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- Composition - Section in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
- Composition - Section in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Composition - Section in annotation type org.junit.platform.suite.api.AfterSuite
- Composition - Section in annotation type org.junit.platform.suite.api.BeforeSuite
- ConditionEvaluator - Class in org.junit.jupiter.engine.execution
-
ConditionEvaluatorevaluatesExecutionConditionextensions. - ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
- 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) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Add all supplied configuration parameters to the request.
- configurationParameters(Map) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied configuration parameters.
- 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 - Annotation Type in org.junit.platform.suite.api
-
@ConfigurationParametersResourcesis a container for one or more@ConfigurationParametersResourcedeclarations. - configure(UnaryOperator, 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 - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- 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) - 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. - containerEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for containers.
- 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) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- copyIncludingDescendants(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- copyIncludingDescendants(UnaryOperator) - 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. - create(int, T) - Static method in class org.junit.platform.console.command.CommandResult
- 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
- createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createExecutorService(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createIssue(Class, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
- createIssue(Class, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
- createIssue(Class, Method, String) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
- createRegistryFrom(MutableExtensionRegistry, Stream) - 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.
- 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
- 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. - 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_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"
- 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. - 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_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_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_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 - Section in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- Default Display Names - Section in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- Default Display Names - Section in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- 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
- 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) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- determineOwnExclusiveResources(Function) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- DisableParentConfigurationParameters - Annotation Type in org.junit.platform.suite.api
-
Disable parent configuration parameters.
- DISCLAIMER - Section in class org.junit.platform.console.options.ConsoleUtils
- DISCLAIMER - Section in package org.junit.platform.suite.commons
- 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 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. - 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
- 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. - doubles() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
doublevalues to use as sources of arguments; must not be empty. - 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) - 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) - 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
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.
- 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. - EnableRuleMigrationSupport - Annotation Type in org.junit.jupiter.migrationsupport.rules
-
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
- 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
- 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. - 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. - 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, 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. - 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...) - 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. - Example - Section in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- Example - Section in org.junit.jupiter.params.provider.CsvFileSource.useHeadersInDisplayName()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.textBlock()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.useHeadersInDisplayName()
- Example - Section in org.junit.jupiter.params.provider.CsvSource.value()
- Example - Section in org.junit.platform.testkit.engine.Events.assertEventsMatchExactly(Condition...)
- Example - Section in org.junit.platform.testkit.engine.Events.assertEventsMatchLoosely(Condition...)
- Example - Section in org.junit.platform.testkit.engine.Events.assertEventsMatchLooselyInOrder(Condition...)
- Example - Section in org.junit.platform.testkit.engine.Events.assertStatistics(Consumer)
- Examples - Section in annotation type org.junit.jupiter.params.provider.FieldSource
- Examples - Section in annotation type org.junit.jupiter.params.provider.MethodSource
- Examples - Section in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- Examples - Section in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
- Examples - Section in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
- Example Usage - Section in org.junit.platform.testkit.engine.EngineTestKit.engine(String)
- Example Usage - Section in org.junit.platform.testkit.engine.EngineTestKit.engine(TestEngine)
- 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 - 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. - ExcludeEngines - Annotation Type in org.junit.platform.suite.api
-
@ExcludeEnginesspecifies the IDs ofTestEnginesto be excluded when running a test suite on the JUnit Platform. - 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 - 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. - 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(PrintWriter, Optional) - 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.suite.engine.SuiteTestEngine
- execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
- 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(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
- Execution - Class in org.junit.platform.testkit.engine
-
Executionencapsulates metadata for the execution of a singleTestDescriptor. - executionFinished(TestDescriptor, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a finished
Eventfor the suppliedTestDescriptorandTestExecutionResult. - 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
- 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
- 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) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a skipped
Eventfor the suppliedTestDescriptorandreason. - 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
- 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
- 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. instances ofExtension) for a givenNode. - 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.
- 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 - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- Field or Constructor Injection - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- 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) - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor a published file for the suppliedTestDescriptorandFileEntry. - fileEntryPublished(TestDescriptor, FileEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a publishedFileEntry. - 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
- 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. - filter(Predicate) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().filter(predicate). - filter(Predicate) - 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.
- 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
- 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.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.
- findInstance(Class) - 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) - 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
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofFAILED. - finishedWithFailure(Condition...) - 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 ofFAILEDas well as a cause that matches all of the suppliedConditions. - 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. - Formal Parameter List - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- from() - Element in annotation type org.junit.jupiter.params.provider.EnumSource
-
The starting enum constant of the range to be included.
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) - 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) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- get(Object, Class) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- get(String, Function, E) - Method in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- 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
- 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
- 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 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
- 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
- getColorPalettePath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- 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
- getConfigurationParametersResources() - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- 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
- 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
- getDiscoveryIssues() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
-
Returns the issues that were encountered during discovery.
- 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
- 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 class org.junit.platform.testkit.engine.EngineDiscoveryResults
-
Returns the root
TestDescriptorof the engine. - 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
- 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
- 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) - Method in interface org.junit.jupiter.engine.extension.ExtensionContextInternal
-
Returns a list of registered extension at this context of the passed
extensionType. - getExtensions(Class) - 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. - getField() - Method in interface org.junit.jupiter.params.support.FieldContext
-
Returns the field for this context; never
null. - 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
- 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 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 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
- 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 class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- 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
- getMethodName(Description) - Static method in class org.junit.vintage.engine.descriptor.DescriptionUtils
- getModifiableChildren() - Method in class org.junit.vintage.engine.descriptor.VintageEngineDescriptor
- getName() - Method in class org.junit.jupiter.params.provider.Arguments.ArgumentSet
-
Get the name of this
ArgumentSet. - getOrComputeIfAbsent(K, Function) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- getOrComputeIfAbsent(K, Function, Class) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- 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
- 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. - getPayload() - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload, if available.
- getPayload(Class) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the expected type, if available.
- 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) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getRawConfigurationParameter(String, Function) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getRawConfigurationParameter(String, Function) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getRequestLevelStore() - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
- getRequestLevelStore(ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.execution.LauncherStoreFacade
- getRequiredPayload(Class) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the required type.
- 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
- 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
- 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.
- 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.
- getStartInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the start
Instantof thisExecution. - getStderrPath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getStdoutPath() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getStoreAdapter(NamespacedHierarchicalStore, 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
- 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.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.testkit.engine.Event
-
Get the
TestDescriptorassociated with thisEvent. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TestDescriptorfor thisExecution. - 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
- getTheme() - Method in class org.junit.platform.console.options.TestConsoleOutputOptions
- getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
Instantwhen thisEventoccurred. - 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.testkit.engine.Event
-
Get the type of this
Event. - getType() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getValue() - Method in class org.junit.platform.console.command.CommandResult
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
- hasVoidReturnType(Class, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
- hasVoidReturnType(Class, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
- hasVoidReturnType(Class, DiscoveryIssueReporter) - Static method in class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
I
- 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 - 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. - IncludeEngines - Annotation Type in org.junit.platform.suite.api
-
@IncludeEnginesspecifies the IDs ofTestEnginesto be included when running a test suite on the JUnit Platform. - 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 - 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. - Inheritance - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- Inheritance - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.ArgumentsSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.ArgumentsSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.CsvFileSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.CsvFileSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.CsvSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.CsvSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.EmptySource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.EnumSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.EnumSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.FieldSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.FieldSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.MethodSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.MethodSources
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.NullAndEmptySource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.NullSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.ValueSource
- Inheritance - Section in annotation type org.junit.jupiter.params.provider.ValueSources
- Inheritance and Execution Order - Section in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
- Inheritance and Execution Order - Section in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Inheritance and Execution Order - Section in annotation type org.junit.platform.suite.api.AfterSuite
- Inheritance and Execution Order - Section in annotation type org.junit.platform.suite.api.BeforeSuite
- 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) - 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, 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
- 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(Constructor, Object) - Method in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- invoke(Constructor, Optional, ExtensionContextSupplier, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall) - 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 in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
-
Invoke the supplied method with dynamic parameter resolution.
- invoke(InvocationInterceptor.Invocation, ExtensionRegistry, InvocationInterceptorChain.InterceptorCall) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
- 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) - 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
- 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
- isDisableAnsiColors() - Method in class org.junit.platform.console.options.AnsiColorOptionMixin
- 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
- 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
- IsPotentialJUnit4TestClass - Class in org.junit.vintage.engine.discovery
- IsPotentialJUnit4TestClass() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
- 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
- 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
- isValidNestedTestClass(Class) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
- isValidStandaloneTestClass(Class) - Method in class org.junit.jupiter.engine.discovery.predicates.TestClassPredicates
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 - Section in annotation type org.junit.platform.suite.api.SuiteDisplayName
- JUnit 4 Suite Support - Section in annotation type org.junit.platform.suite.api.UseTechnicalNames
- JUnit 4 Suite Support - Section in package org.junit.platform.suite.api
- JUnit 5 Suite Support - Section in annotation type org.junit.platform.suite.api.SuiteDisplayName
- JUnit 5 Suite Support - Section in package org.junit.platform.suite.api
- 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
L
- LauncherStoreFacade - Class in org.junit.jupiter.engine.execution
- LauncherStoreFacade(NamespacedHierarchicalStore) - 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. - Lifecycle Methods - Section in annotation type org.junit.jupiter.params.ParameterizedClass
- 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
- 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
- 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) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().map(mapper). - map(Function) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().map(mapper). - 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. - 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
- message(String) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- message(Predicate) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- Method Arguments - Section in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
- Method Arguments - Section in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
- MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
Base class for
TestDescriptorsbased on Java methods. - Method Signatures - Section in annotation type org.junit.jupiter.params.AfterParameterizedClassInvocation
- Method Signatures - Section in annotation type org.junit.jupiter.params.BeforeParameterizedClassInvocation
- Method Signatures - Section in annotation type org.junit.platform.suite.api.AfterSuite
- Method Signatures - Section in annotation type org.junit.platform.suite.api.BeforeSuite
- 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.
- 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 - 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) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
- NESTED_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor tests based on nested (but not static) Java classes. - NestedClassTestDescriptor(UniqueId, Class, Supplier, 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) - 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. - nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
TestMethodTestDescriptor.nodeFinished(JupiterEngineExecutionContext, TestDescriptor, 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(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(JupiterEngineExecutionContext, TestDescriptor, 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
- 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
- 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.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
- 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. - outputDirectoryProvider(OutputDirectoryProvider) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Deprecated.Please use
EngineTestKit.Builder.outputDirectoryCreator(OutputDirectoryCreator)instead
P
- 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.
- 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.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Set the parent configuration parameters to use for the request.
- Pattern Matching Syntax - Section in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- Pattern Matching Syntax - Section in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_EXCLUDE_PROPERTY_NAME
- Pattern Matching Syntax - Section in org.junit.jupiter.engine.Constants.EXTENSIONS_AUTODETECTION_INCLUDE_PROPERTY_NAME
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- 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
- 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 class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
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
- reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- reason(Predicate) - Static method in class org.junit.platform.testkit.engine.EventConditions
- registerExtension(Class) - 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) - 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
- 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
- registerUninitializedExtension(Class, Field, Function) - 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) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- remove(Object, Class) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- removeFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- reportAndClear(List, DiscoveryIssueReporter) - Static method in interface org.junit.jupiter.engine.descriptor.Validatable
-
Report and clear the given list of
DiscoveryIssues using the suppliedDiscoveryIssueReporter. - reportEntry(Map) - Static method in class org.junit.platform.testkit.engine.EventConditions
- 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) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor a reporting entry published for the suppliedTestDescriptorandReportEntry. - 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
- request() - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Create a new
SuiteLauncherDiscoveryRequestBuilder. - resolveParameters(Executable, Optional, Optional, 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, Optional, ExtensionContextSupplier, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- resolveParameters(Method, Optional, 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
- 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) - Static method in class org.junit.platform.testkit.engine.EventConditions
- root() - Method in enum org.junit.platform.console.output.Theme
- rootCause(Condition...) - 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
- 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. - SelectClasses - Annotation Type in org.junit.platform.suite.api
-
@SelectClassesspecifies the classes to select when running a test suite on the JUnit Platform. - 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. - SelectClasspathResources - Annotation Type in org.junit.platform.suite.api
-
@SelectClasspathResourcesis a container for one or more@SelectClasspathResourcedeclarations. - SelectDirectories - Annotation Type in org.junit.platform.suite.api
-
@SelectDirectoriesspecifies the directories to select when running a test suite on the JUnit Platform. - 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. - 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. - SelectModules - Annotation Type in org.junit.platform.suite.api
-
@SelectModulesspecifies the modules to select when running a test suite on the JUnit Platform. - selectors(List) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
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.
- 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. - 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 - Section in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- Semantics for Source - Section in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- setAdditionalClasspathEntries(List) - 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) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setConfigurationParameters(Map) - Method in class org.junit.platform.console.options.TestDiscoveryOptionsMixin.RuntimeConfigurationOptions
-
Adds the specified key-value pair (or pairs) to the configuration parameters.
- setConfigurationParameters2(Map) - Method in class org.junit.platform.console.options.TestDiscoveryOptionsMixin.RuntimeConfigurationOptions
- setConfigurationParametersResources(List) - 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) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedEngines(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedMethodNamePatterns(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedPackages(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExcludedTagExpressions(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setExecutorService(ExecutorService) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- setIncludedClassNamePatterns(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedEngines(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedMethodNamePatterns(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedPackages(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setIncludedTagExpressions(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setScanClasspath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setScanModulepath(boolean) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasses(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasspathEntries(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedClasspathResources(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedDirectories(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedFiles(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedIterations(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedMethods(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedModules(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedPackages(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedUniqueId(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectedUris(List) - Method in class org.junit.platform.console.options.TestDiscoveryOptions
- setSelectorIdentifiers(List) - 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
- shorts() - Element in annotation type org.junit.jupiter.params.provider.ValueSource
-
The
shortvalues to use as sources of arguments; must not be empty. - 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
- 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
- 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) - 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. - STANDALONE_CLASS_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- 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. - 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) - 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) - 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. - 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
- suite(Class) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Deprecated.as of JUnit Platform 1.11 in favor of
SuiteLauncherDiscoveryRequestBuilder.applyConfigurationParametersFromSuite(Class)andSuiteLauncherDiscoveryRequestBuilder.applySelectorsAndFiltersFromSuite(Class) - 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.
- Supported Parameter Types - Section in annotation type org.junit.jupiter.params.provider.EmptySource
- Supported placeholders - Section in org.junit.jupiter.params.ParameterizedClass.name()
- Supported placeholders - Section in org.junit.jupiter.params.ParameterizedTest.name()
- Supported Values - Section in org.junit.jupiter.params.converter.DefaultArgumentConverter.DEFAULT_LOCALE_CONVERSION_FORMAT_PROPERTY_NAME
- suppressed(int, Condition...) - 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 - Section in annotation type org.junit.platform.suite.api.ExcludeTags
- Syntax Rules for Tags - Section in annotation type org.junit.platform.suite.api.IncludeTags
T
- Tag Expressions - Section in annotation type org.junit.platform.suite.api.ExcludeTags
- Tag Expressions - Section in annotation type org.junit.platform.suite.api.IncludeTags
- 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) - 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
- 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
- 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
- testEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for tests.
- Test Execution Order - Section in annotation type org.junit.jupiter.params.ParameterizedTest
- TestExecutionResultConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
TestExecutionResult. - TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptorfor@TestFactorymethods. - TestFactoryTestDescriptor(UniqueId, Class, Method, Supplier, 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
- 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, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- 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
- 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
- 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
- TestSourceProvider - Class in org.junit.vintage.engine.descriptor
- TestSourceProvider() - Constructor for class org.junit.vintage.engine.descriptor.TestSourceProvider
- 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, 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...) - 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. - 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
- toExecutionMode(ExecutionMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- 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
- 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.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
- 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, Class) - 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) - 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. - UniqueIdReader - Class in org.junit.vintage.engine.support
- UniqueIdReader() - Constructor for class org.junit.vintage.engine.support.UniqueIdReader
- 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) - 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. - UNSET_INDEX - Static variable in annotation type org.junit.jupiter.params.Parameter
-
Constant that indicates that the index of the parameter is unset.
- 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.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.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
W
- withExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- withExtensionRegistry(MutableExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- withoutIndexFiltering() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- 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) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
Returns shallow copy (without children) of this descriptor with the supplied unique ID.
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- withUniqueId(UnaryOperator) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ParameterizedInvocationConstants.ARGUMENT_SET_NAME_OR_ARGUMENTS_WITH_NAMES_PLACEHOLDERinstead.