Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Static method in class org.junit.jupiter.api.Assumptions
-
Abort the test without a message.
- abort(String) - Static method in class org.junit.jupiter.api.Assumptions
-
Abort the test with the given
message
. - abort(Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Abort the test with the supplied message.
- ABORT_ON_FAILURE - Enum constant in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
- aborted() - Method in class org.junit.platform.testkit.engine.Events
-
Get the aborted
Events
contained in thisEvents
object. - aborted() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the aborted
Executions
contained in thisExecutions
object. - aborted(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected aborted events.
- aborted(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResult
for an aborted execution of a test or container with the suppliedthrowable
. - ABORTED - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was aborted (started but not finished).
- abortedExecutionPredicate - Static variable in class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- abortedExecutionPredicate - Variable in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
- abortedWithReason(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
- abortOnFailure() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
-
Create a
LauncherDiscoveryListener
that aborts test discovery on failures. - AbortOnFailureLauncherDiscoveryListener - Class in org.junit.platform.launcher.listeners.discovery
- AbortOnFailureLauncherDiscoveryListener() - Constructor for class org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- AbstractAnnotatedDescriptorWrapper<E> - Class in org.junit.jupiter.engine.discovery
-
Abstract base class for wrappers for test descriptors based on annotated elements.
- AbstractAnnotatedDescriptorWrapper(TestDescriptor, E) - Constructor for class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- AbstractClassNameFilter - Class in org.junit.platform.engine.discovery
-
Abstract
ClassNameFilter
that servers as a superclass for filters including or excluding fully qualified class names based on pattern-matching. - AbstractClassNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.AbstractClassNameFilter
- AbstractExtensionContext<T> - Class in org.junit.jupiter.engine.descriptor
- AbstractExtensionContext(ExtensionContext, EngineExecutionListener, T, JupiterConfiguration, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- AbstractOrderingVisitor<PARENT,
CHILD, - Class in org.junit.jupiter.engine.discoveryWRAPPER> -
Abstract base class for visitors that order children nodes.
- AbstractOrderingVisitor() - Constructor for class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor
- AbstractOrderingVisitor.DescriptorWrapperOrderer - Class in org.junit.jupiter.engine.discovery
- AbstractOrderingVisitor.MessageGenerator - Interface in org.junit.jupiter.engine.discovery
- AbstractOsBasedExecutionCondition<A> - Class in org.junit.jupiter.api.condition
-
Base class for OS-based
ExecutionCondition
implementations. - AbstractOsBasedExecutionCondition(Class<A>) - Constructor for class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- AbstractRepeatableAnnotationCondition<A> - Class in org.junit.jupiter.api.condition
-
Abstract base class for
ExecutionCondition
implementations that support repeatable annotations. - AbstractRepeatableAnnotationCondition(Class<A>) - Constructor for class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- AbstractTestDescriptor - Class in org.junit.platform.engine.support.descriptor
-
Abstract base implementation of
TestDescriptor
that may be used by customTestEngines
. - AbstractTestDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptor
with the suppliedUniqueId
and display name. - AbstractTestDescriptor(UniqueId, String, TestSource) - Constructor for class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Create a new
AbstractTestDescriptor
with the suppliedUniqueId
, display name, and source. - AbstractTestRuleAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- AbstractTestRuleAdapter(TestRuleAnnotatedMember, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
- AbstractTestRuleAnnotatedMember - Class in org.junit.jupiter.migrationsupport.rules.member
- AbstractTestRuleAnnotatedMember(TestRule) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.AbstractTestRuleAnnotatedMember
- accept(A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
- accept(A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- accept(TestDescriptor.Visitor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Accept a
TestDescriptor.Visitor
to the subtree starting with this descriptor. - accept(TestPlan.Visitor) - Method in class org.junit.platform.launcher.TestPlan
-
Accept the supplied
TestPlan.Visitor
for a depth-first traversal of the test plan. - accept(TestPlan.Visitor, TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
- accept(T) - Method in interface org.junit.jupiter.api.function.ThrowingConsumer
-
Consume the supplied argument, potentially throwing an exception.
- acceptInAllTestEngines(Map<TestEngine, TestDescriptor>, TestDescriptor.Visitor) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- acceptsExtensionContextOrNoArguments(Method) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- accessStore(Supplier<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- acquire() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock
- acquire() - Method in class org.junit.platform.engine.support.hierarchical.NopLock
- acquire() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Acquire this resource lock, potentially blocking.
- acquire() - Method in class org.junit.platform.engine.support.hierarchical.SingleLock
- acquireAllLocks() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock
- acquired - Variable in class org.junit.platform.engine.support.hierarchical.CompositeLock.CompositeLockManagedBlocker
- acquired - Variable in class org.junit.platform.engine.support.hierarchical.SingleLock.SingleLockManagedBlocker
- actual - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- actual(Object) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the actual value of the assertion.
- actualLines - Variable in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- adapterGenerator - Variable in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- adaptFilter(Filter<V>, Function<T, V>) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if the adapted
Filter
includes the value converted using the suppliedFunction
. - add(String, String) - Method in class org.junit.platform.engine.reporting.ReportEntry
- add(Throwable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Add the supplied
Throwable
to thisThrowableCollector
. - add(TestIdentifier) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Deprecated.Calling this method is no longer supported and will throw an exception.
- add(VintageTestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- add(T) - Method in class org.junit.platform.launcher.core.ListenerRegistry
- addAll(Collection<? extends T>) - Method in class org.junit.platform.launcher.core.ListenerRegistry
- addAll(T...) - Method in class org.junit.platform.launcher.core.ListenerRegistry
- addCategoriesAsTags(Set<TestTag>) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- addChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- addChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Add a child to this descriptor.
- addChildrenRecursively(VintageTestDescriptor) - Method in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- addClassContainerSelectorResolver(Predicate<Class<?>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a predefined resolver that resolves
ClasspathRootSelectors
,ModuleSelectors
, andPackageSelectors
intoClassSelectors
by scanning for classes that satisfy the supplied predicate in the respective class containers to this builder. - addDynamicDescription(TestIdentifier, UniqueId) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- addFailure(TestIdentifier, Throwable) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- addFilter(TestDescriptor, Function<RunnerTestDescriptor, Filter>) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- addInternal(TestIdentifier) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- addInternal(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
- AdditionalDiscoverySelectors - Class in org.junit.platform.suite.commons
- AdditionalDiscoverySelectors() - Constructor for class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- additionalLauncherDiscoveryListeners - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- additionalLauncherSessionListeners - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- additionalPostDiscoveryFilters - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- additionalTestEngines - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- additionalTestExecutionListeners - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- addLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied launcher discovery listeners to the configuration.
- addLauncherSessionListeners(LauncherSessionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied launcher session listeners to the configuration.
- addListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Add the supplied
LogRecordListener
to the set of registered listeners. - addPostDiscoveryFilters(PostDiscoveryFilter...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied
filters
to the configuration. - addSelectorResolver(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, SelectorResolver>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context sensitive
SelectorResolver
to this builder. - addSelectorResolver(SelectorResolver) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context insensitive
SelectorResolver
to this builder. - addTagsFromParent(Set<TestTag>) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- addTestDescriptorVisitor(Function<EngineDiscoveryRequestResolver.InitializationContext<T>, TestDescriptor.Visitor>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Add a context sensitive
TestDescriptor.Visitor
to this builder. - addTestEngines(TestEngine...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied test engines to the configuration.
- addTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Add all of the supplied test execution listeners to the configuration.
- addToParent(Function<TestDescriptor, Optional<T>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- addToParent(Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Add a
TestDescriptor
to an unspecified parent, usually the engine descriptor, by applying the suppliedFunction
to the new parent. - addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- addToParent(Supplier<DiscoverySelector>, Function<TestDescriptor, Optional<T>>) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Add a
TestDescriptor
to a parent, specified by theDiscoverySelector
returned by the suppliedSupplier
, by applying the suppliedFunction
to the new parent. - advance() - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
- after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- after() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
- after() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
- after(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the after behavior of this node.
- after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
-
Avoid an
OutOfMemoryError
by releasing the reference to this descriptor'sDynamicTest
which holds a reference to the user-suppliedExecutable
which may potentially consume large amounts of memory on the heap. - after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- afterAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterAllCallback
-
Callback that is invoked once after all tests in the current container.
- AfterAll - Annotation Interface in org.junit.jupiter.api
-
@AfterAll
is used to signal that the annotated method should be executed after all tests in the current test class. - AfterAllCallback - Interface in org.junit.jupiter.api.extension
-
AfterAllCallback
defines the API forExtensions
that wish to provide additional behavior to test containers once after all tests in the container have been executed. - afterAllMethods - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- afterEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterEachCallback
-
Callback that is invoked after an individual test and any user-defined teardown methods for that test have been executed.
- 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.TestRuleSupport
- afterEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
- AfterEach - Annotation Interface in org.junit.jupiter.api
-
@AfterEach
is used to signal that the annotated method should be executed after each@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, and@TestTemplate
method in the current test class. - AfterEachCallback - Interface in org.junit.jupiter.api.extension
-
AfterEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests after an individual test and any user-defined teardown methods (e.g.,@AfterEach
methods) for that test have been executed. - AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
-
Functional interface for registering an
@AfterEach
method as a pseudo-extension. - afterTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
-
Callback that is invoked immediately after an individual test has been executed but before any user-defined teardown methods have been executed for that test.
- afterTestExecution(ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- AfterTestExecutionCallback - Interface in org.junit.jupiter.api.extension
-
AfterTestExecutionCallback
defines the API forExtensions
that wish to provide additional behavior to tests immediately after an individual test has been executed but before any user-defined teardown methods (e.g.,@AfterEach
methods) have been executed for that test. - aggregateArguments(ArgumentsAccessor, ParameterContext) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAggregator
-
Aggregate the arguments contained in the supplied
accessor
into a single object. - AggregateWith - Annotation Interface in org.junit.jupiter.params.aggregator
-
@AggregateWith
is an annotation that allows one to specify anArgumentsAggregator
. - Aggregator(ArgumentsAggregator) - Constructor for class org.junit.jupiter.params.ParameterizedTestMethodContext.Aggregator
- AGGREGATOR - Enum constant in enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
- AIX - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
IBM AIX operating system.
- allEvents - Variable in class org.junit.platform.testkit.engine.EngineExecutionResults
- allEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get all recorded events.
- allIdentifiers - Variable in class org.junit.platform.launcher.TestPlan
- ALLOW_ALL - Enum constant in enum class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.Mode
- allowAll() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- allowedIndices - Variable in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- allowedUniqueIds - Variable in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- allowIndex(Set<Integer>) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- allowUniqueIdPrefix(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- Alphanumeric() - Constructor for class org.junit.jupiter.api.MethodOrderer.Alphanumeric
-
Deprecated.
- ALWAYS - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Always clean up a temporary directory after the test has completed.
- ALWAYS_INCLUDED_FILTER - Static variable in class org.junit.platform.engine.CompositeFilter
- ALWAYS_INCLUDED_RESULT - Static variable in class org.junit.platform.engine.CompositeFilter
- alwaysExecuteSkipResult - Static variable in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- alwaysIncluded() - Static method in class org.junit.platform.engine.CompositeFilter
- and(TagExpression, TagExpression) - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- And - Static variable in class org.junit.platform.launcher.tagexpression.Operators
- andThen(Function<V, Try<U>>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, apply the supplied function to its value and return the resultingTry
; if thisTry
is a failure, do nothing. - andThen(Function<V, Try<U>>) - Method in class org.junit.platform.commons.function.Try.Failure
- andThen(Function<V, Try<U>>) - Method in class org.junit.platform.commons.function.Try.Success
- andThenTry(Try.Transformer<V, U>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, apply the supplied transformer to its value and return a new successful or failedTry
depending on the transformer's outcome; if thisTry
is a failure, do nothing. - andThenTry(Try.Transformer<V, U>) - Method in class org.junit.platform.commons.function.Try.Failure
- andThenTry(Try.Transformer<V, U>) - Method in class org.junit.platform.commons.function.Try.Success
- annotatedBuilder - Variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- annotatedBuilder() - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- annotatedElement - Variable in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- AnnotatedElementContext - Interface in org.junit.jupiter.api.extension
-
AnnotatedElementContext
encapsulates the context in which anAnnotatedElement
is declared. - annotation - Variable in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
- annotation - Variable in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- AnnotationBasedArgumentConverter<A> - Class in org.junit.jupiter.params.converter
-
AnnotationBasedArgumentConverter
is an abstract base class forArgumentConverter
implementations that also need to consume an annotation in order to perform the conversion. - AnnotationBasedArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
- AnnotationBasedArgumentsProvider<A> - Class in org.junit.jupiter.params.provider
-
AnnotationBasedArgumentsProvider
is an abstract base class forArgumentsProvider
implementations that also need to consume an annotation in order to provide the arguments. - AnnotationBasedArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- AnnotationConsumer<A> - Interface in org.junit.jupiter.params.support
-
AnnotationConsumer
is a functional interface for consuming annotations. - AnnotationConsumerInitializer - Class in org.junit.jupiter.params.support
-
AnnotationConsumerInitializer
is an internal helper class for initializingAnnotationConsumers
. - AnnotationConsumerInitializer() - Constructor for class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- AnnotationConsumerInitializer.AnnotationConsumingMethodSignature - Class in org.junit.jupiter.params.support
- AnnotationConsumingMethodSignature(String, int, int) - Constructor for class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- annotationConsumingMethodSignatures - Static variable in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- annotationParameterIndex - Variable in class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- AnnotationSupport - Class in org.junit.platform.commons.support
-
AnnotationSupport
provides static utility methods for common tasks regarding annotations — for example, checking if a class, method, or field is annotated with a particular annotation; finding annotations on a given class, method, or field; finding fields or methods annotated with a particular annotation, etc. - AnnotationSupport() - Constructor for class org.junit.platform.commons.support.AnnotationSupport
- annotationType - Variable in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- annotationType - Variable in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- annotationType - Variable in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- annotationType - Variable in class org.junit.jupiter.api.condition.MethodBasedCondition
- annotationType - Variable in class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
- AnnotationUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with annotations.
- AnnotationUtils() - Constructor for class org.junit.platform.commons.util.AnnotationUtils
- any() - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- append(Object...) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
Create a new namespace by appending the supplied
parts
to the existing sequence of parts in this namespace. - append(String, Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
- append(String, String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueId
by appending a newUniqueId.Segment
, based on the suppliedsegmentType
andvalue
, to the end of thisUniqueId
. - append(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueId
- appendEngine(String) - Method in class org.junit.platform.engine.UniqueId
-
Construct a new
UniqueId
by appending a newUniqueId.Segment
, based on the suppliedengineId
, to the end of thisUniqueId
. - apply(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
- apply(String) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- apply(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- apply(String) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
- apply(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- apply(InvocationInterceptor, InvocationInterceptor.Invocation<Void>) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.VoidInterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation<T>) - Method in interface org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptorCall
- apply(InvocationInterceptor, InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<E>, ExtensionContext) - Method in interface org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.ReflectiveInterceptorCall
- apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
- apply(Description) - Method in class org.junit.vintage.engine.support.UniqueIdReader
- apply(S) - Method in interface org.junit.platform.commons.function.Try.Transformer
-
Apply this transformer to the supplied value.
- apply(T) - Method in class org.junit.platform.engine.CompositeFilter
- apply(T) - Method in interface org.junit.platform.engine.Filter
-
Apply this filter to the supplied object.
- applyFilters(Consumer<RunnerTestDescriptor>) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- applyFiltersAndCreateDescendants(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- applyFilterToDescriptions(Filter) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- applyPostDiscoveryFilters(Map<TestEngine, TestDescriptor>, List<PostDiscoveryFilter>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- architectures() - Element in annotation interface org.junit.jupiter.api.condition.DisabledOnOs
-
Architectures on which the annotated class or method should be disabled.
- architectures() - Element in annotation interface org.junit.jupiter.api.condition.EnabledOnOs
-
Architectures on which the annotated class or method should be enabled.
- areAllFinishedOrSkipped(Set<? extends TestDescriptor>) - Method in class org.junit.vintage.engine.execution.TestRun
- ARGUMENT_MAX_LENGTH_KEY - Static variable in class org.junit.jupiter.params.ParameterizedTestExtension
- ArgumentAccessException - Exception Class in org.junit.jupiter.params.aggregator
-
ArgumentAccessException
is an exception thrown by anArgumentsAccessor
if an error occurs while accessing or converting an argument. - ArgumentAccessException(String) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
- ArgumentAccessException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
- Argument Conversion - Search tag in annotation interface org.junit.jupiter.params.ParameterizedTest
- Section
- ArgumentConversionException - Exception Class in org.junit.jupiter.params.converter
-
ArgumentConversionException
is an exception that can occur when an object is converted to another object by an implementation of 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 - Variable in class org.junit.jupiter.params.ParameterizedTestMethodContext.Converter
- ArgumentConverter - Interface in org.junit.jupiter.params.converter
-
ArgumentConverter
is an abstraction that allows an input object to be converted to an instance of a different class. - argumentMaxLength - Variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- Argument Providers and Sources - Search tag in annotation interface org.junit.jupiter.params.ParameterizedTest
- Section
- arguments - Variable in class org.junit.jupiter.engine.execution.ConstructorInvocation
- arguments - Variable in class org.junit.jupiter.engine.execution.MethodInvocation
- arguments - Variable in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- arguments - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- arguments - Variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- arguments(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Arguments
based on the suppliedarguments
. - arguments(ArgumentsProvider, ExtensionContext) - Static method in class org.junit.jupiter.params.ParameterizedTestExtension
- Arguments - Interface in org.junit.jupiter.params.provider
-
Arguments
is an abstraction that provides access to an array of objects to be used for invoking a@ParameterizedTest
method. - ARGUMENTS_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the complete, comma-separated arguments list of the current invocation of a
@ParameterizedTest
method:{arguments}
- ARGUMENTS_WITH_NAMES_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the complete, comma-separated named arguments list of the current invocation of a
@ParameterizedTest
method:{argumentsWithNames}
- ArgumentsAccessor - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAccessor
defines the public API for accessing arguments provided by anArgumentsProvider
for a single invocation of a@ParameterizedTest
method. - ArgumentsAggregationException - Exception Class in org.junit.jupiter.params.aggregator
-
ArgumentsAggregationException
is an exception thrown by anArgumentsAggregator
when an error occurs while aggregating arguments. - ArgumentsAggregationException(String) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- ArgumentsAggregationException(String, Throwable) - Constructor for exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- argumentsAggregator - Variable in class org.junit.jupiter.params.ParameterizedTestMethodContext.Aggregator
- ArgumentsAggregator - Interface in org.junit.jupiter.params.aggregator
-
ArgumentsAggregator
is an abstraction for the aggregation of arguments provided by anArgumentsProvider
for a single invocation of a@ParameterizedTest
method into a single object. - argumentsPattern(Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- ArgumentsProvider - Interface in org.junit.jupiter.params.provider
-
An
ArgumentsProvider
is responsible for providing a stream of arguments to be passed to a@ParameterizedTest
method. - ArgumentsSource - Annotation Interface in org.junit.jupiter.params.provider
-
@ArgumentsSource
is a repeatable annotation that is used to register argument providers for the annotated test method. - ArgumentsSources - Annotation Interface in org.junit.jupiter.params.provider
-
@ArgumentsSources
is a simple container for one or moreArgumentsSource
annotations. - argumentsWithNamesPattern(Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- arity - Variable in class org.junit.platform.launcher.tagexpression.Operator
- around(C, Node.Invocation<C>) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Wraps around the invocation of
Node.before(EngineExecutionContext)
,Node.execute(EngineExecutionContext, DynamicTestExecutor)
, andNode.after(EngineExecutionContext)
. - asLabel(Executable) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- asNode(TestDescriptor) - Static method in class org.junit.platform.engine.support.hierarchical.NodeUtils
- assertAll() - Method in class org.junit.platform.testkit.engine.EventStatistics
- assertAll(String, Collection<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(String, Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(String, Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - assertAll(String, Stream<Assertions.Executable>) - Static method in class org.junit.platform.testkit.engine.Assertions
- assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(String, Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - assertAll(Collection<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(Collection<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(Stream<Executable>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - assertAll(Executable...) - Static method in class org.junit.jupiter.api.AssertAll
- assertAll(Executable...) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that all supplied
executables
do not throw exceptions. - AssertAll - Class in org.junit.jupiter.api
-
AssertAll
is a collection of utility methods that support asserting multiple conditions in tests at once. - AssertAll() - Constructor for class org.junit.jupiter.api.AssertAll
- assertArrayElementsEqual(Object, Object, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(boolean[], boolean[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
boolean arrays are equal. - assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(boolean[], boolean[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
boolean arrays are equal. - assertArrayEquals(boolean[], boolean[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(boolean[], boolean[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
boolean arrays are equal. - assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(byte[], byte[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
byte arrays are equal. - assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(byte[], byte[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
byte arrays are equal. - assertArrayEquals(byte[], byte[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(byte[], byte[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
byte arrays are equal. - assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(char[], char[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
char arrays are equal. - assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(char[], char[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
char arrays are equal. - assertArrayEquals(char[], char[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(char[], char[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
char arrays are equal. - assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal. - assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal within the given non-negativedelta
. - assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal within the given non-negativedelta
. - assertArrayEquals(double[], double[], double, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal within the given non-negativedelta
. - assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal. - assertArrayEquals(double[], double[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(double[], double[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
double arrays are equal. - assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal. - assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal within the given non-negativedelta
. - assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal within the given non-negativedelta
. - assertArrayEquals(float[], float[], float, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal within the given non-negativedelta
. - assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal. - assertArrayEquals(float[], float[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(float[], float[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
float arrays are equal. - assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(int[], int[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
int arrays are equal. - assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(int[], int[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
int arrays are equal. - assertArrayEquals(int[], int[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(int[], int[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
int arrays are equal. - assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(long[], long[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
long arrays are equal. - assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(long[], long[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
long arrays are equal. - assertArrayEquals(long[], long[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(long[], long[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
long arrays are equal. - assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(short[], short[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
short arrays are equal. - assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(short[], short[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
short arrays are equal. - assertArrayEquals(short[], short[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(short[], short[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
short arrays are equal. - assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(Object[], Object[]) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
object arrays are deeply equal. - assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(Object[], Object[], String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
object arrays are deeply equal. - assertArrayEquals(Object[], Object[], Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArrayEquals(Object[], Object[], Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
object arrays are deeply equal. - AssertArrayEquals - Class in org.junit.jupiter.api
-
AssertArrayEquals
is a collection of utility methods that support asserting array equality in tests. - AssertArrayEquals() - Constructor for class org.junit.jupiter.api.AssertArrayEquals
- assertArraysHaveSameLength(int, int, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertArraysNotNull(Object, Object, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- assertDoesNotThrow(Executable) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(Executable, Object) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(Executable, String) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, Object) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
does not throw any kind of exception. - assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
does not throw any kind of exception. - AssertDoesNotThrow - Class in org.junit.jupiter.api
-
AssertDoesNotThrow
is a collection of utility methods that support explicitly asserting that a given code block does not throw an exception. - AssertDoesNotThrow() - Constructor for class org.junit.jupiter.api.AssertDoesNotThrow
- assertEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Assert that this
ThrowableCollector
is empty (i.e., has not collected anyThrowables
). - assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, char) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, double) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, float) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal within the given non-negativedelta
. - assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, int) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, long) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, long, String) - Static method in class org.junit.platform.testkit.engine.Assertions
- assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, short) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertEquals
- assertEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - assertEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are equal. - AssertEquals - Class in org.junit.jupiter.api
-
AssertEquals
is a collection of utility methods that support asserting equality on objects and primitives in tests. - AssertEquals() - Constructor for class org.junit.jupiter.api.AssertEquals
- assertEventsMatchExactly(List<Event>, Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.Events
- assertEventsMatchExactly(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all events contained in this
Events
object exactly match the provided conditions. - assertEventsMatchLoosely(List<Event>, Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.Events
- assertEventsMatchLoosely(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all provided conditions are matched by an event contained in this
Events
object, regardless of order. - assertEventsMatchLooselyInOrder(List<Event>, Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.Events
- assertEventsMatchLooselyInOrder(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all provided conditions are matched by an event contained in this
Events
object. - assertFalse(boolean) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
isfalse
. - assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
isfalse
. - assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
isfalse
. - assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
isfalse
. - assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
isfalse
. - assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertFalse
- assertFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
isfalse
. - AssertFalse - Class in org.junit.jupiter.api
-
AssertFalse
is a collection of utility methods that support assertingfalse
in tests. - AssertFalse() - Constructor for class org.junit.jupiter.api.AssertFalse
- assertInstanceOf(Class<T>, Object) - Static method in class org.junit.jupiter.api.AssertInstanceOf
- assertInstanceOf(Class<T>, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
actualValue
is an instance of theexpectedType
. - assertInstanceOf(Class<T>, Object, Object) - Static method in class org.junit.jupiter.api.AssertInstanceOf
- assertInstanceOf(Class<T>, Object, String) - Static method in class org.junit.jupiter.api.AssertInstanceOf
- assertInstanceOf(Class<T>, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
actualValue
is an instance of theexpectedType
. - assertInstanceOf(Class<T>, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertInstanceOf
- assertInstanceOf(Class<T>, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
actualValue
is an instance of theexpectedType
. - AssertInstanceOf - Class in org.junit.jupiter.api
-
AssertInstanceOf
is a collection of utility methods that support asserting that an object is of an expected type — in other words, if it can be assigned to the expected type. - AssertInstanceOf() - Constructor for class org.junit.jupiter.api.AssertInstanceOf
- assertionFailure() - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Create a new
AssertionFailureBuilder
. - AssertionFailureBuilder - Class in org.junit.jupiter.api
-
Builder for
AssertionFailedErrors
. - AssertionFailureBuilder() - Constructor for class org.junit.jupiter.api.AssertionFailureBuilder
- Assertions - Class in org.junit.jupiter.api
-
Assertions
is a collection of utility methods that support asserting conditions in tests. - Assertions - Class in org.junit.platform.testkit.engine
-
Assertions
is a collection of selected assertion utility methods from JUnit Jupiter for use within the JUnit Platform Test Kit. - Assertions() - Constructor for class org.junit.jupiter.api.Assertions
-
Protected constructor allowing subclassing but not direct instantiation.
- Assertions() - Constructor for class org.junit.platform.testkit.engine.Assertions
- Assertions.Executable - Interface in org.junit.platform.testkit.engine
- Assertions.TimeoutFailureFactory<T> - Interface in org.junit.jupiter.api
-
Factory for timeout failures.
- AssertionUtils - Class in org.junit.jupiter.api
-
AssertionUtils
is a collection of utility methods that are common to all assertion implementations. - AssertionUtils() - Constructor for class org.junit.jupiter.api.AssertionUtils
- assertIterableElementsEqual(Object, Object, Deque<Integer>, Object, Map<AssertIterableEquals.Pair, AssertIterableEquals.Status>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
iterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
iterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIterableEquals(Iterable<?>, Iterable<?>, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIterableEquals(Iterable<?>, Iterable<?>, Deque<Integer>, Object, Map<AssertIterableEquals.Pair, AssertIterableEquals.Status>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
iterables are deeply equal. - assertIterableEquals(Iterable<?>, Iterable<?>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- AssertIterableEquals - Class in org.junit.jupiter.api
-
AssertIterable
is a collection of utility methods that support asserting Iterable equality in tests. - AssertIterableEquals() - Constructor for class org.junit.jupiter.api.AssertIterableEquals
- AssertIterableEquals.Pair - Class in org.junit.jupiter.api
- AssertIterableEquals.Status - Enum Class in org.junit.jupiter.api
- assertIterablesNotNull(Object, Object, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertIteratorsAreEmpty(Iterator<?>, Iterator<?>, int, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- assertLinesMatch() - Method in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.Assertions
- assertLinesMatch(List<String>, List<String>) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(List<String>, List<String>, Object) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(List<String>, List<String>, String) - Static method in class org.junit.jupiter.api.Assertions
- assertLinesMatch(List<String>, List<String>, String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(List<String>, List<String>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
- assertLinesMatch(Stream<String>, Stream<String>) - Static method in class org.junit.jupiter.api.Assertions
- assertLinesMatch(Stream<String>, Stream<String>) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(Stream<String>, Stream<String>, Object) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(Stream<String>, Stream<String>, String) - Static method in class org.junit.jupiter.api.Assertions
- assertLinesMatch(Stream<String>, Stream<String>, String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- assertLinesMatch(Stream<String>, Stream<String>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
- AssertLinesMatch - Class in org.junit.jupiter.api
- AssertLinesMatch() - Constructor for class org.junit.jupiter.api.AssertLinesMatch
- AssertLinesMatch.LinesMatcher - Class in org.junit.jupiter.api
- assertLinesMatchWithFastForward() - Method in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- assertNonFinalField(Field) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- assertNonStatic(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- assertNotEquals(byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(byte, byte) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(byte, byte, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, char) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(char, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, char, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, char, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(char, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(char, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, double) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(double, double, double) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(double, double, double, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(double, double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, double, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, float) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(float, float, float) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(float, float, float, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal within the givendelta
. - assertNotEquals(float, float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, float, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, int) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(int, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, int, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, int, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(int, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(int, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, long) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, long, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, short) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, short, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, Byte) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, Byte, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Byte, Byte, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, char) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, char, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, char, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, Character) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, Character, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Character, Character, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, Double) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, Double, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Double, Double, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, Float) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, Float, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Float, Float, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, int) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, int, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, int, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, Integer) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, Integer, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Integer, Integer, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, Long) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, Long, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Long, Long, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotEquals
- assertNotEquals(Short, short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Short, short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Short, short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Short, Short) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Short, Short, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - assertNotEquals(Short, Short, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
expected
andactual
are not equal. - AssertNotEquals - Class in org.junit.jupiter.api
-
AssertNotEquals
is a collection of utility methods that support asserting inequality in objects and primitive values in tests. - AssertNotEquals() - Constructor for class org.junit.jupiter.api.AssertNotEquals
- assertNotNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
is notnull
. - assertNotNull(Object) - Static method in class org.junit.jupiter.api.AssertNotNull
- assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
is notnull
. - assertNotNull(Object, String) - Static method in class org.junit.jupiter.api.AssertNotNull
- assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
is notnull
. - assertNotNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotNull
- AssertNotNull - Class in org.junit.jupiter.api
-
AssertNotNull
is a collection of utility methods that support asserting that there is an object. - AssertNotNull() - Constructor for class org.junit.jupiter.api.AssertNotNull
- assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
unexpected
object and theactual
object are not the same object. - assertNotSame(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotSame
- assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
unexpected
object and theactual
object are not the same object. - assertNotSame(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertNotSame
- assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
unexpected
object and theactual
object are not the same object. - assertNotSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNotSame
- AssertNotSame - Class in org.junit.jupiter.api
-
AssertNotSame
is a collection of utility methods that support asserting two objects are not the same. - AssertNotSame() - Constructor for class org.junit.jupiter.api.AssertNotSame
- assertNull(Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
isnull
. - assertNull(Object) - Static method in class org.junit.jupiter.api.AssertNull
- assertNull(Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
isnull
. - assertNull(Object, String) - Static method in class org.junit.jupiter.api.AssertNull
- assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that
actual
isnull
. - assertNull(Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertNull
- AssertNull - Class in org.junit.jupiter.api
-
AssertNull
is a collection of utility methods that support asserting there is no object. - AssertNull() - Constructor for class org.junit.jupiter.api.AssertNull
- assertSame(Object, Object) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
expected
object and theactual
object are the same object. - assertSame(Object, Object) - Static method in class org.junit.jupiter.api.AssertSame
- assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
expected
object and theactual
object are the same object. - assertSame(Object, Object, String) - Static method in class org.junit.jupiter.api.AssertSame
- assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the
expected
object and theactual
object are the same object. - assertSame(Object, Object, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertSame
- AssertSame - Class in org.junit.jupiter.api
-
AssertSame
is a collection of utility methods that support asserting two objects are the same. - AssertSame() - Constructor for class org.junit.jupiter.api.AssertSame
- assertStatic(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- assertStatistics(Consumer<EventStatistics>) - Method in class org.junit.platform.testkit.engine.Events
-
Assert statistics for the events contained in this
Events
object. - assertSupportedType(String, Class<?>) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- 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())
. - assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of theexpectedType
and return the exception. - assertThrows(Class<T>, Executable) - Static method in class org.junit.jupiter.api.AssertThrows
- assertThrows(Class<T>, Executable, Object) - Static method in class org.junit.jupiter.api.AssertThrows
- assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of theexpectedType
and return the exception. - assertThrows(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.AssertThrows
- assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of theexpectedType
and return the exception. - assertThrows(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertThrows
- AssertThrows - Class in org.junit.jupiter.api
-
AssertThrows
is a collection of utility methods that support asserting an exception of an expected type is thrown. - AssertThrows() - Constructor for class org.junit.jupiter.api.AssertThrows
- assertThrowsExactly(Class<T>, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of exactly theexpectedType
and return the exception. - assertThrowsExactly(Class<T>, Executable) - Static method in class org.junit.jupiter.api.AssertThrowsExactly
- assertThrowsExactly(Class<T>, Executable, Object) - Static method in class org.junit.jupiter.api.AssertThrowsExactly
- assertThrowsExactly(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of exactly theexpectedType
and return the exception. - assertThrowsExactly(Class<T>, Executable, String) - Static method in class org.junit.jupiter.api.AssertThrowsExactly
- assertThrowsExactly(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
throws an exception of exactly theexpectedType
and return the exception. - assertThrowsExactly(Class<T>, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertThrowsExactly
- AssertThrowsExactly - Class in org.junit.jupiter.api
-
AssertThrowsExactly
is a collection of utility methods that support asserting an exception of an exact type is thrown. - AssertThrowsExactly() - Constructor for class org.junit.jupiter.api.AssertThrowsExactly
- assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, Executable) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, Executable, String) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeout(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, ThrowingSupplier<T>, Object) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.AssertTimeout
- assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeout(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeout
- AssertTimeout - Class in org.junit.jupiter.api
-
AssertTimeout
is a collection of utility methods that support asserting the execution of the code under test did not take longer than the timeout duration. - AssertTimeout() - Constructor for class org.junit.jupiter.api.AssertTimeout
- assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable, String) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
executable
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, Executable, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, String) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>, Assertions.TimeoutFailureFactory<E>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that execution of the supplied
supplier
completes before the giventimeout
is exceeded. - assertTimeoutPreemptively(Duration, ThrowingSupplier<T>, Supplier<String>, Assertions.TimeoutFailureFactory<E>) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- AssertTimeoutPreemptively - Class in org.junit.jupiter.api
-
AssertTimeout
is a collection of utility methods that support asserting the execution of the code under test did not take longer than the timeout duration using a preemptive approach. - AssertTimeoutPreemptively() - Constructor for class org.junit.jupiter.api.AssertTimeoutPreemptively
- AssertTimeoutPreemptively.ExecutionTimeoutException - Exception Class in org.junit.jupiter.api
- AssertTimeoutPreemptively.TimeoutThreadFactory - Class in org.junit.jupiter.api
-
The thread factory used for preemptive timeout.
- assertTrue(boolean) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
istrue
. - assertTrue(boolean) - Static method in class org.junit.jupiter.api.AssertTrue
- assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
istrue
. - assertTrue(boolean, String) - Static method in class org.junit.jupiter.api.AssertTrue
- assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the supplied
condition
istrue
. - assertTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTrue
- assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
istrue
. - assertTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.AssertTrue
- assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
istrue
. - assertTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.AssertTrue
- assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Assert that the boolean condition supplied by
booleanSupplier
istrue
. - assertTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.AssertTrue
- AssertTrue - Class in org.junit.jupiter.api
-
AssertTrue
is a collection of utility methods that support assertingtrue
in tests. - AssertTrue() - Constructor for class org.junit.jupiter.api.AssertTrue
- assertValidDelta(double) - Static method in class org.junit.jupiter.api.AssertionUtils
- assertValidDelta(float) - Static method in class org.junit.jupiter.api.AssertionUtils
- assertVoid(Class<? extends Annotation>, Method) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- associativity - Variable in class org.junit.platform.launcher.tagexpression.Operator
- Associativity() - Constructor for enum class org.junit.platform.launcher.tagexpression.Operator.Associativity
- assumeFalse(boolean) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeFalse(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(boolean, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier, String) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumeTrue(BooleanSupplier, Supplier<String>) - Static method in class org.junit.jupiter.api.Assumptions
-
Validate the given assumption.
- assumingThat(boolean, Executable) - Static method in class org.junit.jupiter.api.Assumptions
-
Execute the supplied
Executable
, but only if the supplied assumption is valid. - assumingThat(BooleanSupplier, Executable) - Static method in class org.junit.jupiter.api.Assumptions
-
Execute the supplied
Executable
, but only if the supplied assumption is valid. - ASSUMPTION_VIOLATED_EXCEPTION - Static variable in class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- Assumptions - Class in org.junit.jupiter.api
-
Assumptions
is a collection of utility methods that support conditional test execution based on assumptions. - Assumptions() - Constructor for class org.junit.jupiter.api.Assumptions
-
Protected constructor allowing subclassing but not direct instantiation.
- autoCloseable - Variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver.CloseableArgument
- autoCloseArguments() - Element in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Configure whether all arguments of the parameterized test that implement
AutoCloseable
will be closed after@AfterEach
methods andAfterEachCallback
extensions have been called for the current parameterized test invocation. - awaitFinished() - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Block until all dynamic test descriptors submitted to this executor are finished.
- awaitFinished() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutor
- awaitFinished() - Method in interface org.junit.platform.engine.support.hierarchical.NodeTestTask.DynamicTaskState
B
- before() - Method in class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- before() - Method in interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
- before(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the before behavior of this node.
- before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- beforeAll(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeAllCallback
-
Callback that is invoked once before all tests in the current container.
- beforeAll(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- beforeAll(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- BeforeAll - Annotation Interface in org.junit.jupiter.api
-
@BeforeAll
is used to signal that the annotated method should be executed before all tests in the current test class. - BeforeAllCallback - Interface in org.junit.jupiter.api.extension
-
BeforeAllCallback
defines the API forExtensions
that wish to provide additional behavior to test containers once before all tests in the container have been executed. - beforeAllCallbacksExecuted - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- beforeAllCallbacksExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- beforeAllCallbacksExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
Track that an attempt was made to execute
BeforeAllCallback
extensions. - beforeAllMethods - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- beforeAllMethodsExecuted - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- beforeAllMethodsExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- beforeAllMethodsExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
-
Track that an attempt was made to execute
@BeforeAll
methods. - beforeEach(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeEachCallback
-
Callback that is invoked before an individual test and any user-defined setup methods for that test have been executed.
- beforeEach(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- beforeEach(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- beforeEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
- beforeEach(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- BeforeEach - Annotation Interface in org.junit.jupiter.api
-
@BeforeEach
is used to signal that the annotated method should be executed before each@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, and@TestTemplate
method in the current test class. - BeforeEachCallback - Interface in org.junit.jupiter.api.extension
-
BeforeEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests before an individual test and any user-defined setup methods (e.g.,@BeforeEach
methods) for that test have been executed. - BeforeEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
-
Functional interface for registering a
@BeforeEach
method as a pseudo-extension. - beforeTestExecution(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
Callback that is invoked immediately before an individual test is executed but after any user-defined setup methods have been executed for that test.
- BeforeTestExecutionCallback - Interface in org.junit.jupiter.api.extension
-
BeforeTestExecutionCallback
defines the API forExtensions
that wish to provide additional behavior to tests immediately before an individual test is executed but after any user-defined setup methods (e.g.,@BeforeEach
methods) have been executed for that test. - beginParsing(InputStream, CsvFileSource) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- binaryOperator(String, int, Operator.Associativity, BiFunction<TagExpression, TagExpression, TagExpression>) - Static method in class org.junit.platform.launcher.tagexpression.Operator
- BlacklistedExceptions - Class in org.junit.platform.commons.util
-
Deprecated.Use
UnrecoverableExceptions
instead. - BlacklistedExceptions() - Constructor for class org.junit.platform.commons.util.BlacklistedExceptions
-
Deprecated.
- block() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock.CompositeLockManagedBlocker
- block() - Method in class org.junit.platform.engine.support.hierarchical.SingleLock.SingleLockManagedBlocker
- BooleanExecutionCondition<A> - Class in org.junit.jupiter.api.condition
- BooleanExecutionCondition(Class<A>, String, String, Function<A, String>) - Constructor for class org.junit.jupiter.api.condition.BooleanExecutionCondition
- booleans() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
boolean
values to use as sources of arguments; must not be empty. - BOTTOM_UP - Enum constant in enum class org.junit.platform.commons.support.HierarchyTraversalMode
-
Traverse the hierarchy using bottom-up semantics.
- BOTTOM_UP - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Traverse the hierarchy using bottom-up semantics.
- Bug in javac on JDK versions prior to JDK 9 - Search tag in org.junit.platform.commons.util.AnnotationUtils.getEffectiveAnnotatedParameter(Parameter, int)
- Section
- build() - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Build the
AssertionFailedError
without throwing it. - build() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- build() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
-
Build the
EngineDiscoveryRequestResolver
that has been configured via this builder. - build() - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Build the
LauncherConfig
that has been configured via this builder. - build() - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- build() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Build the
LauncherDiscoveryRequest
that has been configured via this builder. - build() - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- buildAndThrow() - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Build the
AssertionFailedError
and throw it. - buildClassFilter(EngineDiscoveryRequest, Predicate<Class<?>>) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolver
instead. - buildClassNamePredicate(EngineDiscoveryRequest) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
-
Build a
Predicate
for fully qualified class names to be used for classpath scanning from anEngineDiscoveryRequest
. - buildClassNamePredicate(EngineDiscoveryRequest) - Static method in class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.Please use
EngineDiscoveryRequestResolver
instead. - buildConditionEvaluationResult(boolean, A) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- buildDescription(TestIdentifier, Description, TestPlan) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- buildDescriptionTree(Description, TestPlan) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- buildEngineExecutionListener(EngineExecutionListener, TestExecutionListener, TestPlan) - Static method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- builder() - Static method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Create a new
EngineDiscoveryRequestResolver.Builder
for creating aEngineDiscoveryRequestResolver
. - builder() - Static method in interface org.junit.platform.launcher.core.LauncherConfig
-
Create a new
LauncherConfig.Builder
. - builder() - Static method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- Builder() - Constructor for class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
- Builder() - Constructor for class org.junit.platform.launcher.core.LauncherConfig.Builder
- Builder() - Constructor for class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- Builder(JupiterEngineExecutionContext.State) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- Builder(TestEngine) - Constructor for class org.junit.platform.testkit.engine.EngineTestKit.Builder
- buildLauncherConfigurationParameters() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- buildListenerRegistryForExecution(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- buildPrefix(String) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- buildPrefix(String) - Static method in class org.junit.platform.testkit.engine.Assertions
- buildRunner(Class<? extends Runner>, Class<?>) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveAnnotatedBuilder
- buildSourceInfo(Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- buildSuffix(String) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- Built-in Implementations - Search tag in interface org.junit.jupiter.api.ClassOrderer
- Section
- Built-in Implementations - Search tag in interface org.junit.jupiter.api.DisplayNameGenerator
- Section
- Built-in Implementations - Search tag in interface org.junit.jupiter.api.MethodOrderer
- Section
- byPayload(Class<T>, Predicate<? super T>) - Static method in class org.junit.platform.testkit.engine.Event
- bytes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
byte
values to use as sources of arguments; must not be empty. - byTestDescriptor(Predicate<? super TestDescriptor>) - Static method in class org.junit.platform.testkit.engine.Event
- byType(EventType) - Static method in class org.junit.platform.testkit.engine.Event
C
- cache - Variable in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- cache - Variable in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- CachingJupiterConfiguration - Class in org.junit.jupiter.engine.config
-
Caching implementation of the
JupiterConfiguration
API. - CachingJupiterConfiguration(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- call - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- call(Callable<V>) - Static method in class org.junit.platform.commons.function.Try
-
Call the supplied
Callable
and return a successfulTry
that contains the returned value or, in case an exception was thrown, a failedTry
that contains the exception. - canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- canBeRemovedFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToBooleanConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToCharacterConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToClassConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToCommonJavaTypesConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToEnumConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToJavaTimeConverter
- canConvert(Class<?>) - Method in class org.junit.jupiter.params.converter.StringToNumberConverter
- canConvert(Class<?>) - Method in interface org.junit.jupiter.params.converter.StringToObjectConverter
- canFinish(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- canOrderWrappers() - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- canStart(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- capture() - Method in class org.junit.platform.launcher.core.StreamInterceptor
- CAPTURE_MAX_BUFFER_DEFAULT - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
- CAPTURE_MAX_BUFFER_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: "junit.platform.output.capture.maxBuffer"
- CAPTURE_STDERR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable capturing output to
System.err
: "junit.platform.output.capture.stderr" - CAPTURE_STDOUT_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable capturing output to
System.out
: "junit.platform.output.capture.stdout" - castToRequiredType(Object, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- category - Variable in class org.junit.platform.testkit.engine.Events
- category - Variable in class org.junit.platform.testkit.engine.Executions
- cause - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- cause - Variable in class org.junit.platform.commons.function.Try.Failure
- cause - Variable in class org.junit.platform.launcher.core.EngineDiscoveryErrorDescriptor
- cause(Throwable) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the cause of the assertion failure.
- cause(Condition<Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- cause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- CAUSED_BY - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- chainAndInvoke(InvocationInterceptor.Invocation<T>, InvocationInterceptorChain.InterceptorCall<T>, List<InvocationInterceptor>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- chainInterceptors(InvocationInterceptor.Invocation<T>, InvocationInterceptorChain.InterceptorCall<T>, List<InvocationInterceptor>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- chars() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
char
values to use as sources of arguments; must not be empty. - charset - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- CHARSET - Static variable in class org.junit.vintage.engine.support.UniqueIdStringifier
- checkAllowed(String) - Method in class org.junit.platform.engine.UniqueIdFormat
- checkCondition(List<Event>, SoftAssertions, Condition<? super Event>) - Static method in class org.junit.platform.testkit.engine.Events
- checkDoesNotContain(String, char) - Method in class org.junit.platform.engine.UniqueIdFormat
- checkedTestEngines - Variable in class org.junit.platform.launcher.core.EngineFilterer
- checkNotNull(T, String) - Static method in class org.junit.platform.commons.function.Try
- checkNoUnmatchedIncludeFilter() - Method in class org.junit.platform.launcher.core.EngineFilterer
- checkSupported() - Static method in class org.junit.vintage.engine.JUnit4VersionCheck
- checkSupported(Supplier<String>) - Static method in class org.junit.vintage.engine.JUnit4VersionCheck
- checkWhetherSkipped() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- CHILD_FAILED - Static variable in class org.junit.jupiter.engine.extension.TempDirectory
- children - Variable in class org.junit.jupiter.api.DynamicContainer
- children - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
The synchronized set of children associated with this
TestDescriptor
. - children - Variable in class org.junit.platform.launcher.TestPlan
- childSelectorsSupplier - Variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
- CIRCULAR - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- CLASS_FILE_SUFFIX - Static variable in class org.junit.platform.commons.util.ClassFileVisitor
- CLASS_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClassSource
- ClassBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for tests based on Java classes. - ClassBasedTestDescriptor(UniqueId, Class<?>, Supplier<String>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- ClassContainerSelectorResolver - Class in org.junit.platform.engine.support.discovery
- ClassContainerSelectorResolver(Predicate<Class<?>>, Predicate<String>) - Constructor for class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- ClassDescriptor - Interface in org.junit.jupiter.api
-
ClassDescriptor
encapsulates functionality for a givenClass
. - classDescriptors - Variable in class org.junit.jupiter.engine.discovery.DefaultClassOrdererContext
- classes() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
Class
values to use as sources of arguments; must not be empty. - ClassExtensionContext - Class in org.junit.jupiter.engine.descriptor
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassBasedTestDescriptor, TestInstance.Lifecycle, JupiterConfiguration, ThrowableCollector, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassBasedTestDescriptor, JupiterConfiguration, ThrowableCollector, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.ClassExtensionContext
-
Create a new
ClassExtensionContext
withTestInstance.Lifecycle.PER_METHOD
. - classFileConsumer - Variable in class org.junit.platform.commons.util.ClassFileVisitor
- ClassFileVisitor - Class in org.junit.platform.commons.util
- ClassFileVisitor(Consumer<Path>) - Constructor for class org.junit.platform.commons.util.ClassFileVisitor
- classFilter - Variable in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- classFilter - Variable in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- ClassFilter - Class in org.junit.platform.commons.util
-
Class-related predicate used by reflection utilities.
- ClassFilter(Predicate<String>, Predicate<Class<?>>) - Constructor for class org.junit.platform.commons.util.ClassFilter
- classLoader - Variable in class org.junit.platform.engine.discovery.ClassSelector
- classLoader - Variable in class org.junit.platform.engine.discovery.MethodSelector
- classLoader - Variable in class org.junit.platform.engine.discovery.NestedClassSelector
- classLoaderSupplier - Variable in class org.junit.platform.commons.util.ClasspathScanner
- ClassLoaderUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with ClassLoader and associated tasks.
- ClassLoaderUtils() - Constructor for class org.junit.platform.commons.util.ClassLoaderUtils
- className - Variable in class org.junit.platform.engine.discovery.ClassSelector
- className - Variable in class org.junit.platform.engine.discovery.MethodSelector
- className - Variable in class org.junit.platform.engine.support.descriptor.ClassSource
- className - Variable in class org.junit.platform.engine.support.descriptor.MethodSource
- ClassName() - Constructor for class org.junit.jupiter.api.ClassOrderer.ClassName
- classNameFilter - Variable in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- classNameFilter - Variable in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- classNameFilter - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- ClassNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilter
that is applied to the name of aClass
. - ClassNamePatternFilterUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for creating filters based on class names.
- ClassNamePatternFilterUtils() - Constructor for class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- classNameToTypeMap - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
Internal cache of common class names mapped to their types.
- ClassOrderer - Interface in org.junit.jupiter.api
-
ClassOrderer
defines the API for ordering top-level test classes and@Nested
test classes. - ClassOrderer.ClassName - Class in org.junit.jupiter.api
-
ClassOrderer
that sorts classes alphanumerically based on their fully qualified names usingString.compareTo(String)
. - ClassOrderer.DisplayName - Class in org.junit.jupiter.api
-
ClassOrderer
that sorts classes alphanumerically based on their display names usingString.compareTo(String)
- ClassOrderer.OrderAnnotation - Class in org.junit.jupiter.api
-
ClassOrderer
that sorts classes based on the@Order
annotation. - ClassOrderer.Random - Class in org.junit.jupiter.api
-
ClassOrderer
that orders classes pseudo-randomly. - ClassOrdererContext - Interface in org.junit.jupiter.api
-
ClassOrdererContext
encapsulates the context in which aClassOrderer
will be invoked. - classOrdererConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- ClassOrderingVisitor - Class in org.junit.jupiter.engine.discovery
- ClassOrderingVisitor(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- CLASSPATH_RESOURCE_PATH_SEPARATOR - Static variable in class org.junit.platform.commons.util.ClasspathScanner
- CLASSPATH_RESOURCE_PATH_SEPARATOR_STRING - Static variable in class org.junit.platform.commons.util.ClasspathScanner
- CLASSPATH_SCHEME - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- classpathResource(String) - Method in interface org.junit.jupiter.params.provider.CsvFileArgumentsProvider.InputStreamProvider
- classpathResourceName - Variable in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- classpathResourceName - Variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- ClasspathResourceSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects the name of a classpath resource so thatTestEngines
can load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs. - ClasspathResourceSelector(String, FilePosition) - Constructor for class org.junit.platform.engine.discovery.ClasspathResourceSelector
- ClasspathResourceSource - Class in org.junit.platform.engine.support.descriptor
-
Classpath resource based
TestSource
with an optional position. - ClasspathResourceSource(String) - Constructor for class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- ClasspathResourceSource(String, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- classpathRoot - Variable in class org.junit.platform.engine.discovery.ClasspathRootSelector
- ClasspathRootSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a classpath root so thatTestEngines
can search for class files or resources within the physical classpath — for example, to scan for test classes. - ClasspathRootSelector(URI) - Constructor for class org.junit.platform.engine.discovery.ClasspathRootSelector
- classpathScanner - Static variable in class org.junit.platform.commons.util.ReflectionUtils
- ClasspathScanner - Class in org.junit.platform.commons.util
-
DISCLAIMER
- ClasspathScanner(Supplier<ClassLoader>, BiFunction<String, ClassLoader, Try<Class<?>>>) - Constructor for class org.junit.platform.commons.util.ClasspathScanner
- ClasspathScanningSupport - Class in org.junit.platform.engine.support.filter
-
Deprecated.Please use
EngineDiscoveryRequestResolver
instead. - ClasspathScanningSupport() - Constructor for class org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
Deprecated.
- classPredicate - Variable in class org.junit.platform.commons.util.ClassFilter
- ClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects aClass
or class name so thatTestEngines
can discover tests or containers based on classes. - ClassSelector(Class<?>) - Constructor for class org.junit.platform.engine.discovery.ClassSelector
- ClassSelector(ClassLoader, String) - Constructor for class org.junit.platform.engine.discovery.ClassSelector
- ClassSelectorResolver - Class in org.junit.jupiter.engine.discovery
- ClassSelectorResolver - Class in org.junit.vintage.engine.discovery
- ClassSelectorResolver(Predicate<String>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- ClassSelectorResolver(ClassFilter) - Constructor for class org.junit.vintage.engine.discovery.ClassSelectorResolver
- classSelectors(List<Class<?>>) - Method in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- ClassSource - Class in org.junit.platform.engine.support.descriptor
-
Class based
TestSource
with an optional file position. - ClassSource(Class<?>) - Constructor for class org.junit.platform.engine.support.descriptor.ClassSource
- ClassSource(Class<?>, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.ClassSource
- ClassSource(String) - Constructor for class org.junit.platform.engine.support.descriptor.ClassSource
- ClassSource(String, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.ClassSource
- ClassSupport - Class in org.junit.platform.commons.support
-
ClassSupport
provides static utility methods for common tasks regarding classes — for example, generating a comma-separated list of fully qualified class names for a set of supplied classes. - ClassSupport() - Constructor for class org.junit.platform.commons.support.ClassSupport
- ClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for tests based on Java classes. - ClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- ClassUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
classes
. - ClassUtils() - Constructor for class org.junit.platform.commons.util.ClassUtils
- clazz - Variable in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- cleanup() - Element in annotation interface org.junit.jupiter.api.io.TempDir
-
How the temporary directory gets cleaned up after the test completes.
- cleanUp() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- cleanUp(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Clean up the supplied
context
after execution. - cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- cleanUp(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- Clean Up - Search tag in annotation interface org.junit.jupiter.api.io.TempDir
- Section
- cleanupMode - Variable in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- CleanupMode - Enum Class in org.junit.jupiter.api.io
-
Enumeration of cleanup modes for
@TempDir
. - CleanupMode() - Constructor for enum class org.junit.jupiter.api.io.CleanupMode
- cleanupModeConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- clear() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Clear all existing
log records
that have been submitted to this listener by the current thread. - clearFilters() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- clone() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- clone() - Method in class org.junit.platform.engine.UniqueId
- close() - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
-
Close underlying resources.
- close() - Method in interface org.junit.jupiter.api.io.TempDirFactory
- close() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- close() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- close() - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- close() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.ExecutorResource
- close() - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver.CloseableArgument
- close() - Method in class org.junit.platform.commons.util.CloseablePath
- close() - Method in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- close() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- close() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Close this service and let it perform any required cleanup work.
- close() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
- close() - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- close() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
If a close action is configured, it will be called with all successfully stored values in reverse insertion order.
- close() - Method in class org.junit.platform.launcher.core.DefaultLauncherSession
- close() - Method in interface org.junit.platform.launcher.LauncherInterceptor
-
Closes this interceptor.
- close() - Method in interface org.junit.platform.launcher.LauncherSession
-
Close this session and notify all registered
LauncherSessionListeners
. - close(N, Object, Object) - Method in interface org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CloseAction
-
Close the supplied
value
. - close(NamespacedHierarchicalStore.CloseAction<N>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- CLOSE_RESOURCES - Static variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- CloseableArgument(AutoCloseable) - Constructor for class org.junit.jupiter.params.ParameterizedTestParameterResolver.CloseableArgument
- CloseablePath - Class in org.junit.platform.commons.util
- CloseablePath(Path, Closeable) - Constructor for class org.junit.platform.commons.util.CloseablePath
- CloseablePath(TempDirFactory, CleanupMode, AnnotatedElementContext, ExtensionContext) - Constructor for class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- CloseablePath.ManagedFileSystem - Class in org.junit.platform.commons.util
- closeAction - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- ClosedLauncher() - Constructor for class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- closeSegment - Variable in class org.junit.platform.engine.UniqueIdFormat
- CollectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Collections
. - CollectionUtils() - Constructor for class org.junit.platform.commons.util.CollectionUtils
- collectLauncherInterceptors(LauncherConfigurationParameters) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- collectPostDiscoveryFilters(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- collectTestDescription(TestIdentifier, List<String>) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- collectTestEngines(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- column - Variable in class org.junit.platform.engine.discovery.FilePosition
- column - Variable in class org.junit.platform.engine.support.descriptor.FilePosition
- column() - Element in annotation interface 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 interface 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.
- COMMENT_PROCESSING_FOR_CSV_FILE_SOURCE - Static variable in class org.junit.jupiter.params.provider.CsvParserFactory
- COMMON_FAILURE_MESSAGE - Static variable in class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- Common Use Cases - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- comparator - Static variable in class org.junit.jupiter.api.ClassOrderer.ClassName
- comparator - Static variable in class org.junit.jupiter.api.ClassOrderer.DisplayName
- comparator - Static variable in class org.junit.jupiter.api.MethodOrderer.DisplayName
- comparator - Static variable in class org.junit.jupiter.api.MethodOrderer.MethodName
- COMPARATOR - Static variable in class org.junit.platform.engine.support.hierarchical.LockManager
- compileIsoControlPattern() - Static method in class org.junit.platform.commons.util.StringUtils
-
Guard against "IllegalArgumentException: Unsupported flags: 256" errors.
- Composed Annotations - Search tag in annotation interface org.junit.jupiter.params.ParameterizedTest
- Section
- composeFilters(Collection<? extends Filter<T>>) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied collection of
filters
include it. - composeFilters(Filter<T>...) - Static method in interface org.junit.platform.engine.Filter
-
Return a filter that will include elements if and only if all of the filters in the supplied array of
filters
include it. - composite(List<LauncherDiscoveryListener>) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
- composite(List<LauncherInterceptor>) - Static method in class org.junit.platform.launcher.core.DefaultLauncherSession
- composite(List<LauncherSessionListener>) - Static method in class org.junit.platform.launcher.listeners.session.LauncherSessionListeners
- CompositeEngineExecutionListener - Class in org.junit.platform.launcher.core
- CompositeEngineExecutionListener(List<EngineExecutionListener>) - Constructor for class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- CompositeFilter<T> - Class in org.junit.platform.engine
-
Combines a collection of
Filters
into a new filter that will include elements if and only if all of the filters in the specified collection include it. - CompositeFilter(Collection<? extends Filter<T>>) - Constructor for class org.junit.platform.engine.CompositeFilter
- compositeKey - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- CompositeKey(N, Object) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CompositeKey
- CompositeLauncherDiscoveryListener - Class in org.junit.platform.launcher.listeners.discovery
- CompositeLauncherDiscoveryListener(List<LauncherDiscoveryListener>) - Constructor for class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- CompositeLauncherSessionListener - Class in org.junit.platform.launcher.listeners.session
- CompositeLauncherSessionListener(List<LauncherSessionListener>) - Constructor for class org.junit.platform.launcher.listeners.session.CompositeLauncherSessionListener
- compositeListenerFactory - Variable in class org.junit.platform.launcher.core.ListenerRegistry
- CompositeLock - Class in org.junit.platform.engine.support.hierarchical
- CompositeLock(List<Lock>) - Constructor for class org.junit.platform.engine.support.hierarchical.CompositeLock
- CompositeLock.CompositeLockManagedBlocker - Class in org.junit.platform.engine.support.hierarchical
- CompositeLockManagedBlocker() - Constructor for class org.junit.platform.engine.support.hierarchical.CompositeLock.CompositeLockManagedBlocker
- CompositeTestExecutionListener - Class in org.junit.platform.launcher.core
- CompositeTestExecutionListener(List<TestExecutionListener>) - Constructor for class org.junit.platform.launcher.core.CompositeTestExecutionListener
- CompositeTestExecutionListener.EagerTestExecutionListener - Interface in org.junit.platform.launcher.core
- CompositeTestSource - Class in org.junit.platform.engine.support.descriptor
-
A
CompositeTestSource
contains one or moreTestSources
. - CompositeTestSource(Collection<? extends TestSource>) - Constructor for class org.junit.platform.engine.support.descriptor.CompositeTestSource
- Composition - Search tag in annotation interface org.junit.jupiter.api.AfterAll
- Section
- Composition - Search tag in annotation interface org.junit.jupiter.api.AfterEach
- Section
- Composition - Search tag in annotation interface org.junit.jupiter.api.BeforeAll
- Section
- Composition - Search tag in annotation interface org.junit.jupiter.api.BeforeEach
- Section
- compute() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask
- computeAttributes(TestEngine) - Static method in class org.junit.platform.launcher.core.TestEngineFormatter
- computeTestSource(Description) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
- computeValue() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- concatenate(Token) - Method in class org.junit.platform.launcher.tagexpression.Token
- CONCURRENT - Enum constant in enum class org.junit.jupiter.api.parallel.ExecutionMode
-
Allow concurrent execution with any other node.
- CONCURRENT - Enum constant in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Allow concurrent execution with any other node.
- condition(boolean, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicate
istrue
. - condition(boolean, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
predicate
istrue
. - ConditionEvaluationException - Exception Class in org.junit.jupiter.engine.execution
-
Thrown if an error is encountered while evaluating an
ExecutionCondition
. - ConditionEvaluationException(String, Throwable) - Constructor for exception class org.junit.jupiter.engine.execution.ConditionEvaluationException
- ConditionEvaluationResult - Class in org.junit.jupiter.api.extension
-
The result of evaluating an
ExecutionCondition
. - ConditionEvaluationResult(boolean, String) - Constructor for class org.junit.jupiter.api.extension.ConditionEvaluationResult
- conditionEvaluator - Static variable in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- ConditionEvaluator - Class in org.junit.jupiter.engine.execution
-
ConditionEvaluator
evaluatesExecutionCondition
extensions. - ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
- config(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at config level. - config(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- config(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at config level. - config(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to specify the fully qualified class name of the
ParallelExecutionConfigurationStrategy
to be used by theDefaultParallelExecutionConfigurationStrategy.CUSTOM
configuration strategy. - CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name of the factor used to determine the desired parallelism for the
DefaultParallelExecutionConfigurationStrategy.DYNAMIC
configuration strategy. - CONFIG_DYNAMIC_MAX_POOL_SIZE_FACTOR_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name of the factor used to determine the maximum pool size of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.DYNAMIC
configuration strategy. - CONFIG_DYNAMIC_SATURATE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to disable saturation of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.DYNAMIC
configuration strategy. - CONFIG_FILE_NAME - Static variable in interface org.junit.platform.engine.ConfigurationParameters
-
Name of the JUnit Platform configuration file: "junit-platform.properties".
- CONFIG_FIXED_MAX_POOL_SIZE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to configure the maximum pool size of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.FIXED
configuration strategy. - CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired parallelism for the
DefaultParallelExecutionConfigurationStrategy.FIXED
configuration strategy. - CONFIG_FIXED_SATURATE_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to disable saturation of the underlying fork-join pool for the
DefaultParallelExecutionConfigurationStrategy.FIXED
configuration strategy. - CONFIG_STRATEGY_PROPERTY_NAME - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Property name used to determine the desired configuration strategy.
- configFileName - Variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- configFileName(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- configuration - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- configuration - Variable in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- configuration - Variable in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- configuration - Variable in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- configuration - Variable in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- configuration - Variable in class org.junit.jupiter.engine.discovery.DefaultClassOrdererContext
- configuration - Variable in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- configuration - Variable in class org.junit.jupiter.engine.discovery.MethodOrderingVisitor
- configuration - Variable in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- configuration - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- configuration - Variable in class org.junit.jupiter.engine.extension.TempDirectory
- Configuration and Defaults - Search tag in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- Section
- configurationParameter(String, String) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add the supplied configuration parameter to the request.
- configurationParameter(String, String) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- configurationParameter(String, String) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add the supplied configuration parameter.
- ConfigurationParameter - Annotation Interface in org.junit.platform.suite.api
-
@ConfigurationParameter
is a repeatable annotation that specifies a configurationkey
andvalue
pair to be added to the discovery request when running a test suite on the JUnit Platform. - configurationParameters - Variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- configurationParameters - Variable in class org.junit.platform.engine.ExecutionRequest
- configurationParameters - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- configurationParameters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- configurationParameters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- configurationParameters - Variable in class org.junit.platform.launcher.TestPlan
- configurationParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied configuration parameters to the request.
- configurationParameters(Map<String, String>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- configurationParameters(Map<String, String>) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied configuration parameters.
- ConfigurationParameters - Interface in org.junit.platform.engine
-
Configuration parameters that
TestEngines
may use to influence test discovery and execution. - ConfigurationParameters - Annotation Interface in org.junit.platform.suite.api
-
@ConfigurationParameters
is a container for one or more@ConfigurationParameter
declarations. - Constants - Class in org.junit.jupiter.engine
-
Collection of constants related to the
JupiterTestEngine
. - Constants() - Constructor for class org.junit.jupiter.engine.Constants
- constructExpressionFrom(List<Token>) - Method in class org.junit.platform.launcher.tagexpression.Parser
- constructor - Variable in class org.junit.jupiter.engine.execution.ConstructorInvocation
- ConstructorInvocation<T> - Class in org.junit.jupiter.engine.execution
- ConstructorInvocation(Constructor<T>, Object[]) - Constructor for class org.junit.jupiter.engine.execution.ConstructorInvocation
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.AfterAllCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.AfterEachCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.BeforeAllCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.BeforeEachCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.ExecutionCondition
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.Extension
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.InvocationInterceptor
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.ParameterResolver
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestInstanceFactory
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestInstancePreConstructCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
- Section
- Constructor Requirements - Search tag in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
- Section
- consume() - Method in class org.junit.platform.launcher.core.StreamInterceptor
- consumedArguments(Object[], ParameterizedTestMethodContext) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- consumeRemainingOperators() - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- CONTAIN_SAME_ELEMENTS - Enum constant in enum class org.junit.jupiter.api.AssertIterableEquals.Status
- 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
Condition
that 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
Condition
that matches if and only if anEvent
's test descriptor is a container and its unique id contains the suppliedString
. - container(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
matches the suppliedCondition
and its test descriptor is a container. - CONTAINER - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptor
is for a container. - CONTAINER_AND_TEST - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptor
is for a test that may potentially also be a container. - containerEvents - Variable in class org.junit.platform.testkit.engine.EngineExecutionResults
- containerEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for containers.
- containersAborted - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containersFailed - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containersFound - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containersSkipped - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containersStarted - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containersSucceeded - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- containsFilesWithExtensions(Path, String...) - Static method in class org.junit.platform.launcher.listeners.OutputDir
-
Determine if the supplied directory contains files with any of the supplied extensions.
- containsIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
contains any ISO control characters. - containsNoNullElements(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
null
elements. - containsNoNullElements(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array contains no
null
elements. - containsNoNullElements(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
null
elements. - containsNoNullElements(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied collection contains no
null
elements. - containsTestMethods(Class<?>) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder
- containsTests - Variable in class org.junit.platform.launcher.TestPlan
- containsTests() - Method in class org.junit.platform.launcher.core.InternalTestPlan
- containsTests() - Method in class org.junit.platform.launcher.TestPlan
-
Return whether this test plan contains any tests.
- containsTests(TestDescriptor) - Static method in interface org.junit.platform.engine.TestDescriptor
-
Determine if the supplied descriptor (or any of its descendants) is a test or may potentially register tests dynamically.
- containsWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
contains any whitespace characters. - context - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- contextBySelector - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- contextClassLoader - Variable in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory
- convert(Object, Class<?>) - Method in class org.junit.jupiter.params.converter.SimpleArgumentConverter
-
Convert the supplied
source
object into the suppliedtargetType
. - convert(Object, Class<?>, A) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
-
Convert the supplied
source
object into the suppliedtargetType
, based on metadata in the provided annotation. - convert(Object, Class<?>, ParameterContext) - Method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- convert(Object, Class<?>, JavaTimeConversionPattern) - Method in class org.junit.jupiter.params.converter.JavaTimeArgumentConverter
- convert(Object, ParameterContext) - Method in class org.junit.jupiter.params.converter.AnnotationBasedArgumentConverter
- convert(Object, ParameterContext) - Method in interface org.junit.jupiter.params.converter.ArgumentConverter
-
Convert the supplied
source
object according to the 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(String, Class) - Method in class org.junit.jupiter.params.converter.StringToEnumConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToBooleanConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToCharacterConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToClassConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToCommonJavaTypesConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToJavaTimeConverter
- convert(String, Class<?>) - Method in class org.junit.jupiter.params.converter.StringToNumberConverter
- convert(String, Class<?>) - Method in interface org.junit.jupiter.params.converter.StringToObjectConverter
- convert(String, Class<?>, ClassLoader) - Method in class org.junit.jupiter.params.converter.StringToClassConverter
- convert(String, Class<?>, ClassLoader) - Method in interface org.junit.jupiter.params.converter.StringToObjectConverter
- convert(S) - Method in class org.junit.jupiter.params.converter.TypedArgumentConverter
-
Convert the supplied
source
object of typeS
into an object of typeT
. - Converter(ArgumentConverter) - Constructor for class org.junit.jupiter.params.ParameterizedTestMethodContext.Converter
- CONVERTER - Enum constant in enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
- CONVERTERS - Static variable in class org.junit.jupiter.params.converter.StringToCommonJavaTypesConverter
- CONVERTERS - Static variable in class org.junit.jupiter.params.converter.StringToJavaTimeConverter
- CONVERTERS - Static variable in class org.junit.jupiter.params.converter.StringToNumberConverter
- convertLeafTokenToExpression(String) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- convertToRegularExpressions(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- ConvertWith - Annotation Interface in org.junit.jupiter.params.converter
-
@ConvertWith
is an annotation that allows one to specify an explicitArgumentConverter
. - copyOf(Set<TestTag>) - Method in class org.junit.platform.launcher.TestIdentifier
- copyOf(ListenerRegistry<T>) - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- corePoolSize - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- count() - Method in class org.junit.platform.testkit.engine.Events
-
Get the number of events contained in this
Events
object. - count() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the number of executions contained in this
Executions
object. - countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
-
Count all
TestIdentifiers
that satisfy the given predicate. - create() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Factory
-
Create a new instance of a
ThrowableCollector
. - create() - Static method in class org.junit.platform.launcher.core.LauncherFactory
- create(Object...) - Static method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
Create a namespace which restricts access to data to all extensions which use the same sequence of
parts
for creating a namespace. - create(String) - Static method in class org.junit.platform.engine.TestTag
-
Create a
TestTag
from the suppliedname
. - create(String, TimeoutDuration) - Static method in class org.junit.jupiter.engine.extension.TimeoutExceptionFactory
- create(String, TimeoutDuration, Throwable) - Static method in class org.junit.jupiter.engine.extension.TimeoutExceptionFactory
- create(URI) - Static method in class org.junit.platform.commons.util.CloseablePath
- create(Function<List<T>, T>) - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- create(Optional<String>) - Static method in class org.junit.platform.launcher.listeners.OutputDir
- create(Timeout.ThreadMode, TimeoutInvocationFactory.TimeoutInvocationParameters<T>) - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory
- create(ConfigurationParameters, BiConsumer<TestIdentifier, ReportEntry>) - Static method in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- create(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Static method in class org.junit.platform.engine.ExecutionRequest
-
Factory for creating an execution request.
- create(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
-
Factory method for creating a new
Launcher
using the suppliedLauncherConfig
. - createAbortedExecutionPredicate() - Static method in class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- createAndAdd(TestDescriptor, Function<TestDescriptor, Optional<T>>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- createAndAddExpressionTo(Stack<TokenWith<TagExpression>>, Token) - Method in class org.junit.platform.launcher.tagexpression.Operator
- createAssertionFailedError(Object, Throwable) - Static method in class org.junit.jupiter.api.AssertDoesNotThrow
- createAssertionFailure(Duration, Supplier<String>, Throwable) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- createConfiguration(ConfigurationParameters) - Static method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- createConfiguration(ConfigurationParameters) - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfigurationStrategy
-
Create a configuration for parallel test execution based on the supplied
ConfigurationParameters
. - createDefaultLauncher(LauncherConfig, LauncherConfigurationParameters) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- createDescriptorWrapperOrderer(ClassOrderer) - Method in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- createDiscoveryRequest() - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- createDiscoveryRequestForUniqueIds(Set<TestIdentifier>) - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- createDisplayNameSupplier(Class<?>, JupiterConfiguration, Function<DisplayNameGenerator, String>) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- createDisplayNameSupplierForClass(Class<?>, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- createDisplayNameSupplierForMethod(Class<?>, Method, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- createDisplayNameSupplierForNestedClass(Class<?>, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- createDynamicDescriptor(JupiterTestDescriptor, DynamicNode, int, TestSource, DynamicDescendantFilter, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createExecutionContext(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the initial execution context for executing the supplied request.
- createExecutions(List<Event>) - Static method in class org.junit.platform.testkit.engine.Executions
-
Create executions from the supplied list of events.
- createExecutorService(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createExecutorService(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the executor service to use for executing the supplied request.
- createExpressionAndAddTo(Stack<TokenWith<TagExpression>>, Token) - Method in interface org.junit.platform.launcher.tagexpression.Operator.TagExpressionCreator
- createFile(String, String) - Method in class org.junit.platform.launcher.listeners.OutputDir
- createForJarFileSystem(URI, Function<FileSystem, Path>) - Static method in class org.junit.platform.commons.util.CloseablePath
- createForkJoinPool(ParallelExecutionConfiguration) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- createIncludeClassNameFilter(String...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- createInvocationContext(ParameterizedTestNameFormatter, ParameterizedTestMethodContext, Object[], int) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- createInvocationTestDescriptor(TestTemplateInvocationContext, int) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- createIOExceptionWithAttachedFailures(SortedMap<Path, IOException>) - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- createJUnit4Description(TestIdentifier, TestPlan) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- createLauncherSessionListener(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- createLogRecord(Level, Throwable, String) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- createMissingOperandMessage(Stack<TokenWith<TagExpression>>, Token) - Method in class org.junit.platform.launcher.tagexpression.Operator
- createNameFormatter(ExtensionContext, Method, ParameterizedTestMethodContext, String, int) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- createOutputFile(ConfigurationParameters) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- createParser(String, String, char, String, int, boolean, boolean, boolean) - Static method in class org.junit.jupiter.params.provider.CsvParserFactory
- createParserFor(CsvFileSource) - Static method in class org.junit.jupiter.params.provider.CsvParserFactory
- createParserFor(CsvSource) - Static method in class org.junit.jupiter.params.provider.CsvParserFactory
- createParserSettings(String, String, char, String, int, boolean, boolean, boolean) - Static method in class org.junit.jupiter.params.provider.CsvParserFactory
- createPredicateFromPatterns(String, Function<T, String>) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- createReason(boolean, boolean, boolean) - Method in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- createRegistryFrom(MutableExtensionRegistry, Stream<Class<? extends Extension>>) - Static method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
-
Factory for creating and populating a new registry from a list of extension types and a parent registry.
- createRegistryWithDefaultExtensions(JupiterConfiguration) - Static method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
-
Factory for creating and populating a new root registry with the default extensions.
- createResolver(ParameterContext) - Method in enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
- createRunnerTestDescriptor(TestDescriptor, Class<?>, Runner) - Method in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- createSafely(Optional<String>, Supplier<Path>) - Static method in class org.junit.platform.launcher.listeners.OutputDir
-
Package private for testing purposes.
- createSegment(String) - Method in class org.junit.platform.engine.UniqueIdFormat
- createSession() - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- createStore(ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- createTempDir(TempDirFactory, CleanupMode, AnnotatedElementContext, ExtensionContext) - Static method in class org.junit.jupiter.engine.extension.TempDirectory
- createTempDirectory(AnnotatedElementContext, ExtensionContext) - Method in interface org.junit.jupiter.api.io.TempDirFactory
-
Create a new temporary directory.
- createTempDirectory(AnnotatedElementContext, ExtensionContext) - Method in class org.junit.jupiter.api.io.TempDirFactory.Standard
- createTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- createTestInstance(TestInstanceFactoryContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstanceFactory
-
Callback for creating a test instance for the supplied context.
- createThrowableCollector() - Static method in class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
-
Create a new
ThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting. - createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- createThrowableCollectorFactory(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create the factory for creating
ThrowableCollector
instances used to handle exceptions that occur during execution of this engine's tests. - createTimeoutFailure(Duration, Supplier<String>, Throwable) - Method in interface org.junit.jupiter.api.Assertions.TimeoutFailureFactory
-
Create a failure for the given timeout, message, and cause.
- createUniqueId(Method, TestDescriptor) - Method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- Creation - Search tag in annotation interface org.junit.jupiter.api.io.TempDir
- Section
- creator - Variable in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
- CsvArgumentsProvider - Class in org.junit.jupiter.params.provider
- CsvArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.CsvArgumentsProvider
- CsvFileArgumentsProvider - Class in org.junit.jupiter.params.provider
- CsvFileArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- CsvFileArgumentsProvider(CsvFileArgumentsProvider.InputStreamProvider) - Constructor for class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- CsvFileArgumentsProvider.CsvParserIterator - Class in org.junit.jupiter.params.provider
- CsvFileArgumentsProvider.DefaultInputStreamProvider - Class in org.junit.jupiter.params.provider
- CsvFileArgumentsProvider.InputStreamProvider - Interface in org.junit.jupiter.params.provider
- CsvFileArgumentsProvider.Source - Interface in org.junit.jupiter.params.provider
- csvFileSource - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- CsvFileSource - Annotation Interface in org.junit.jupiter.params.provider
-
@CsvFileSource
is anArgumentsSource
which is used to load comma-separated value (CSV) files from one or more classpathCsvFileSource.resources()
orCsvFileSource.files()
. - csvParser - Variable in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- csvParser - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- csvParser - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- CsvParserFactory - Class in org.junit.jupiter.params.provider
- CsvParserFactory() - Constructor for class org.junit.jupiter.params.provider.CsvParserFactory
- CsvParserIterator(CsvParser, CsvFileSource) - Constructor for class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- 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 Interface in org.junit.jupiter.params.provider
-
@CsvSource
is anArgumentsSource
which reads comma-separated values (CSV) from one or more CSV records supplied via theCsvSource.value()
attribute orCsvSource.textBlock()
attribute. - current() - Static method in enum class org.junit.jupiter.api.condition.OS
-
Get the current operating system.
- CURRENT_ARCHITECTURE - Static variable in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- CURRENT_OS - Static variable in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- CURRENT_OS - Static variable in enum class org.junit.jupiter.api.condition.OS
- CURRENT_REPETITION_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
-
Placeholder for the current repetition count of a
@RepeatedTest
method:{currentRepetition}
- CURRENT_VERSION - Static variable in enum class org.junit.jupiter.api.condition.JRE
- Currently Unrecoverable Exceptions - Search tag in class org.junit.platform.commons.util.BlacklistedExceptions
- Section
- Currently Unrecoverable Exceptions - Search tag in class org.junit.platform.commons.util.UnrecoverableExceptions
- Section
- currentRepetition - Variable in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- currentVersion() - Static method in enum class org.junit.jupiter.api.condition.JRE
- CUSTOM - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Allows the specification of a custom
ParallelExecutionConfigurationStrategy
implementation via the mandatory "custom.class" configuration parameter to determine the desired configuration. - customDisabledReason - Variable in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- customDisabledReason - Variable in class org.junit.jupiter.api.condition.MethodBasedCondition
- Custom Seed - Search tag in class org.junit.jupiter.api.ClassOrderer.Random
- Section
- Custom Seed - Search tag in class org.junit.jupiter.api.MethodOrderer.Random
- Section
D
- DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in class org.junit.jupiter.engine.Constants
-
Wildcard pattern which signals that all conditions should be deactivated: "*"
- DEACTIVATE_ALL_LISTENERS_PATTERN - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Wildcard pattern which signals that all listeners registered via the
ServiceLoader
mechanism should be deactivated: "*" - DEACTIVATE_ALL_PATTERN - Static variable in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to provide patterns for deactivating conditions: "junit.jupiter.conditions.deactivate"
- DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to provide patterns for deactivating listeners registered via the
ServiceLoader
mechanism: "junit.platform.execution.listeners.deactivate" - debug() - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to
System.out
. - debug() - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to
System.out
. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
OutputStream
. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
OutputStream
. - debug(PrintWriter) - Method in class org.junit.platform.testkit.engine.Events
- debug(PrintWriter) - Method in class org.junit.platform.testkit.engine.Executions
- debug(Writer) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
Writer
. - debug(Writer) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
Writer
. - debug(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at debug level. - debug(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- debug(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at debug level. - debug(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- decode(String) - Static method in class org.junit.platform.engine.UniqueIdFormat
- decorate(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutDuration) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- decorateIgnoredTestClass(Runner) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
-
Instead of checking for the
Ignore
annotation and returning anIgnoredClassRunner
fromIgnoredBuilder
, we've let the super class determine the regular runner that would have been used ifIgnore
hadn't been present. - DEFAULT - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Use the default cleanup mode.
- DEFAULT - Enum constant in enum class org.junit.platform.commons.support.SearchOption
-
Search the inheritance hierarchy (i.e., the current class, implemented interfaces, and superclasses), but do not search on enclosing classes.
- DEFAULT - Static variable in annotation interface org.junit.jupiter.api.Order
-
Default order value for elements not explicitly annotated with
@Order
, equal to the value ofInteger.MAX_VALUE / 2
. - DEFAULT - Static variable in interface org.junit.jupiter.engine.extension.TempDirectory.FileOperations
- DEFAULT - Static variable in class org.junit.jupiter.params.ParameterizedTestMethodContext.Aggregator
- DEFAULT - Static variable in class org.junit.jupiter.params.ParameterizedTestMethodContext.Converter
- DEFAULT - Static variable in interface org.junit.platform.launcher.core.LauncherConfig
-
The default
LauncherConfig
which uses automatic registration for test engines, supported listeners, and post-discovery filters. - DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@AfterAll
methods: "junit.jupiter.execution.timeout.afterall.method.default". - DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@AfterAll
methods: "junit.jupiter.execution.timeout.afterall.method.default". - DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@AfterEach
methods: "junit.jupiter.execution.timeout.aftereach.method.default". - DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@AfterEach
methods: "junit.jupiter.execution.timeout.aftereach.method.default". - DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@BeforeAll
methods: "junit.jupiter.execution.timeout.beforeall.method.default". - DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@BeforeAll
methods: "junit.jupiter.execution.timeout.beforeall.method.default". - DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@BeforeEach
methods: "junit.jupiter.execution.timeout.beforeeach.method.default". - DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@BeforeEach
methods: "junit.jupiter.execution.timeout.beforeeach.method.default". - DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.parallel.Execution
-
Property name used to set the default test execution mode for top-level classes: "junit.jupiter.execution.parallel.mode.classes.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_CLEANUP_MODE_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.io.TempDir
-
The name of the configuration parameter that is used to configure the default
CleanupMode
. - DEFAULT_DELIMITER - Static variable in class org.junit.jupiter.params.provider.CsvParserFactory
- DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Property name used to set the default discovery listener that is added to all : "junit.platform.discovery.listener.default"
- DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_VALUE - Static variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- DEFAULT_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Default display name pattern for the current invocation of a
@ParameterizedTest
method: "[{index}] {argumentsWithNames}" - DEFAULT_DISPLAY_NAME - Static variable in class org.junit.jupiter.params.ParameterizedTestExtension
- 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 annotation interface org.junit.jupiter.api.parallel.Execution
-
Property name used to set the default test execution mode: "junit.jupiter.execution.parallel.mode.default"
- DEFAULT_EXECUTION_MODE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_FACTORY_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.io.TempDir
-
Property name used to set the default temporary directory factory class name: "junit.jupiter.tempdir.factory.default"
- DEFAULT_GENERATOR - Static variable in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
- DEFAULT_GENERATOR_PROPERTY_NAME - Static variable in interface org.junit.jupiter.api.DisplayNameGenerator
-
Property name used to set the default display name generator class name: "junit.jupiter.displayname.generator.default"
- DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all lifecycle methods: "junit.jupiter.execution.timeout.lifecycle.method.default".
- 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_LIFECYCLE_PROPERTY_NAME - Static variable in enum class org.junit.jupiter.api.TestInstance.Lifecycle
-
Property name used to set the default test instance lifecycle mode: "junit.jupiter.testinstance.lifecycle.default"
- DEFAULT_MAX_STACKTRACE_LINES - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- DEFAULT_ORDER_PROPERTY_NAME - Static variable in interface org.junit.jupiter.api.ClassOrderer
-
Property name used to set the default class orderer class name: "junit.jupiter.testclass.order.default"
- DEFAULT_ORDER_PROPERTY_NAME - Static variable in interface org.junit.jupiter.api.MethodOrderer
-
Property name used to set the default method orderer class name: "junit.jupiter.testmethod.order.default"
- DEFAULT_OUTPUT_FILE_PREFIX - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
The default prefix for the name of the file generated by the
UniqueIdTrackingListener
: "junit-platform-unique-ids" - DEFAULT_PACKAGE_NAME - Static variable in class org.junit.platform.commons.util.PackageUtils
- 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_SEED - Static variable in class org.junit.jupiter.api.ClassOrderer.Random
-
Default seed, which is generated during initialization of this class via
System.nanoTime()
for reproducibility of tests. - DEFAULT_SEED - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
-
Default seed, which is generated during initialization of this class via
System.nanoTime()
for reproducibility of tests. - DEFAULT_SEPARATOR - Static variable in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
- DEFAULT_STATELESS_EXTENSIONS - Static variable in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- DEFAULT_TEMP_DIR_FACTORY_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default factory for temporary directories created via the
@TempDir
annotation: "junit.jupiter.tempdir.factory.default" - DEFAULT_TEST_CLASS_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 annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@TestFactory
methods: "junit.jupiter.execution.timeout.testfactory.method.default". - DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@TestFactory
methods: "junit.jupiter.execution.timeout.testfactory.method.default". - DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default test instance lifecycle mode: "junit.jupiter.testinstance.lifecycle.default"
- DEFAULT_TEST_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 annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@Test
methods: "junit.jupiter.execution.timeout.test.method.default". - DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@Test
methods: "junit.jupiter.execution.timeout.test.method.default". - DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all
@TestTemplate
methods: "junit.jupiter.execution.timeout.testtemplate.method.default". - DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout for all
@TestTemplate
methods: "junit.jupiter.execution.timeout.testtemplate.method.default". - DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all testable methods: "junit.jupiter.execution.timeout.testable.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 annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default timeout for all testable and lifecycle methods: "junit.jupiter.execution.timeout.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 annotation interface org.junit.jupiter.api.Timeout
-
Property name used to set the default thread mode for all testable and lifecycle methods: "junit.jupiter.execution.timeout.thread.mode.default".
- DEFAULT_TIMEOUT_THREAD_MODE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the default timeout thread mode.
- DefaultArgumentConverter - Class in org.junit.jupiter.params.converter
-
DefaultArgumentConverter
is the default implementation of theArgumentConverter
API. - DefaultArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.DefaultArgumentConverter
- DefaultArgumentsAccessor - Class in org.junit.jupiter.params.aggregator
-
Default implementation of the
ArgumentsAccessor
API. - DefaultArgumentsAccessor(ParameterContext, int, Object...) - Constructor for class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- defaultChildExecutionMode - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- DefaultClassDescriptor - Class in org.junit.jupiter.engine.discovery
-
Default implementation of
ClassDescriptor
, backed by aClassBasedTestDescriptor
. - DefaultClassDescriptor(ClassBasedTestDescriptor) - Constructor for class org.junit.jupiter.engine.discovery.DefaultClassDescriptor
- DefaultClassOrdererContext - Class in org.junit.jupiter.engine.discovery
-
Default implementation of
ClassOrdererContext
. - DefaultClassOrdererContext(List<? extends ClassDescriptor>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.DefaultClassOrdererContext
- defaultContext - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- DefaultContext(TestDescriptor) - Constructor for class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- DefaultDiscoveryRequest - Class in org.junit.platform.launcher.core
-
DefaultDiscoveryRequest
is the default implementation of theEngineDiscoveryRequest
andLauncherDiscoveryRequest
APIs. - DefaultDiscoveryRequest(List<DiscoverySelector>, List<EngineFilter>, List<DiscoveryFilter<?>>, List<PostDiscoveryFilter>, LauncherConfigurationParameters, LauncherDiscoveryListener) - Constructor for class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- Section
- Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- Section
- Default Display Names - Search tag in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- Section
- Default Display Names - Search tag in org.junit.jupiter.api.TestInfo.getDisplayName()
- Section
- Default Display Names - Search tag in org.junit.jupiter.api.TestInfo.getDisplayName()
- Section
- DefaultDynamicTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutor
- DefaultDynamicTestInvocationContext - Class in org.junit.jupiter.engine.descriptor
-
Default implementation of the
DynamicTestInvocationContext
API. - DefaultDynamicTestInvocationContext(Executable) - Constructor for class org.junit.jupiter.engine.descriptor.DefaultDynamicTestInvocationContext
- DefaultExecutableInvoker - Class in org.junit.jupiter.engine.execution
- DefaultExecutableInvoker(ExtensionContext, ExtensionRegistry) - Constructor for class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- DefaultExecutableInvoker(JupiterEngineExecutionContext) - Constructor for class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- Default Execution Mode - Search tag in annotation interface org.junit.jupiter.api.parallel.Execution
- Section
- DefaultFailure(TestIdentifier, Throwable) - Constructor for class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- defaultFieldSorter(Field, Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Field comparator inspired by JUnit 4's
org.junit.internal.MethodSorter
implementation. - defaultFormat - Static variable in class org.junit.platform.engine.UniqueIdFormat
- DefaultInitializationContext(EngineDiscoveryRequest, T) - Constructor for class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- DefaultInputStreamProvider() - Constructor for class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.DefaultInputStreamProvider
- defaultInterceptorCall - Static variable in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- DefaultJupiterConfiguration - Class in org.junit.jupiter.engine.config
-
Default implementation of the
JupiterConfiguration
API. - DefaultJupiterConfiguration(ConfigurationParameters) - Constructor for class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- DefaultLauncher - Class in org.junit.platform.launcher.core
-
Default implementation of the
Launcher
API. - DefaultLauncher(Iterable<TestEngine>, Collection<PostDiscoveryFilter>) - Constructor for class org.junit.platform.launcher.core.DefaultLauncher
-
Construct a new
DefaultLauncher
with the supplied test engines. - DefaultLauncherConfig - Class in org.junit.platform.launcher.core
-
Default implementation of the
LauncherConfig
API. - DefaultLauncherConfig(boolean, boolean, boolean, boolean, boolean, Collection<TestEngine>, Collection<LauncherSessionListener>, Collection<LauncherDiscoveryListener>, Collection<TestExecutionListener>, Collection<PostDiscoveryFilter>) - Constructor for class org.junit.platform.launcher.core.DefaultLauncherConfig
- DefaultLauncherSession - Class in org.junit.platform.launcher.core
- DefaultLauncherSession(List<LauncherInterceptor>, Supplier<LauncherSessionListener>, Supplier<Launcher>) - Constructor for class org.junit.platform.launcher.core.DefaultLauncherSession
- DefaultLauncherSession.ClosedLauncher - Class in org.junit.platform.launcher.core
- DefaultMethodDescriptor - Class in org.junit.jupiter.engine.discovery
-
Default implementation of
MethodDescriptor
, backed by aMethodBasedTestDescriptor
. - DefaultMethodDescriptor(MethodBasedTestDescriptor) - Constructor for class org.junit.jupiter.engine.discovery.DefaultMethodDescriptor
- DefaultMethodOrdererContext - Class in org.junit.jupiter.engine.discovery
-
Default implementation of
MethodOrdererContext
. - DefaultMethodOrdererContext(Class<?>, List<? extends MethodDescriptor>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- defaultMethodSorter(Method, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Method comparator based upon JUnit 4's
org.junit.internal.MethodSorter
implementation. - DefaultParallelExecutionConfiguration - Class in org.junit.platform.engine.support.hierarchical
- DefaultParallelExecutionConfiguration(int, int, int, int, int, Predicate<? super ForkJoinPool>) - Constructor for class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- DefaultParallelExecutionConfigurationStrategy - Enum Class in org.junit.platform.engine.support.hierarchical
-
Default implementations of configuration strategies for parallel test execution.
- DefaultParallelExecutionConfigurationStrategy() - Constructor for enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
- DefaultParameterContext - Class in org.junit.jupiter.engine.execution
- DefaultParameterContext(Parameter, int, Optional<Object>) - Constructor for class org.junit.jupiter.engine.execution.DefaultParameterContext
- DefaultRepetitionInfo - Class in org.junit.jupiter.engine.extension
-
Default implementation of
RepetitionInfo
. - DefaultRepetitionInfo(int, int, AtomicInteger, int) - Constructor for class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- DefaultTestInfo(ExtensionContext) - Constructor for class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- DefaultTestInstanceFactoryContext - Class in org.junit.jupiter.engine.descriptor
-
Default implementation of the
TestInstanceFactoryContext
API. - DefaultTestInstanceFactoryContext(Class<?>, Optional<Object>) - Constructor for class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- DefaultTestInstances - Class in org.junit.jupiter.engine.execution
- DefaultTestInstances(List<Object>) - Constructor for class org.junit.jupiter.engine.execution.DefaultTestInstances
- Default Timeouts - Search tag in annotation interface org.junit.jupiter.api.Timeout
- Section
- defaultToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied
Object
to a defaultString
representation using the following algorithm. - DefaultUriSource - Class in org.junit.platform.engine.support.descriptor
-
Default implementation of
UriSource
. - DefaultUriSource(URI) - Constructor for class org.junit.platform.engine.support.descriptor.DefaultUriSource
- DefensiveAllDefaultPossibilitiesBuilder - Class in org.junit.vintage.engine.discovery
-
Customization of
AllDefaultPossibilitiesBuilder
from JUnit 4 to ignore certain classes that would otherwise be reported as errors or cause infinite recursion. - DefensiveAllDefaultPossibilitiesBuilder() - Constructor for class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- DefensiveAllDefaultPossibilitiesBuilder.DefensiveAnnotatedBuilder - Class in org.junit.vintage.engine.discovery
-
Customization of
AnnotatedBuilder
that ignores classes annotated with@RunWith(JUnitPlatform.class)
to avoid infinite recursion. - DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder - Class in org.junit.vintage.engine.discovery
-
Customization of
JUnit4Builder
that ignores classes that do not contain any test methods in order not to report errors for them. - DefensiveAllDefaultPossibilitiesBuilder.NullIgnoredBuilder - Class in org.junit.vintage.engine.discovery
-
Customization of
IgnoredBuilder
that always returnsnull
. - DefensiveAnnotatedBuilder(RunnerBuilder) - Constructor for class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveAnnotatedBuilder
- DefensiveJUnit4Builder() - Constructor for class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder
- delegate - Variable in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- delegate - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- delegate - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- delegate - Variable in class org.junit.jupiter.engine.extension.SeparateThreadTimeoutInvocation
- delegate - Variable in class org.junit.platform.commons.util.CloseablePath
- delegate - Variable in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- delegate - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- delegate - Variable in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- delegate - Variable in class org.junit.platform.launcher.core.DelegatingLauncher
- delegate - Variable in class org.junit.platform.launcher.core.InternalTestPlan
- delegate - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- DelegatingEngineExecutionListener - Class in org.junit.platform.launcher.core
- DelegatingEngineExecutionListener(EngineExecutionListener) - Constructor for class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- DelegatingLauncher - Class in org.junit.platform.launcher.core
- DelegatingLauncher(Launcher) - Constructor for class org.junit.platform.launcher.core.DelegatingLauncher
- DelegatingLogger(String) - Constructor for class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- delete(Path) - Method in interface org.junit.jupiter.engine.extension.TempDirectory.FileOperations
- deleteAllFilesAndDirectories(TempDirectory.FileOperations) - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- delimiter() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter character to use when reading the CSV files.
- delimiter() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The column delimiter character to use when reading the records.
- delimiterString() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The column delimiter string to use when reading the CSV files.
- delimiterString() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The column delimiter string to use when reading the records.
- deque - Variable in class org.junit.platform.launcher.tagexpression.DequeStack
- DequeStack<T> - Class in org.junit.platform.launcher.tagexpression
- DequeStack() - Constructor for class org.junit.platform.launcher.tagexpression.DequeStack
- descendants - Variable in class org.junit.vintage.engine.discovery.UniqueIdFilter
- describe() - Method in class org.junit.vintage.engine.descriptor.OrFilter
- describe() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- describe() - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
- describe(ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- describe(UniqueId.Segment) - Method in class org.junit.platform.engine.UniqueIdFormat
- describeTest(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- description - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- description - Variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- descriptions - Variable in class org.junit.platform.runner.JUnitPlatformTestTree
- descriptionSupplier - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- descriptionSupplier - Variable in class org.junit.jupiter.engine.extension.SeparateThreadTimeoutInvocation
- descriptionSupplier - Variable in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- descriptionToDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
- DescriptionUtils - Class in org.junit.vintage.engine.descriptor
- DescriptionUtils() - Constructor for class org.junit.vintage.engine.descriptor.DescriptionUtils
- descriptors - Variable in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- descriptorsAddedMessageGenerator - Variable in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- descriptorsRemovedMessageGenerator - Variable in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- DescriptorWrapperOrderer(Consumer<List<WRAPPER>>, AbstractOrderingVisitor.MessageGenerator, AbstractOrderingVisitor.MessageGenerator) - Constructor for class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- deserialize(ObjectInputStream) - Static method in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- detectInnerClassCycle(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Detect a cycle in the inner class hierarchy in which the supplied class resides — from the supplied class up to the outermost enclosing class — and throw a
JUnitException
if a cycle is detected. - determineCleanupMode(TempDir) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineCleanupModeForField(Field) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineCleanupModeForParameter(ParameterContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineCurrentOs() - Static method in enum class org.junit.jupiter.api.condition.OS
- determineCurrentVersion() - Static method in enum class org.junit.jupiter.api.condition.JRE
- determineDescendants(Optional<? extends TestDescriptor>) - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
- determineDisplayName(AnnotatedElement, Supplier<String>) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- determineDisplayNameForMethod(Class<?>, Method, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- determineEnumClass(ExtensionContext, EnumSource) - Method in class org.junit.jupiter.params.provider.EnumArgumentsProvider
- determineFullyQualifiedClassName(Path, String, Path) - Method in class org.junit.platform.commons.util.ClasspathScanner
- determinePath(RunnerTestDescriptor, Optional<? extends TestDescriptor>) - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
- determineReasonForIgnoredTest(TestDescriptor, Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- determineSimpleClassName(Path) - Method in class org.junit.platform.commons.util.ClasspathScanner
- determineSubpackageName(Path, Path) - Method in class org.junit.platform.commons.util.ClasspathScanner
- determineTempDirFactory(TempDir, TempDirectory.Scope) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineTempDirFactoryForField(Field, TempDirectory.Scope) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineTempDirFactoryForParameter(ParameterContext, TempDirectory.Scope) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- determineUniqueIdGenerator(String, List<Description>) - Method in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- dir - Variable in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- directory - Variable in class org.junit.platform.engine.support.descriptor.DirectorySource
- DirectorySelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a directory so thatTestEngines
can discover tests or containers based on directories in the file system. - DirectorySelector(String) - Constructor for class org.junit.platform.engine.discovery.DirectorySelector
- DirectorySource - Class in org.junit.platform.engine.support.descriptor
-
Directory based
TestSource
. - DirectorySource(File) - Constructor for class org.junit.platform.engine.support.descriptor.DirectorySource
- disabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating disabled results.
- disabled(String, String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating disabled results with custom reasons added by the user.
- Disabled - Annotation Interface in org.junit.jupiter.api
-
@Disabled
is used to signal that the annotated test class or test method is currently disabled and should not be executed. - DISABLED_MODE_VALUE - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- DISABLED_ON_CURRENT_JRE - Static variable in class org.junit.jupiter.api.condition.EnabledOnJreCondition
- DISABLED_ON_DEBUG_MODE_VALUE - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- DisabledCondition - Class in org.junit.jupiter.engine.extension
-
ExecutionCondition
that supports the@Disabled
annotation. - DisabledCondition() - Constructor for class org.junit.jupiter.engine.extension.DisabledCondition
- DisabledForJreRange - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledForJreRange
is used to signal that the annotated test class or test method is only disabled for a specific range of Java Runtime Environment (JRE) versions fromDisabledForJreRange.min()
toDisabledForJreRange.max()
. - DisabledForJreRangeCondition - Class in org.junit.jupiter.api.condition
- DisabledForJreRangeCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledForJreRangeCondition
- DisabledIf - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledIf
is used to signal that the annotated test class or test method is disabled only if the provided condition evaluates totrue
. - DisabledIfCondition - Class in org.junit.jupiter.api.condition
- DisabledIfCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledIfCondition
- DisabledIfEnvironmentVariable - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is disabled if the value of the specified environment variable matches the specified regular expression. - DisabledIfEnvironmentVariableCondition - Class in org.junit.jupiter.api.condition
- DisabledIfEnvironmentVariableCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledIfEnvironmentVariableCondition
- DisabledIfEnvironmentVariables - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledIfEnvironmentVariables
is a container for one or more@DisabledIfEnvironmentVariable
declarations. - DisabledIfSystemProperties - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledIfSystemProperties
is a container for one or more@DisabledIfSystemProperty
declarations. - DisabledIfSystemProperty - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledIfSystemProperty
is used to signal that the annotated test class or test method is disabled if the value of the specified system property matches the specified regular expression. - DisabledIfSystemPropertyCondition - Class in org.junit.jupiter.api.condition
- DisabledIfSystemPropertyCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledIfSystemPropertyCondition
- DisabledInNativeImage - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledInNativeImage
is used to signal that the annotated test class or test method is only disabled when executing within a GraalVM native image. - DisabledOnJre - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledOnJre
is used to signal that the annotated test class or test method is disabled on one or more specified Java Runtime Environment (JRE) versions. - DisabledOnJreCondition - Class in org.junit.jupiter.api.condition
- DisabledOnJreCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledOnJreCondition
- DisabledOnOs - Annotation Interface in org.junit.jupiter.api.condition
-
@DisabledOnOs
is used to signal that the annotated test class or test method is disabled on one or more specified operating systems or on one or more specified architectures - DisabledOnOsCondition - Class in org.junit.jupiter.api.condition
- DisabledOnOsCondition() - Constructor for class org.junit.jupiter.api.condition.DisabledOnOsCondition
- disabledReason - Variable in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIf
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledOnJre
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.DisabledOnOs
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIf
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledOnJre
-
Custom reason to provide if the test or container is disabled.
- disabledReason() - Element in annotation interface org.junit.jupiter.api.condition.EnabledOnOs
-
Custom reason to provide if the test or container is disabled.
- DisableParentConfigurationParameters - Annotation Interface in org.junit.platform.suite.api
-
Disable parent configuration parameters.
- Disabling Timeouts - Search tag in annotation interface org.junit.jupiter.api.Timeout
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.AnnotationUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.BlacklistedExceptions
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassFilter
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassLoaderUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClassUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ClasspathScanner
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.CollectionUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ExceptionUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.FunctionUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ModuleUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.PackageUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.Preconditions
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ReflectionUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.RuntimeUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.StringUtils
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.ToStringBuilder
- Section
- DISCLAIMER - Search tag in class org.junit.platform.commons.util.UnrecoverableExceptions
- Section
- DISCLAIMER - Search tag in package org.junit.platform.commons
- Section
- DISCLAIMER - Search tag in package org.junit.platform.commons.logging
- Section
- DISCLAIMER - Search tag in package org.junit.platform.commons.util
- Section
- DISCLAIMER - Search tag in package org.junit.platform.suite.commons
- Section
- discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- discover(EngineDiscoveryRequest, UniqueId) - Method in interface org.junit.platform.engine.TestEngine
-
Discover tests according to the supplied
EngineDiscoveryRequest
. - discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.discovery.VintageDiscoverer
- discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.vintage.engine.VintageTestEngine
- discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.DelegatingLauncher
- discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.InterceptingLauncher
- discover(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- discover(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
-
Discover tests and build a
TestPlan
according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results. - discover(LauncherDiscoveryRequest, EngineDiscoveryOrchestrator.Phase) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- discover(LauncherDiscoveryRequest, EngineDiscoveryOrchestrator.Phase) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
-
Discovers tests for the supplied request in the supplied phase using the configured test engines.
- discover(LauncherDiscoveryRequest, EngineDiscoveryOrchestrator.Phase, Function<String, UniqueId>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- discover(LauncherDiscoveryRequest, EngineDiscoveryOrchestrator.Phase, UniqueId) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
-
Discovers tests for the supplied request in the supplied phase using the configured test engines to be used by the suite engine.
- discoverEngineRoot(TestEngine, LauncherDiscoveryRequest, LauncherDiscoveryListener, Function<String, UniqueId>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- discoverSafely(LauncherDiscoveryRequest, EngineDiscoveryOrchestrator.Phase, LauncherDiscoveryListener, Function<String, UniqueId>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- DISCOVERY - Enum constant in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
- DiscoveryFilter<T> - Interface in org.junit.platform.engine
-
A
DiscoveryFilter
is applied during test discovery to determine if a given container or test should be included in the test plan. - discoveryFilters - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- discoveryFilters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- discoveryListener - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- discoveryListeners - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- discoveryListeners - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- discoveryOrchestrator - Variable in class org.junit.platform.launcher.core.DefaultLauncher
- discoveryResult - Variable in class org.junit.platform.launcher.core.InternalTestPlan
- discoveryResultValidator - Variable in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- DiscoverySelector - Interface in org.junit.platform.engine
-
A selector defines what a
TestEngine
can use to discover tests — for example, the name of a Java class, the path to a file or directory, etc. - DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
-
DiscoverySelectorResolver
resolvesTestDescriptors
for containers and tests selected by DiscoverySelectors with the help of theJavaElementsResolver
. - DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- DiscoverySelectors - Class in org.junit.platform.engine.discovery
-
Collection of
static
factory methods for creatingDiscoverySelectors
. - DiscoverySelectors() - Constructor for class org.junit.platform.engine.discovery.DiscoverySelectors
- DISPLAY_NAME_PATTERN_KEY - Static variable in class org.junit.jupiter.params.ParameterizedTestExtension
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
- DISPLAY_NAME_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
- displayName - Variable in class org.junit.jupiter.api.DynamicNode
- displayName - Variable in class org.junit.jupiter.engine.extension.RepeatedTestDisplayNameFormatter
- displayName - Variable in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- displayName - Variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- displayName - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- displayName - Variable in class org.junit.platform.launcher.TestIdentifier
- displayName - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- displayName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if the display name of anEvent
's test descriptor is equal to the suppliedString
. - DisplayName - Annotation Interface in org.junit.jupiter.api
-
@DisplayName
is used to declare a custom display name for the annotated test class or test method. - DisplayName() - Constructor for class org.junit.jupiter.api.ClassOrderer.DisplayName
- DisplayName() - Constructor for class org.junit.jupiter.api.MethodOrderer.DisplayName
- displayNameFormatter(RepeatedTest, Method, String) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
- DisplayNameGeneration - Annotation Interface in org.junit.jupiter.api
-
@DisplayNameGeneration
is used to declare a custom display name generator for the annotated test class. - DisplayNameGenerator - Interface in org.junit.jupiter.api
-
DisplayNameGenerator
defines the SPI for generating display names programmatically. - DisplayNameGenerator.IndicativeSentences - Class in org.junit.jupiter.api
-
DisplayNameGenerator
that generates complete sentences. - DisplayNameGenerator.ReplaceUnderscores - Class in org.junit.jupiter.api
-
DisplayNameGenerator
that replaces underscores with spaces. - DisplayNameGenerator.Simple - Class in org.junit.jupiter.api
-
Simple
DisplayNameGenerator
that removes trailing parentheses for methods with no parameters. - DisplayNameGenerator.Standard - Class in org.junit.jupiter.api
-
Standard
DisplayNameGenerator
. - displayNameGeneratorConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- DisplayNameUtils - Class in org.junit.jupiter.engine.descriptor
-
Collection of utilities for working with display names.
- DisplayNameUtils() - Constructor for class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- doesNotContainIsoControlCharacter(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
does not contain any ISO control characters. - doesNotContainReservedCharacter(String) - Static method in class org.junit.platform.engine.TestTag
- doesNotContainWhitespace(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
does not contain any whitespace characters. - doForChildrenRecursively(TestDescriptor, Consumer<TestDescriptor>) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- doNotSkip() - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating do not skip results.
- DOUBLE_TAB - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- doubles() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
double
values to use as sources of arguments; must not be empty. - doublesAreEqual(double, double) - Static method in class org.junit.jupiter.api.AssertionUtils
- doublesAreEqual(double, double, double) - Static method in class org.junit.jupiter.api.AssertionUtils
- doWithMatchingDescriptor(Class<PARENT>, TestDescriptor, Consumer<PARENT>, Function<PARENT, String>) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor
- DRY_RUN_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable dry-run mode for test execution.
- dryRun(TestPlan, TestExecutionListener) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- duration - Variable in class org.junit.platform.testkit.engine.Execution
- DYNAMIC - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Computes the desired parallelism based on the number of available processors/cores multiplied by the "dynamic.factor" configuration parameter.
- DYNAMIC_CONTAINER_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- DYNAMIC_TEST_REGISTERED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptor
has been dynamically registered. - DYNAMIC_TEST_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- dynamicallyRegistered() - Method in class org.junit.platform.testkit.engine.Events
-
Get the dynamic registration
Events
contained in thisEvents
object. - dynamicallyRegistered(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected dynamic registration events.
- dynamicContainer - Variable in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- dynamicContainer(String, Iterable<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and collection of dynamic nodes. - dynamicContainer(String, URI, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name, custom test sourceURI
, and stream of dynamic nodes. - dynamicContainer(String, Stream<? extends DynamicNode>) - Static method in class org.junit.jupiter.api.DynamicContainer
-
Factory for creating a new
DynamicContainer
for the supplied display name and stream of dynamic nodes. - DynamicContainer - Class in org.junit.jupiter.api
-
A
DynamicContainer
is a container generated at runtime. - DynamicContainer(String, URI, Stream<? extends DynamicNode>) - Constructor for class org.junit.jupiter.api.DynamicContainer
- DynamicContainerTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for aDynamicContainer
. - DynamicContainerTestDescriptor(UniqueId, int, DynamicContainer, TestSource, DynamicDescendantFilter, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- dynamicDescendantFilter - Variable in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- dynamicDescendantFilter - Variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- dynamicDescendantFilter - Variable in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- DynamicDescendantFilter - Class in org.junit.jupiter.engine.descriptor
-
Filter for dynamic descendants of
TestDescriptors
that implementFilterable
. - DynamicDescendantFilter() - Constructor for class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- DynamicDescendantFilter.Mode - Enum Class in org.junit.jupiter.engine.descriptor
- DynamicDescendantFilter.WithoutIndexFiltering - Class in org.junit.jupiter.engine.descriptor
- dynamicDescendantSegmentTypes - Variable in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- DynamicExtensionContext - Class in org.junit.jupiter.engine.descriptor
- DynamicExtensionContext(ExtensionContext, EngineExecutionListener, DynamicNodeTestDescriptor, JupiterConfiguration, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- DynamicNode - Class in org.junit.jupiter.api
-
DynamicNode
serves as the abstract base class for a container or a test case generated at runtime. - DynamicNode(String, URI) - Constructor for class org.junit.jupiter.api.DynamicNode
- DynamicNodeTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
Base
TestDescriptor
for aDynamicNode
. - DynamicNodeTestDescriptor(UniqueId, int, DynamicNode, TestSource, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.DynamicNodeTestDescriptor
- dynamicTest - Variable in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
- dynamicTest(String, URI, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTest
for the supplied display name, custom test sourceURI
, and executable code block. - dynamicTest(String, Executable) - Static method in class org.junit.jupiter.api.DynamicTest
-
Factory for creating a new
DynamicTest
for the supplied display name and executable code block. - DynamicTest - Class in org.junit.jupiter.api
-
A
DynamicTest
is a test case generated at runtime. - DynamicTest(String, URI, Executable) - Constructor for class org.junit.jupiter.api.DynamicTest
- DynamicTestInvocationContext - Interface in org.junit.jupiter.api.extension
-
DynamicTestInvocationContext
represents the context of a single invocation of a dynamic test. - dynamicTestRegistered(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.DYNAMIC_TEST_REGISTERED
and its unique id contains the suppliedString
. - dynamicTestRegistered(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.DYNAMIC_TEST_REGISTERED
and it matches the suppliedCondition
. - dynamicTestRegistered(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when a new, dynamic
TestDescriptor
has been registered. - dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- dynamicTestRegistered(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Event
for the dynamic registration of the suppliedTestDescriptor
. - dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a dynamically registered container or test. - dynamicTestRegistered(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- dynamicTestRegistered(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when a new, dynamic
TestIdentifier
has been registered. - dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- DynamicTestTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for aDynamicTest
. - DynamicTestTestDescriptor(UniqueId, int, DynamicTest, TestSource, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
E
- eagerTestExecutionListeners - Variable in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- element - Variable in class org.junit.platform.launcher.tagexpression.TokenWith
- ELLIPSIS - Static variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- EMPTY_CHAR - Static variable in class org.junit.jupiter.params.provider.CsvParserFactory
- EMPTY_CLASS_ARRAY - Static variable in class org.junit.platform.commons.util.ReflectionUtils
- EmptyArgumentsProvider - Class in org.junit.jupiter.params.provider
- EmptyArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.EmptyArgumentsProvider
- EmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@EmptySource
is anArgumentsSource
which provides a single empty argument to the annotated@ParameterizedTest
method. - emptyTagExpression() - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The empty value to use when reading the CSV files.
- emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The empty value to use when reading the records.
- ENABLE_LAUNCHER_INTERCEPTORS - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable support for
LauncherInterceptor
instances to be registered via theServiceLoader
mechanism: "junit.platform.launcher.interceptors.enabled" - enabled - Variable in class org.junit.jupiter.api.extension.ConditionEvaluationResult
- enabled - Variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating enabled results.
- ENABLED - Static variable in class org.junit.jupiter.api.condition.DisabledIfEnvironmentVariableCondition
- ENABLED - Static variable in class org.junit.jupiter.api.condition.DisabledIfSystemPropertyCondition
- ENABLED - Static variable in class org.junit.jupiter.api.condition.EnabledIfEnvironmentVariableCondition
- ENABLED - Static variable in class org.junit.jupiter.api.condition.EnabledIfSystemPropertyCondition
- ENABLED - Static variable in class org.junit.jupiter.engine.execution.ConditionEvaluator
- ENABLED - Static variable in class org.junit.jupiter.engine.extension.DisabledCondition
- ENABLED - Static variable in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
- ENABLED_MODE_VALUE - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- ENABLED_ON_CURRENT_JRE - Static variable in class org.junit.jupiter.api.condition.EnabledOnJreCondition
- enabledByDefault() - Method in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- enabledByDefault() - Method in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- enabledByDefault() - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- EnabledForJreRange - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledForJreRange
is used to signal that the annotated test class or test method is only enabled for a specific range of Java Runtime Environment (JRE) versions fromEnabledForJreRange.min()
toEnabledForJreRange.max()
. - EnabledForJreRangeCondition - Class in org.junit.jupiter.api.condition
- EnabledForJreRangeCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledForJreRangeCondition
- EnabledIf - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIf
is used to signal that the annotated test class or test method is enabled only if the provided condition evaluates totrue
. - EnabledIfCondition - Class in org.junit.jupiter.api.condition
- EnabledIfCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledIfCondition
- EnabledIfEnvironmentVariable - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is only enabled if the value of the specified environment variable matches the specified regular expression. - EnabledIfEnvironmentVariableCondition - Class in org.junit.jupiter.api.condition
- EnabledIfEnvironmentVariableCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledIfEnvironmentVariableCondition
- EnabledIfEnvironmentVariables - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariables
is a container for one or more@EnabledIfEnvironmentVariable
declarations. - EnabledIfSystemProperties - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfSystemProperties
is a container for one or more@EnabledIfSystemProperty
declarations. - EnabledIfSystemProperty - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfSystemProperty
is used to signal that the annotated test class or test method is only enabled if the value of the specified system property matches the specified regular expression. - EnabledIfSystemPropertyCondition - Class in org.junit.jupiter.api.condition
- EnabledIfSystemPropertyCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledIfSystemPropertyCondition
- EnabledInNativeImage - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledInNativeImage
is used to signal that the annotated test class or test method is only enabled when executing within a GraalVM native image. - EnabledOnJre - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledOnJre
is used to signal that the annotated test class or test method is only enabled on one or more specified Java Runtime Environment (JRE) versions. - EnabledOnJreCondition - Class in org.junit.jupiter.api.condition
- EnabledOnJreCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledOnJreCondition
- EnabledOnOs - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledOnOs
is used to signal that the annotated test class or test method is only enabled on one or more specified operating systems or one or more specified architectures. - EnabledOnOsCondition - Class in org.junit.jupiter.api.condition
- EnabledOnOsCondition() - Constructor for class org.junit.jupiter.api.condition.EnabledOnOsCondition
- enabledReason - Variable in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Configure whether implicit configuration parameters should be considered.
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Configure whether implicit configuration parameters should be considered.
- enableImplicitProviders(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- EnableJUnit4MigrationSupport - Annotation Interface in org.junit.jupiter.migrationsupport
-
EnableJUnit4MigrationSupport
is a class-level annotation that enables all JUnit 4 migration support within JUnit Jupiter. - enableLauncherDiscoveryListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for launcher discovery listeners.
- enableLauncherSessionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for launcher session listeners.
- enableParentConfigurationParameters - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- enablePostDiscoveryFilterAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for post discovery filters.
- EnableRuleMigrationSupport - Annotation Interface in org.junit.jupiter.migrationsupport.rules
-
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
- enableTestEngineAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for test engines.
- enableTestExecutionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for test execution listeners.
- enclosedTypeOfParameterResolver() - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- enclosingClassSelectors - Variable in class org.junit.platform.engine.discovery.NestedClassSelector
- encode(char) - Static method in class org.junit.platform.engine.UniqueIdFormat
- encode(String) - Method in class org.junit.platform.engine.UniqueIdFormat
- encodeBase64(byte[]) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
- encodedCharacterMap - Variable in class org.junit.platform.engine.UniqueIdFormat
- encoding() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The encoding to use when reading the CSV files; must be a valid charset.
- endIndexExclusive() - Method in class org.junit.platform.launcher.tagexpression.Token
- endInstant - Variable in class org.junit.platform.testkit.engine.Execution
- engine() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that 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.Builder
for theTestEngine
with the supplied ID. - engine(TestEngine) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builder
for 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
- ENGINE_SEGMENT_TYPE - Static variable in class org.junit.platform.engine.UniqueId
- engineAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- engineDescriptor - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- engineDescriptor - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- engineDescriptor - Variable in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
- EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Create a new
EngineDescriptor
with the suppliedUniqueId
and display name. - EngineDiscoveryErrorDescriptor - Class in org.junit.platform.launcher.core
-
Represents an error thrown by a
TestEngine
during discovery. - EngineDiscoveryErrorDescriptor(UniqueId, TestEngine, Throwable) - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryErrorDescriptor
- engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery has finished for an engine.
- engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in class org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- EngineDiscoveryListener - Interface in org.junit.platform.engine
-
EngineDiscoveryListener
containsTestEngine
access to the information necessary to discover tests and containers. - EngineDiscoveryOrchestrator - Class in org.junit.platform.launcher.core
-
Orchestrates test discovery using the configured test engines.
- EngineDiscoveryOrchestrator(Iterable<TestEngine>, Collection<PostDiscoveryFilter>) - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- EngineDiscoveryOrchestrator(Iterable<TestEngine>, Collection<PostDiscoveryFilter>, ListenerRegistry<LauncherDiscoveryListener>) - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- EngineDiscoveryOrchestrator.Phase - Enum Class in org.junit.platform.launcher.core
- EngineDiscoveryRequest - Interface in org.junit.platform.engine
-
EngineDiscoveryRequest
provides aTestEngine
access to the information necessary to discover tests and containers. - EngineDiscoveryRequestResolution - Class in org.junit.platform.engine.support.discovery
- EngineDiscoveryRequestResolution(EngineDiscoveryRequest, TestDescriptor, List<SelectorResolver>, List<TestDescriptor.Visitor>) - Constructor for class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- EngineDiscoveryRequestResolution.DefaultContext - Class in org.junit.platform.engine.support.discovery
- EngineDiscoveryRequestResolver<T> - Class in org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation based on
SelectorResolver
andTestDescriptor.Visitor
that can be reused by differentTestEngines
. - EngineDiscoveryRequestResolver(List<Function<EngineDiscoveryRequestResolver.InitializationContext<T>, SelectorResolver>>, List<Function<EngineDiscoveryRequestResolver.InitializationContext<T>, TestDescriptor.Visitor>>) - Constructor for class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
- EngineDiscoveryRequestResolver.Builder<T> - Class in org.junit.platform.engine.support.discovery
-
Builder for
EngineDiscoveryRequestResolver
. - EngineDiscoveryRequestResolver.DefaultInitializationContext<T> - Class in org.junit.platform.engine.support.discovery
- EngineDiscoveryRequestResolver.InitializationContext<T> - Interface in org.junit.platform.engine.support.discovery
-
The initialization context for creating resolvers and visitors that depend on the
EngineDiscoveryRequest
to be resolved or the engine descriptor that will be used to collect the results. - EngineDiscoveryResult - Class in org.junit.platform.launcher
-
EngineDiscoveryResult
encapsulates the result of test discovery by aTestEngine
. - EngineDiscoveryResult(EngineDiscoveryResult.Status, Throwable) - Constructor for class org.junit.platform.launcher.EngineDiscoveryResult
- EngineDiscoveryResult.Status - Enum Class in org.junit.platform.launcher
-
Status of test discovery by a
TestEngine
. - EngineDiscoveryResultValidator - Class in org.junit.platform.launcher.core
-
Perform common validation checks on the result from the `discover()` method.
- EngineDiscoveryResultValidator() - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryResultValidator
- engineDiscoveryStarted(UniqueId) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery is about to be started for an engine.
- engineDiscoveryStarted(UniqueId) - Method in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- engineDiscoveryStarted(UniqueId) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
-
Marker interface for an execution context used by a concrete implementation of
HierarchicalTestEngine
and its collaborators. - engineExecutionListener - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- engineExecutionListener - Variable in class org.junit.platform.engine.ExecutionRequest
- engineExecutionListener - Variable in class org.junit.vintage.engine.execution.RunnerExecutor
- EngineExecutionListener - Interface in org.junit.platform.engine
-
Listener to be notified of test execution events by test engines.
- engineExecutionListeners - Variable in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- EngineExecutionOrchestrator - Class in org.junit.platform.launcher.core
-
Orchestrates test execution using the configured test engines.
- EngineExecutionOrchestrator() - Constructor for class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- EngineExecutionOrchestrator(ListenerRegistry<TestExecutionListener>) - Constructor for class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- EngineExecutionResults - Class in org.junit.platform.testkit.engine
-
EngineExecutionResults
provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine
. - EngineExecutionResults(List<Event>) - Constructor for class org.junit.platform.testkit.engine.EngineExecutionResults
-
Construct
EngineExecutionResults
from the supplied list of recorded events. - EngineFilter - Class in org.junit.platform.launcher
-
An
EngineFilter
is applied to allTestEngines
before they are used. - EngineFilter(List<String>, EngineFilter.Type) - Constructor for class org.junit.platform.launcher.EngineFilter
- EngineFilter.Type - Enum Class in org.junit.platform.launcher
- EngineFilterer - Class in org.junit.platform.launcher.core
- EngineFilterer(List<EngineFilter>) - Constructor for class org.junit.platform.launcher.core.EngineFilterer
- engineFilters - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- engineFilters - Variable in class org.junit.platform.launcher.core.EngineFilterer
- engineFilters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- engineIds - Variable in class org.junit.platform.launcher.EngineFilter
- EngineIdValidator - Class in org.junit.platform.launcher.core
- EngineIdValidator() - Constructor for class org.junit.platform.launcher.core.EngineIdValidator
- engines - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- engineStarted - Variable in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- EngineTestKit - Class in org.junit.platform.testkit.engine
-
EngineTestKit
provides support for executing a test plan for a givenTestEngine
and then accessing the results via a fluent API to verify the expected results. - EngineTestKit() - Constructor for class org.junit.platform.testkit.engine.EngineTestKit
- EngineTestKit.Builder - Class in org.junit.platform.testkit.engine
-
TestEngine
execution builder. - enqueueAdditionalSelectors(SelectorResolver.Resolution) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- ensureInitialized() - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
- ensureOnlySingleExpressionRemains() - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- EnumArgumentsProvider - Class in org.junit.jupiter.params.provider
- EnumArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.EnumArgumentsProvider
- EnumConfigurationParameterConverter<E> - Class in org.junit.jupiter.engine.config
- EnumConfigurationParameterConverter(Class<E>, String) - Constructor for class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- enumDisplayName - Variable in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- EnumSource - Annotation Interface in org.junit.jupiter.params.provider
- EnumSource.Mode - Enum Class in org.junit.jupiter.params.provider
-
Enumeration of modes for selecting enum constants by name.
- EnumSource.Mode.Validator - Interface in org.junit.jupiter.params.provider
- enumType - Variable in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- equals(Object) - Method in class org.junit.jupiter.api.AssertIterableEquals.Pair
- equals(Object) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- equals(Object) - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- equals(Object) - Method in class org.junit.platform.commons.function.Try.Failure
- equals(Object) - Method in class org.junit.platform.commons.function.Try.Success
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.DirectorySelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.discovery.FileSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.IterationSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.MethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ModuleSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.PackageSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UriSelector
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- equals(Object) - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- equals(Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CompositeKey
- equals(Object) - Method in class org.junit.platform.engine.TestTag
- equals(Object) - Method in class org.junit.platform.engine.UniqueId
- equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
- equals(Object) - Method in class org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- equals(Object) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
- error(String) - Static method in class org.junit.platform.launcher.tagexpression.ParseResults
- error(String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- error(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at error level. - error(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- error(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at error level. - error(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- errorAt(Token, String, String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- errorMessage - Variable in class org.junit.platform.launcher.tagexpression.ParseStatus
- errorMessage() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
-
Return the contained parse error message, if any.
- evaluate() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- evaluate(A) - Method in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- evaluate(Collection<TestTag>) - Method in interface org.junit.platform.launcher.tagexpression.TagExpression
-
Evaluate this tag expression against the supplied collection of tags.
- evaluate(DisabledIfEnvironmentVariable) - Method in class org.junit.jupiter.api.condition.DisabledIfEnvironmentVariableCondition
- evaluate(DisabledIfSystemProperty) - Method in class org.junit.jupiter.api.condition.DisabledIfSystemPropertyCondition
- evaluate(EnabledIfEnvironmentVariable) - Method in class org.junit.jupiter.api.condition.EnabledIfEnvironmentVariableCondition
- evaluate(EnabledIfSystemProperty) - Method in class org.junit.jupiter.api.condition.EnabledIfSystemPropertyCondition
- evaluate(ExecutionCondition, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
- evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
-
Evaluate all
ExecutionCondition
extensions registered for the suppliedExtensionContext
. - EvaluatedValue(NamespacedHierarchicalStore.CompositeKey<N>, int, Object) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- evaluateExecutionCondition(A) - Method in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- evaluateExecutionCondition(DisabledOnOs) - Method in class org.junit.jupiter.api.condition.DisabledOnOsCondition
- evaluateExecutionCondition(EnabledOnOs) - Method in class org.junit.jupiter.api.condition.EnabledOnOsCondition
- evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.api.condition.AbstractOsBasedExecutionCondition
- evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- evaluateExecutionCondition(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ExecutionCondition
-
Evaluate this condition for the supplied
ExtensionContext
. - evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.DisabledCondition
-
Containers/tests are disabled if
@Disabled
is present on the test class or method. - evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepetitionExtension
- evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
-
Containers/tests are disabled if
@Ignore
is present on the test class or method. - evaluateIfNotNull(NamespacedHierarchicalStore.StoredValue) - Static method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- evaluateSafely(NamespacedHierarchicalStore.CompositeKey<N>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- evaluationException(Class<?>, Exception) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
- event(Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
matches all of the supplied conditions. - Event - Class in org.junit.platform.testkit.engine
-
Event
represents a single event fired during execution of a test plan on the JUnit Platform. - Event(EventType, TestDescriptor, Object) - Constructor for class org.junit.platform.testkit.engine.Event
-
Construct an
Event
with the supplied arguments. - EventConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
Event
. - EventConditions() - Constructor for class org.junit.platform.testkit.engine.EventConditions
- events - Variable in class org.junit.platform.testkit.engine.Events
- events - Variable in class org.junit.platform.testkit.engine.EventStatistics
- events - Variable in class org.junit.platform.testkit.engine.ExecutionRecorder
- Events - Class in org.junit.platform.testkit.engine
-
Events
is a facade that provides a fluent API for working with events. - Events(List<Event>, String) - Constructor for class org.junit.platform.testkit.engine.Events
- Events(Stream<Event>, String) - Constructor for class org.junit.platform.testkit.engine.Events
- eventsByType(EventType) - Method in class org.junit.platform.testkit.engine.Events
- EventStatistics - Class in org.junit.platform.testkit.engine
-
EventStatistics
provides a fluent API for asserting statistics for events. - EventStatistics(Events, String) - Constructor for class org.junit.platform.testkit.engine.EventStatistics
- EventType - Enum Class in org.junit.platform.testkit.engine
-
Enumeration of the different possible
Event
types. - EventType - Enum Class in org.junit.vintage.engine.execution
- EventType() - Constructor for enum class org.junit.platform.testkit.engine.EventType
- EventType() - Constructor for enum class org.junit.vintage.engine.execution.EventType
- exact(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match without any children.
- exact(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match with potential children.
- EXACT - Enum constant in enum class org.junit.platform.engine.support.discovery.SelectorResolver.Match.Type
- Example - Search tag in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- Section
- Example - Search tag in interface org.junit.platform.launcher.core.LauncherConfig
- Section
- Example - Search tag in org.junit.jupiter.params.provider.CsvFileSource.useHeadersInDisplayName()
- Section
- Example - Search tag in org.junit.jupiter.params.provider.CsvSource.textBlock()
- Section
- Example - Search tag in org.junit.jupiter.params.provider.CsvSource.useHeadersInDisplayName()
- Section
- Example - Search tag in org.junit.jupiter.params.provider.CsvSource.value()
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchExactly(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLoosely(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLooselyInOrder(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertStatistics(Consumer<EventStatistics>)
- Section
- Examples - Search tag in annotation interface org.junit.jupiter.params.provider.MethodSource
- Section
- Examples - Search tag in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- Section
- Examples - Search tag in org.junit.platform.launcher.LauncherConstants.DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
- Section
- Example Usage - Search tag in annotation interface org.junit.jupiter.api.TestClassOrder
- Section
- Example Usage - Search tag in annotation interface org.junit.jupiter.api.TestMethodOrder
- Section
- Example Usage - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(String)
- Section
- Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(TestEngine)
- Section
- exception - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- EXCEPTION_WAS_HANDLED - Static variable in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- Exception Handling - Search tag in interface org.junit.jupiter.api.extension.TestWatcher
- Section
- ExceptionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with exceptions.
- ExceptionUtils() - Constructor for class org.junit.platform.commons.util.ExceptionUtils
- EXCLUDE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select all declared enum constants except those supplied via the
EnumSource.names()
attribute. - EXCLUDE - Enum constant in enum class org.junit.platform.launcher.EngineFilter.Type
- ExcludeClassNameFilter - Class in org.junit.platform.engine.discovery
-
ClassNameFilter
that matches fully qualified class names against patterns in the form of regular expressions. - ExcludeClassNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new exclude
ClassNameFilter
based on the supplied patterns. - ExcludeClassNamePatterns - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeClassNamePatterns
specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform. - excluded() - Method in class org.junit.platform.engine.FilterResult
- excluded(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating excluded results.
- ExcludeDescriptionFilter(Description) - Constructor for class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new exclude
EngineFilter
based on the supplied engine IDs. - excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new exclude
EngineFilter
based on the supplied engine IDs. - ExcludeEngines - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeEngines
specifies the IDs ofTestEngines
to be excluded when running a test suite on the JUnit Platform. - excludeMatching(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- excludeMatchingClasses(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
-
Create a
Predicate
that can be used to exclude (i.e., filter out) objects of typeT
whose fully qualified class names match any of the supplied patterns. - excludeMatchingClasses(String, Function<T, String>) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- excludeMatchingClassNames(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
-
Create a
Predicate
that can be used to exclude (i.e., filter out) fully qualified class names matching any of the supplied patterns. - ExcludePackageNameFilter - Class in org.junit.platform.engine.discovery
-
PackageNameFilter
that matches fully qualified package names that are not prefixed by one of the package names provided to the filter. - ExcludePackageNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilter
based on the supplied package names. - excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilter
based on the supplied package names. - ExcludePackages - Annotation Interface in org.junit.platform.suite.api
-
@ExcludePackages
specifies the packages to be excluded when running a test suite on the JUnit Platform. - excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an exclude filter based on the supplied tag expressions.
- excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an exclude filter based on the supplied tag expressions.
- ExcludeTags - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeTags
specifies the tags or tag expressions to be excluded when running a test suite on the JUnit Platform. - exclusionReasonExpressionNotSatisfy(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- exclusionReasonExpressionSatisfy(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- ExclusiveResource - Class in org.junit.platform.engine.support.hierarchical
-
An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.
- ExclusiveResource(String, ExclusiveResource.LockMode) - Constructor for class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Create a new
ExclusiveResource
. - ExclusiveResource.LockMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
LockMode
translates to the respectiveReadWriteLock
locks. - ExclusiveTask(HierarchicalTestExecutorService.TestTask) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask
- executable - Variable in class org.junit.jupiter.api.DynamicTest
- executable - Variable in class org.junit.jupiter.engine.descriptor.DefaultDynamicTestInvocationContext
- Executable - Interface in org.junit.jupiter.api.function
-
Executable
is a functional interface that can be used to implement any generic block of code that potentially throws aThrowable
. - executableInvoker - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- executableInvoker - Static variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- executableInvoker - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- executableInvoker - Static variable in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- ExecutableInvoker - Interface in org.junit.jupiter.api.extension
-
ExecutableInvoker
allows invoking methods and constructors with support for dynamic resolution of parameters viaParameterResolvers
. - executables - Variable in class org.junit.platform.testkit.engine.EventStatistics
- execute() - Method in interface org.junit.jupiter.api.function.Executable
- execute() - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Execute this task.
- execute() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
-
Deprecated.Execute the test.
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
-
Execute this executable, potentially throwing a
Throwable
that signals abortion or failure. - execute() - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- execute() - Method in interface org.junit.platform.testkit.engine.Assertions.Executable
- execute() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Execute tests for the configured
TestEngine
, discovery selectors, discovery filters, and configuration parameters. - execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the behavior of this node.
- execute(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
LauncherDiscoveryRequest
using theTestEngine
with the supplied ID. - execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
- execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create an executor service; create an initial execution context; execute the behavior of all nodes in the hierarchy starting with the supplied
request
's root and notify its execution listener of test execution events. - execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
-
Execute tests according to the supplied
ExecutionRequest
. - execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
- execute(Node.DynamicTestExecutor, TestDescriptor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- execute(ThrowableCollector.Executable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Execute the supplied
ThrowableCollector.Executable
and collect anyThrowable
thrown during the execution. - execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution.
- execute(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutor
- execute(TestDescriptor, EngineExecutionListener) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
- execute(TestDescriptor, EngineExecutionListener) - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutor
- execute(TestDescriptor, EngineExecutionListener, ConfigurationParameters, TestEngine) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- 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
LauncherDiscoveryRequest
using the suppliedTestEngine
. - execute(InternalTestPlan, EngineExecutionListener, TestExecutionListener) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- execute(InternalTestPlan, TestExecutionListener[]) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- execute(InternalTestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- execute(LauncherDiscoveryResult, EngineExecutionListener) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
-
Executes tests for the supplied discovery results and notifies the supplied listener of execution events.
- execute(LauncherDiscoveryResult, EngineExecutionListener, TestExecutionListener) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
-
Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and testExecutionListener of execution events.
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DelegatingLauncher
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.InterceptingLauncher
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Execute a
TestPlan
which is built according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution. - execute(TestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- execute(TestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- execute(TestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DelegatingLauncher
- execute(TestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.InterceptingLauncher
- execute(TestPlan, TestExecutionListener...) - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- execute(TestPlan, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Execute the supplied
TestPlan
and notify registered listeners about the progress and results of the execution. - execute(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
- executeAllChildren(VintageEngineDescriptor, EngineExecutionListener) - Method in class org.junit.vintage.engine.VintageTestEngine
- executeAndMaskThrowable(Executable) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- executed - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.InterruptTask
- executed() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
represents a completed execution. - executed(TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create an executed
TerminationInfo
instance for the suppliedTestExecutionResult
. - executeDirectly(TestEngine, EngineDiscoveryRequest, EngineExecutionListener) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
- 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
- executeNonConcurrentTasks(Deque<ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- executeRecursively() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
Deprecated.Execute the supplied
SingleTestExecutor.Executable
and return aTestExecutionResult
based on the outcome. - executeUsingLauncherOrchestration(TestEngine, LauncherDiscoveryRequest, EngineExecutionListener) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
- Execution - Class in org.junit.platform.testkit.engine
-
Execution
encapsulates metadata for the execution of a singleTestDescriptor
. - Execution - Annotation Interface in org.junit.jupiter.api.parallel
-
@Execution
is used to configure the parallel execution mode of a test class or test method. - Execution(TestDescriptor, Instant, Instant, TerminationInfo) - Constructor for class org.junit.platform.testkit.engine.Execution
- EXECUTION - Enum constant in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
- executionAdvisor - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- ExecutionCondition - Interface in org.junit.jupiter.api.extension
-
ExecutionCondition
defines theExtension
API for programmatic, conditional test execution. - executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.launcher.core.StackTracePruningEngineExecutionListener
- executionFinished(TestDescriptor, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Event
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that completed with the providedTestExecutionResult
. - executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
has finished, regardless of the outcome. - executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- executionJustFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.core.CompositeTestExecutionListener.EagerTestExecutionListener
- executionJustFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- executionJustStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.core.CompositeTestExecutionListener.EagerTestExecutionListener
- executionJustStarted(TestIdentifier) - Method in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- executionListener - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- ExecutionListenerAdapter - Class in org.junit.platform.launcher.core
-
An
ExecutionListenerAdapter
adapts aTestPlan
and a correspondingTestExecutionListener
to theEngineExecutionListener
API. - ExecutionListenerAdapter(TestPlan, TestExecutionListener) - Constructor for class org.junit.platform.launcher.core.ExecutionListenerAdapter
- executionListeners - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- ExecutionMode - Enum Class in org.junit.jupiter.api.parallel
-
Supported execution modes for parallel test execution.
- ExecutionMode() - Constructor for enum class org.junit.jupiter.api.parallel.ExecutionMode
- ExecutionMode() - Constructor for enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
- executionModeConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- executionOrchestrator - Variable in class org.junit.platform.launcher.core.DefaultLauncher
- ExecutionRecorder - Class in org.junit.platform.testkit.engine
-
ExecutionRecorder
is anEngineExecutionListener
that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults
. - ExecutionRecorder() - Constructor for class org.junit.platform.testkit.engine.ExecutionRecorder
- ExecutionRequest - Class in org.junit.platform.engine
-
Provides a single
TestEngine
access to the information necessary to execute its tests. - ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
- executionResult - Variable in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- executionResults - Variable in class org.junit.vintage.engine.execution.TestRun
- executions - Variable in class org.junit.platform.testkit.engine.Executions
- executions() - Method in class org.junit.platform.testkit.engine.Events
-
Get the
Executions
for the current set of events. - Executions - Class in org.junit.platform.testkit.engine
-
Executions
is a facade that provides a fluent API for working with executions. - Executions(List<Event>, String) - Constructor for class org.junit.platform.testkit.engine.Executions
- Executions(Stream<Execution>, String) - Constructor for class org.junit.platform.testkit.engine.Executions
- executionsByTerminationInfo(Predicate<TerminationInfo>) - Method in class org.junit.platform.testkit.engine.Executions
- executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- executionSkipped(TestDescriptor, String) - Static method in class org.junit.platform.testkit.engine.Event
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that was skipped. - executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
has been skipped. - executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- executionStarted - Variable in class org.junit.platform.launcher.core.InternalTestPlan
- executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
- executionStarted(TestDescriptor) - Method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- executionStarted(TestDescriptor) - Method in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- executionStarted(TestDescriptor) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- executionStarted(TestDescriptor) - Method in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- executionStarted(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a started
Event
for the suppliedTestDescriptor
. - executionStarted(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that started. - executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
is about to be started. - executionStarted(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- ExecutionTimeoutException(String) - Constructor for exception class org.junit.jupiter.api.AssertTimeoutPreemptively.ExecutionTimeoutException
- executor - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- executor - Variable in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.ExecutorResource
- ExecutorResource(ScheduledExecutorService) - Constructor for class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.ExecutorResource
- executorService - Variable in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- executorService - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- expand() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Expand this match in order to resolve the children of the contained
TestDescriptor
. - expansionCallback(TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- expected - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- expected(Object) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the expected value of the assertion.
- ExpectedExceptionAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- ExpectedExceptionAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
- ExpectedExceptionSupport - Class in org.junit.jupiter.migrationsupport.rules
-
This
Extension
provides native support for theExpectedException
rule from JUnit 4. - ExpectedExceptionSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- expectedLines - Variable in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- explicit(Map<String, String>) - Static method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- EXPLICIT - Enum constant in enum class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.Mode
- explicitParameters - Variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- explicitParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- expressions - Variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- ExtendWith - Annotation Interface in org.junit.jupiter.api.extension
-
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. - Extensibility - Search tag in class org.junit.jupiter.api.Assertions
- Section
- Extension - Interface in org.junit.jupiter.api.extension
-
Marker interface for all extensions.
- ExtensionConfigurationException - Exception Class in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the configuration of an extension.
- ExtensionConfigurationException(String) - Constructor for exception class org.junit.jupiter.api.extension.ExtensionConfigurationException
- ExtensionConfigurationException(String, Throwable) - Constructor for exception class org.junit.jupiter.api.extension.ExtensionConfigurationException
- extensionContext - Variable in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- extensionContext - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- extensionContext - Variable in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- extensionContext - Variable in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- ExtensionContext - Interface in org.junit.jupiter.api.extension
-
ExtensionContext
encapsulates the context in which the current test or container is being executed. - ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
-
A
Namespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
. - ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
-
Store
provides methods for extensions to save and retrieve data. - ExtensionContext.Store.CloseableResource - Interface in org.junit.jupiter.api.extension
-
Classes implementing this interface indicate that they want to
ExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosingStore
is closed. - ExtensionContextException - Exception Class in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the use of an
ExtensionContext
orExtensionContext.Store
. - ExtensionContextException(String) - Constructor for exception class org.junit.jupiter.api.extension.ExtensionContextException
- ExtensionContextException(String, Throwable) - Constructor for exception class org.junit.jupiter.api.extension.ExtensionContextException
- ExtensionRegistrar - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistrar
is used to register extensions. - extensionRegistry - Variable in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- extensionRegistry - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- ExtensionRegistry - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistry
holds all registered extensions (i.e. - Extensions - Annotation Interface in org.junit.jupiter.api.extension
-
@Extensions
is a container for one or more@ExtendWith
declarations. - EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to enable auto-detection and registration of extensions via Java's
ServiceLoader
mechanism: "junit.jupiter.extensions.autodetection.enabled" - ExtensionUtils - Class in org.junit.jupiter.engine.descriptor
-
Collection of utilities for working with extensions and the extension registry.
- ExtensionUtils() - Constructor for class org.junit.jupiter.engine.descriptor.ExtensionUtils
- ExternalResourceAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- ExternalResourceAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- ExternalResourceSupport - Class in org.junit.jupiter.migrationsupport.rules
-
This
Extension
provides native support for subclasses of theExternalResource
rule from JUnit 4. - ExternalResourceSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
- extractNamedArguments(Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- extractPayloads(Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver
F
- factory - Variable in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- factory() - Element in annotation interface org.junit.jupiter.api.io.TempDir
-
Factory for the temporary directory.
- factoryExecutableCache - Static variable in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
-
Cache for factory methods and factory constructors.
- fail() - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test without a failure message.
- fail() - Static method in class org.junit.jupiter.api.AssertionUtils
- fail(String) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given failure
message
. - fail(String) - Static method in class org.junit.jupiter.api.AssertionUtils
- fail(String) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- fail(String, Object...) - Method in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- fail(String, Object, Object) - Static method in class org.junit.platform.testkit.engine.Assertions
- fail(String, Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given failure
message
as well as the underlyingcause
. - fail(String, Throwable) - Static method in class org.junit.jupiter.api.AssertionUtils
- fail(Throwable) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the given underlying
cause
. - fail(Throwable) - Static method in class org.junit.jupiter.api.AssertionUtils
- fail(Supplier<String>) - Static method in class org.junit.jupiter.api.Assertions
-
Fail the test with the failure message retrieved from the given
messageSupplier
. - fail(Supplier<String>) - Static method in class org.junit.jupiter.api.AssertionUtils
- failActualArrayIsNull(Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- failActualIterableIsNull(Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- failArraysNotEqual(Object, Object, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- failed() - Method in class org.junit.platform.testkit.engine.Events
-
Get the failed
Events
contained in thisEvents
object. - failed() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the failed
Executions
contained in thisExecutions
object. - failed(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected failed events.
- failed(Throwable) - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResult
for a failed selector resolution. - failed(Throwable) - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResult
for a failed execution of a test or container with the suppliedthrowable
. - failed(Throwable) - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Create a
EngineDiscoveryResult
for a failed test discovery. - FAILED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEngine
has encountered an error while resolving the selector. - FAILED - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container failed.
- FAILED - Enum constant in enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
-
Indicates that test discovery has failed.
- failEqual(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotEquals
- failExpectedArrayIsNull(Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- failExpectedIterableIsNull(Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- failIfNoTests() - Element in annotation interface org.junit.platform.suite.api.Suite
-
Fail suite if no tests were discovered.
- failIllegalDelta(String) - Static method in class org.junit.jupiter.api.AssertionUtils
- failIterablesNotEqual(Object, Object, Deque<Integer>, Object) - Static method in class org.junit.jupiter.api.AssertIterableEquals
- failNotEqual(long, long, String) - Static method in class org.junit.platform.testkit.engine.Assertions
- failNotEqual(Object, Object, Object) - Static method in class org.junit.jupiter.api.AssertEquals
- failNotFalse(Object) - Static method in class org.junit.jupiter.api.AssertFalse
- failNotNull(Object, Object) - Static method in class org.junit.jupiter.api.AssertNull
- failNotSame(Object, Object, Object) - Static method in class org.junit.jupiter.api.AssertSame
- failNotTrue(Object) - Static method in class org.junit.jupiter.api.AssertTrue
- failNull(Object) - Static method in class org.junit.jupiter.api.AssertNotNull
- failSame(Object, Object) - Static method in class org.junit.jupiter.api.AssertNotSame
- failure(Exception) - Static method in class org.junit.platform.commons.function.Try
-
Convert the supplied exception into a failed
Try
. - Failure(Exception) - Constructor for class org.junit.platform.commons.function.Try.Failure
- Failure(Throwable) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier.Failure
- FAILURE_TRACKER - Static variable in class org.junit.jupiter.engine.extension.TempDirectory
- failureCount - Variable in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- failures - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- failureThreshold - Variable in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- failureThreshold() - Element in annotation interface org.junit.jupiter.api.RepeatedTest
-
Configures the number of failures after which remaining repetitions will be automatically skipped.
- failureThreshold(RepeatedTest, Method) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
- FallbackStringToObjectConverter - Class in org.junit.jupiter.params.converter
-
FallbackStringToObjectConverter
is aStringToObjectConverter
that provides a fallback conversion strategy for converting from aString
to a given target type by invoking a static factory method or factory constructor defined in the target type. - FallbackStringToObjectConverter() - Constructor for class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- FallbackStringToObjectConverter.IsFactoryConstructor - Class in org.junit.jupiter.params.converter
-
Predicate
that determines if theConstructor
supplied toFallbackStringToObjectConverter.IsFactoryConstructor.test(Constructor)
is a non-private factory constructor for the suppliedFallbackStringToObjectConverter.IsFactoryConstructor.targetType
. - FallbackStringToObjectConverter.IsFactoryMethod - Class in org.junit.jupiter.params.converter
-
Predicate
that determines if theMethod
supplied toFallbackStringToObjectConverter.IsFactoryMethod.test(Method)
is a non-private static factory method for the suppliedFallbackStringToObjectConverter.IsFactoryMethod.targetType
. - field - Variable in class org.junit.jupiter.engine.extension.TempDirectory.FieldContext
- FieldContext(Field) - Constructor for class org.junit.jupiter.engine.extension.TempDirectory.FieldContext
- fieldName - Variable in class org.junit.vintage.engine.support.UniqueIdReader
- file - Variable in class org.junit.platform.engine.support.descriptor.FileSource
- file(String) - Method in interface org.junit.jupiter.params.provider.CsvFileArgumentsProvider.InputStreamProvider
- FILE_OPERATIONS_KEY - Static variable in class org.junit.jupiter.engine.extension.TempDirectory
- FILE_URI_SCHEME - Static variable in class org.junit.platform.commons.util.CloseablePath
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.ClassSource
- filePosition - Variable in class org.junit.platform.engine.support.descriptor.FileSource
- FilePosition - Class in org.junit.platform.engine.discovery
- FilePosition - Class in org.junit.platform.engine.support.descriptor
- FilePosition(int) - Constructor for class org.junit.platform.engine.discovery.FilePosition
- FilePosition(int) - Constructor for class org.junit.platform.engine.support.descriptor.FilePosition
- FilePosition(int, int) - Constructor for class org.junit.platform.engine.discovery.FilePosition
- FilePosition(int, int) - Constructor for class org.junit.platform.engine.support.descriptor.FilePosition
- files() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The CSV files to use as the sources of arguments; must not be empty unless
CsvFileSource.resources()
is non-empty. - FileSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a file so thatTestEngines
can discover tests or containers based on files in the file system. - FileSelector(String, FilePosition) - Constructor for class org.junit.platform.engine.discovery.FileSelector
- FileSource - Class in org.junit.platform.engine.support.descriptor
-
File based
TestSource
with an optional position. - FileSource(File) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
- FileSource(File, FilePosition) - Constructor for class org.junit.platform.engine.support.descriptor.FileSource
- fileSystem - Variable in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- FileSystemSource - Interface in org.junit.platform.engine.support.descriptor
-
File system based
TestSource
. - filter(Predicate<? super Event>) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().filter(predicate)
. - filter(Predicate<? super Execution>) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().filter(predicate)
. - filter(Filter) - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- filter(Filter) - Method in class org.junit.vintage.engine.discovery.FilterableIgnoringRunnerDecorator
- Filter<T> - Interface in org.junit.platform.engine
-
A
Filter
can be applied to determine if an object should be included or excluded in a result set. - Filterable - Interface in org.junit.jupiter.engine.descriptor
-
Filterable
is implemented byTestDescriptors
that may register dynamic tests during execution and support selective test execution. - FilterableIgnoringRunnerDecorator - Class in org.junit.vintage.engine.discovery
-
Filterable
IgnoringRunnerDecorator
. - FilterableIgnoringRunnerDecorator(Runner) - Constructor for class org.junit.vintage.engine.discovery.FilterableIgnoringRunnerDecorator
- filterEvents(List<Event>, Predicate<? super TestDescriptor>) - Static method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Filter the supplied list of events using the supplied predicate.
- FilterResult - Class in org.junit.platform.engine
-
The result of applying a
Filter
. - FilterResult(boolean, String) - Constructor for class org.junit.platform.engine.FilterResult
- filters - Variable in class org.junit.platform.engine.CompositeFilter
- filters - Variable in class org.junit.vintage.engine.descriptor.OrFilter
- filters - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- filters(DiscoveryFilter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Deprecated.Please use
EngineTestKit.Builder.filters(Filter...)
instead. - filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
filters
to the request. - filters(Filter<?>...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- filters(Filter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied filters.
- filterStandardClassNamePatterns - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- filterStandardClassNamePatterns(boolean) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- finalizer - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- findAfterAllMethods(Class<?>, boolean) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findAfterEachMethods(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath
root
that match the specifiedclassFilter
andclassNameFilter
predicates. - findAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
moduleName
that match the specifiedclassFilter
andclassNameFilter
predicates. - findAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all classes for the given module name.
- findAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
basePackageName
that match the specifiedclassFilter
andclassNameFilter
predicates. - findAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllFieldsInHierarchy(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findAllMethodsInHierarchy(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all non-synthetic methods in the superclass and interface hierarchy, excluding Object.
- findAllNonSystemBootModuleNames() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Find all non-system boot modules names.
- findAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
, using top-down search semantics within the type hierarchy. - findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
and match the specifiedpredicate
, using top-down search semantics within the type hierarchy. - findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
and match the specifiedpredicate
, using the supplied hierarchy traversal mode. - findAnnotatedFields(Class<?>, Class<? extends Annotation>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find all fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
and match the specifiedpredicate
. - findAnnotatedFields(Object) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the values of all static fields of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
, using top-down search semantics within the type hierarchy. - findAnnotatedFieldValues(Class<?>, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the values of all static fields of the supplied class or interface that are declared to be of the specified
fieldType
and are annotated or meta-annotated with the specifiedannotationType
, using top-down search semantics within the type hierarchy. - findAnnotatedFieldValues(Object, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the values of all non-static fields of the supplied
instance
that are annotated or meta-annotated with the specifiedannotationType
, using top-down search semantics within the type hierarchy. - findAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the values of all non-static fields of the supplied
instance
that are declared to be of the specifiedfieldType
and are annotated or meta-annotated with the specifiedannotationType
, using top-down search semantics within the type hierarchy. - findAnnotatedMethods(Class<?>, Class<? extends Annotation>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all methods of the supplied class or interface that are annotated or meta-annotated with the specified
annotationType
. - findAnnotatedMethods(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotatedMethods(Object) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- findAnnotation(Class<?>, Class<A>, boolean) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Find the first annotation of the specified type that is either directly present, meta-present, or indirectly present on the supplied class, optionally searching recursively through the enclosing class hierarchy if not found on the supplied class.
- findAnnotation(Class<?>, Class<A>, SearchOption) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of the specified type that is either directly present, meta-present, or indirectly present on the supplied class.
- findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Find the first annotation of
annotationType
that is either present or meta-present on theClass
for this descriptor. - findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.extension.AnnotatedElementContext
-
Find the first annotation of
annotationType
that is either present or meta-present on theAnnotatedElement
for this context. - findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Find the first annotation of
annotationType
that is either present or meta-present on theAnnotatedElement
for this context. - findAnnotation(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Find the first annotation of
annotationType
that is either present or meta-present on theMethod
for this descriptor. - findAnnotation(Class<A>) - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- findAnnotation(Class<A>) - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of
annotationType
that is either directly present, meta-present, or indirectly present on the suppliedelement
. - findAnnotation(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotation(AnnotatedElement, Class<A>, boolean, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotation(Parameter, int, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find the first annotation of
annotationType
that is either present or meta-present on the supplied optionalelement
. - findAnnotation(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findAnnotationValues(AnnotatedElement, Class<A>, Function<A, V[]>) - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- findBeforeAllMethods(Class<?>, boolean) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findBeforeEachMethods(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findByUniqueId(UniqueId) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- findByUniqueId(UniqueId) - Method in interface org.junit.platform.engine.TestDescriptor
-
Find the descriptor with the supplied unique ID.
- findClassesForPath(Path, String, ClassFilter) - Method in class org.junit.platform.commons.util.ClasspathScanner
- findClassesForUri(URI, String, ClassFilter) - Method in class org.junit.platform.commons.util.ClasspathScanner
- findClassesForUris(List<URI>, String, ClassFilter) - Method in class org.junit.platform.commons.util.ClasspathScanner
-
Recursively scan for classes in all of the supplied source directories.
- findConstructors(Class<?>, Predicate<Constructor<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all constructors in the supplied class that match the supplied predicate.
- findConsumedAnnotationType(T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- findDisplayNameGeneration(Class<?>) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
-
Find the first
DisplayNameGeneration
annotation that is either directly present, meta-present, or indirectly present on the suppliedtestClass
or on an enclosing class. - findDisplayNameGenerator(Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- findEvent(List<Event>, SoftAssertions, Condition<? super Event>) - Static method in class org.junit.platform.testkit.engine.Events
- findFactoryConstructor(Class<?>) - Static method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- findFactoryExecutable(Class<?>) - Static method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- findFactoryMethod(Class<?>) - Static method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- findFactoryMethod(Class<?>, Method, String) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- findFactoryMethodByFullyQualifiedName(Class<?>, Method, String) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- findFactoryMethodBySimpleName(Class<?>, Method, String) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
-
Find the factory method by searching for all methods in the given
clazz
with the desiredfactoryMethodName
which have return types that can be converted to aStream
, ignoring thetestMethod
itself as well as any@Test
,@TestTemplate
, or@TestFactory
methods with the same name. - findFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all fields of the supplied class or interface that match the specified
predicate
. - findFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findIndicativeSentencesGeneration(Class<?>) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
-
Find the first
IndicativeSentencesGeneration
annotation that is either directly present, meta-present, or indirectly present on the suppliedtestClass
or on an enclosing class. - findInstance(Class<T>) - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Find the first test instance that is an instance of the supplied required type, checking from innermost to outermost.
- findInstance(Class<T>) - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- findJUnit4Description(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- findMatchingLeftParenthesis(Token) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- findMatchingName(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- findMatchingName(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- findMatchingPattern(String) - Method in class org.junit.platform.engine.discovery.AbstractClassNameFilter
- findMetaAnnotation(Class<A>, Annotation[], boolean, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findMethod(Class<?>, String) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- findMethod(Class<?>, String) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Method
of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - findMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find the first
Method
of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - findMethod(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethod(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethod(String, Class<?>) - Method in class org.junit.jupiter.engine.discovery.MethodFinder
- findMethods(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find all methods of the supplied class or interface that match the specified
predicate
, using top-down search semantics within the type hierarchy. - findMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all distinct methods of the supplied class or interface that match the specified
predicate
. - findMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findMethodsAndAssertNonStaticAndNonPrivate(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findMethodsAndAssertStaticAndNonPrivate(Class<?>, boolean, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findMethodsAndCheckVoidReturnType(Class<?>, Class<? extends Annotation>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes within the supplied class, or inherited by the supplied class, that conform to the supplied predicate.
- findNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findNestedClasses(Class<?>, Predicate<Class<?>>, Set<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- findNestedThrowables(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Find all causes and suppressed exceptions in the stack trace of the supplied
Throwable
. - findOperands(Token, Operator) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- findParent(Description, Function<Description, Optional<VintageTestDescriptor>>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- findPath(Map<UniqueId, Optional<UniqueId>>, UniqueId) - Static method in class org.junit.platform.launcher.core.EngineDiscoveryResultValidator
- findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all
public
fields of the supplied class or interface that are declared to be of the specifiedfieldType
and are annotated or meta-annotated with the specifiedannotationType
. - findPublicAnnotatedFields(Class<?>, Class<?>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(Annotation[], Class<A>, Class<? extends Annotation>, boolean, Set<A>, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Find all repeatable annotations of
annotationType
that are either present or meta-present on theClass
for this descriptor. - findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.extension.AnnotatedElementContext
-
Find all repeatable annotations of
annotationType
that are either present or meta-present on theAnnotatedElement
for this context. - findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Find all repeatable annotations of
annotationType
that are either present or meta-present on theAnnotatedElement
for this context. - findRepeatableAnnotations(Class<A>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Find all repeatable annotations of
annotationType
that are either present or meta-present on theMethod
for this descriptor. - findRepeatableAnnotations(Class<A>) - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- findRepeatableAnnotations(Class<A>) - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all repeatable annotations of the supplied
annotationType
that are either present, indirectly present, or meta-present on the suppliedAnnotatedElement
. - findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(AnnotatedElement, Class<A>, Class<? extends Annotation>, boolean, Set<A>, Set<Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(Parameter, int, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Find all repeatable annotations of the supplied
annotationType
that are either present, indirectly present, or meta-present on the supplied optionalelement
. - findRepeatableAnnotations(Optional<? extends AnnotatedElement>, Class<A>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- findRuleAnnotatedMembers(Object) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- findTestSource(Description) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
- findTypeBasedParameterResolverSuperclass(Class<?>) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- finished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the finished
Events
contained in thisEvents
object. - finished() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the finished
Executions
contained in thisExecutions
object. - finished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected finished events.
- finished(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.FINISHED
and its payload is an instance ofTestExecutionResult
that matches the suppliedCondition
. - finished(TestDescriptor, Instant, Instant, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Execution
that finished with the providedTestExecutionResult
. - FINISHED - Enum constant in enum class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome
- FINISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptor
has finished, regardless of the outcome. - finishedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
- finishedEventsByStatus(TestExecutionResult.Status) - Method in class org.junit.platform.testkit.engine.Events
- finishedExecutions() - Method in class org.junit.platform.testkit.engine.Executions
- finishedExecutionsByStatus(TestExecutionResult.Status) - Method in class org.junit.platform.testkit.engine.Executions
- finishedSuccessfully() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.FINISHED
and its result has a status ofSUCCESSFUL
. - finishedWithCause(TestExecutionResult.Status, Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
- finishedWithFailure() - Static method in class org.junit.platform.testkit.engine.EventConditions
- finishedWithFailure(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
- fireExecutionFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- fireExecutionFinishedForInProgressNonAncestorTestDescriptorsWithSyntheticStartEvents(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- fireExecutionSkipped(TestDescriptor, String) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- fireExecutionStarted(TestDescriptor, EventType) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- fireExecutionStartedIncludingUnstartedAncestors(Optional<TestDescriptor>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- fireTestIgnored(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- FIXED - Enum constant in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Uses the mandatory "fixed.parallelism" configuration parameter as the desired parallelism.
- floats() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
float
values to use as sources of arguments; must not be empty. - floatsAreEqual(float, float) - Static method in class org.junit.jupiter.api.AssertionUtils
- floatsAreEqual(float, float, float) - Static method in class org.junit.jupiter.api.AssertionUtils
- forBiConsumer(BiConsumer<Throwable, Supplier<String>>) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
-
Create a
LoggingListener
which delegates to the suppliedBiConsumer
for consumption of logging messages. - forcedDescendantExecutionModeByTestDescriptor - Variable in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- forceDescendantExecutionMode(TestDescriptor, Node.ExecutionMode) - Method in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- forceDescendantExecutionModeRecursively(NodeExecutionAdvisor, TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- forEach(List<T>, Consumer<T>) - Method in enum class org.junit.platform.launcher.core.IterationOrder
- forEachInReverseOrder(List<T>, Consumer<? super T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Call the supplied action on each element of the supplied
List
from last to first element. - forEngine(String) - Static method in class org.junit.platform.engine.UniqueId
-
Create an engine's unique ID from its
engineId
using the default format. - forEngineExecutionListeners() - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
- forkConcurrentTasks(List<? extends HierarchicalTestExecutorService.TestTask>, Deque<ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask>, Deque<ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- forkJoinPool - Variable in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- ForkJoinPoolHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService(ConfigurationParameters) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorService
based on the suppliedConfigurationParameters
. - ForkJoinPoolHierarchicalTestExecutorService(ParallelExecutionConfiguration) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
-
Create a new
ForkJoinPoolHierarchicalTestExecutorService
based on the suppliedParallelExecutionConfiguration
. - ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService.WorkerThread - Class in org.junit.platform.engine.support.hierarchical
- ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory - Class in org.junit.platform.engine.support.hierarchical
- forLauncherDiscoveryListeners() - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- forLauncherSessionListeners() - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- Formal Parameter List - Search tag in annotation interface org.junit.jupiter.params.ParameterizedTest
- Section
- format(int) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- format(int, int) - Method in class org.junit.jupiter.engine.extension.RepeatedTestDisplayNameFormatter
- format(int, Object...) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- format(long, long, String) - Static method in class org.junit.platform.testkit.engine.Assertions
- format(String, Iterable<TestEngine>) - Static method in class org.junit.platform.launcher.core.TestEngineFormatter
- format(String, Stream<TestEngine>) - Static method in class org.junit.platform.launcher.core.TestEngineFormatter
- format(UniqueId) - Method in class org.junit.platform.engine.UniqueIdFormat
-
Format and return the string representation of the supplied
UniqueId
. - formatClassAndValue(Object, String) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- formatExclusionReason(String) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
- formatExclusionReason(String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- formatExclusionReason(String, String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- formatExclusionReason(String, Pattern) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- formatInclusionReason(String) - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- formatInclusionReason(String) - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- formatInclusionReason(String, String) - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- formatInclusionReason(String, Pattern) - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
- formatIndexes(Deque<Integer>) - Static method in class org.junit.jupiter.api.AssertionUtils
- formatSafely(int, Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- formatted(List<UniqueId>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryResultValidator
- formatter - Variable in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
- formatter - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- formatToString(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- formatValues(long, long) - Static method in class org.junit.platform.testkit.engine.Assertions
- formatValues(Object, Object) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- forTestExecutionListeners() - Static method in class org.junit.platform.launcher.core.ListenerRegistry
- FQCN - Static variable in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- FREEBSD - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
FreeBSD operating system.
- from(int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePosition
using the suppliedline
number and an undefined column number. - from(int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePosition
using the suppliedline
number and an undefined column number. - from(int, int) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create a new
FilePosition
using the suppliedline
andcolumn
numbers. - from(int, int) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create a new
FilePosition
using the suppliedline
andcolumn
numbers. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Create a new
DirectorySource
using the supplied directory. - from(File) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
-
Create a new
FileSource
using the suppliedfile
. - from(File, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.FileSource
- from(Class<?>) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
using the supplied class. - from(Class<?>, Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
- from(Class<?>, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
- from(Package) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSource
using the supplied JavaPackage
. - from(Method) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSource
using the suppliedmethod
. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSource
using the supplied classpath resource name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
using the supplied class name. - from(String) - Static method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Create a new
PackageSource
using the suppliedpackageName
. - from(String, String) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntry
from a key-value pair. - from(String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSource
using the supplied class name and method name. - from(String, String, Class<?>...) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSource
using the supplied class name, method name, and method parameter types. - from(String, String, String) - Static method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Create a new
MethodSource
using the supplied class name, method name, and method parameter types. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSource
using the supplied classpath resource name andFilePosition
. - from(String, FilePosition) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
using the supplied class name and file position. - from(URI) - Static method in class org.junit.jupiter.engine.descriptor.MethodSourceSupport
-
Create a new
MethodSource
from the suppliedURI
. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Create a new
ClasspathResourceSource
from the suppliedURI
. - from(URI) - Static method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Create a new
ClassSource
from the suppliedURI
. - from(URI) - Static method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Create a new
UriSource
using the suppliedURI
. - from(Collection<? extends TestSource>) - Static method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Create a new
CompositeTestSource
based on the supplied collection ofsources
. - from(Collection<TestDescriptor>, ConfigurationParameters) - Static method in class org.junit.platform.launcher.TestPlan
-
Construct a new
TestPlan
from the supplied collection ofTestDescriptors
. - from(Map<String, String>) - Static method in class org.junit.platform.engine.reporting.ReportEntry
-
Factory for creating a new
ReportEntry
from a map of key-value pairs. - from(Timeout) - Static method in class org.junit.jupiter.engine.extension.TimeoutDuration
- from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
-
Factory for creating a new
TestIdentifier
from aTestDescriptor
. - from(LauncherDiscoveryResult) - Static method in class org.junit.platform.launcher.core.InternalTestPlan
- fromConfigurationParameter(String, String) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
- fromQuery(String) - Static method in class org.junit.platform.engine.discovery.FilePosition
-
Create an optional
FilePosition
by parsing the suppliedquery
string. - fromQuery(String) - Static method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Create an optional
FilePosition
by parsing the suppliedquery
string. - fromUri(URI) - Static method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- FunctionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Functions
,Predicates
, etc. - FunctionUtils() - Constructor for class org.junit.platform.commons.util.FunctionUtils
G
- generateDisplayName(Description) - Static method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- generateDisplayNameForClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given top-level or
static
nested test class. - generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForMethod(Class<?>, Method) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given method.
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Simple
- generateDisplayNameForMethod(Class<?>, Method) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateDisplayNameForNestedClass(Class<?>) - Method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a display name for the given
@Nested
inner test class. - generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- generateDisplayNameForNestedClass(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- generateMessage(int) - Method in interface org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.MessageGenerator
- generateSuiteDescription(TestPlan, Class<?>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- generateTestTree(LauncherDiscoveryRequest) - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- generator() - Element in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
-
Custom display name generator to use for sentence fragments.
- GenericBeforeAndAfterAdvice - Interface in org.junit.jupiter.migrationsupport.rules.adapter
- get() - Method in interface org.junit.jupiter.api.function.ThrowingSupplier
-
Get a result, potentially throwing an exception.
- get() - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- get() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.ExecutorResource
- get() - Method in interface org.junit.jupiter.params.provider.Arguments
-
Get the arguments used for an invocation of the
@ParameterizedTest
method. - get() - Method in class org.junit.platform.commons.function.Try.Failure
- get() - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, get the contained value; if thisTry
is a failure, throw the contained exception. - get() - Method in class org.junit.platform.commons.function.Try.Success
- get() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- 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, Class<T>) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as an instance of the required type.
- get(int, Class<T>) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- get(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied
key
. - get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- get(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the supplied
key
. - get(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the configuration parameter stored under the specified
key
. - get(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- get(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- get(String, Function<String, Optional<String>>, E) - Method in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- get(String, Function<String, T>) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get and transform the configuration parameter stored under the specified
key
using the specifiedtransformer
. - get(String, Function<String, T>) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- get(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present.
- get(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, and cast it to the supplied required type.
- get(ConfigurationParameters, String) - Method in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- get(ConfigurationParameters, String, E) - Method in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- getAdditionalExtensions() - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the additional extensions for this invocation.
- getAdditionalExtensions() - Method in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
- getAdditionalExtensions() - Method in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- getAdditionalLauncherDiscoveryListeners() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- getAdditionalLauncherDiscoveryListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional launcher discovery listeners that should be added to the
Launcher
. - getAdditionalLauncherSessionListeners() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- getAdditionalLauncherSessionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional launcher session listeners that should be added to the
Launcher
. - getAdditionalPostDiscoveryFilters() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- getAdditionalPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional post discovery filters that should be added to the
Launcher
. - getAdditionalTestEngines() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- getAdditionalTestEngines() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional test engines that should be added to the
Launcher
. - getAdditionalTestExecutionListeners() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- getAdditionalTestExecutionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Get the collection of additional test execution listeners that should be added to the
Launcher
. - getAllAssignmentCompatibleClasses(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Return all classes and interfaces that can be used as assignment types for instances of the specified
Class
, including itself. - getAllAssignmentCompatibleClasses(Class<?>, Set<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getAllClasspathRootDirectories() - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getAllInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get all test instances, ordered from outermost to innermost.
- getAllInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getAncestors() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all ancestors of this descriptor.
- getAnnotatedElement() - Method in interface org.junit.jupiter.api.extension.AnnotatedElementContext
-
Get the
AnnotatedElement
for this context. - getAnnotatedElement() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
AnnotatedElement
for this context. - getAnnotatedElement() - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- getAnnotatedElement() - Method in class org.junit.jupiter.engine.extension.TempDirectory.FieldContext
- getAnnotationParameterIndex() - Method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- getAnnotationThreadMode(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- getAnnotationType(Method) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- getArguments() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the arguments of the executable in this invocation context.
- getArguments() - Method in class org.junit.jupiter.engine.execution.ConstructorInvocation
- getArguments() - Method in class org.junit.jupiter.engine.execution.MethodInvocation
- getArgumentsFromSource(ValueSource) - Method in class org.junit.jupiter.params.provider.ValueArgumentsProvider
- getArtifactId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
-
Returns
junit-jupiter-engine
as the artifact ID. - getArtifactId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Artifact ID of the JAR in which this test engine is packaged.
- getArtifactId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
junit-vintage-engine
as the artifact ID. - getAttribute(Class<?>, String) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the value of the specified attribute name, specified as a string, or an empty
Optional
if the attribute was not found. - getAttribute(Class<?>, Function<Package, String>) - Static method in class org.junit.platform.commons.util.PackageUtils
-
Get the package attribute for the supplied
type
using the suppliedfunction
. - getBoolean(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Boolean
, performing automatic type conversion as necessary. - getBoolean(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getBoolean(String) - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the boolean configuration parameter stored under the specified
key
. - getBoolean(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- getBoolean(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- 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
- getCanonicalName(Class<?>) - Static method in class org.junit.jupiter.api.AssertionUtils
- getCategory() - Method in class org.junit.platform.testkit.engine.Events
- getCause() - Method in class org.junit.platform.launcher.core.EngineDiscoveryErrorDescriptor
- 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
- getCharsetFrom(CsvFileSource) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- getChildren() - Method in class org.junit.jupiter.api.DynamicContainer
- getChildren() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getChildren() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of children of this descriptor.
- getChildren(String) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
-
Deprecated.
- getChildren(UniqueId) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getChildren(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied unique ID.
- getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get the children of the supplied
TestIdentifier
. - getClassDescriptors() - Method in interface org.junit.jupiter.api.ClassOrdererContext
-
Get the list of class descriptors to order.
- getClassDescriptors() - Method in class org.junit.jupiter.engine.discovery.DefaultClassOrdererContext
- getClassLoader() - Method in class org.junit.platform.commons.util.ClasspathScanner
- getClassLoader() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the
ClassLoader
used to load the selected class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the
ClassLoader
used to load the specified class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the
ClassLoader
used to load the selected nested class. - getClassLoader() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the
ClassLoader
used to load the nested class. - getClassLoader(Class<?>) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the
ClassLoader
for the suppliedClass
, falling back to thedefault class loader
if the class loader for the supplied class isnull
. - getClassName() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected class name.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the class name of this source.
- getClassName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the class name of this source.
- getClassName(Object) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.Get the class name for the supplied
TestIdentifier
using the suppliedTestPlan
. - getClassNameFilter() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- getClassNameFilter() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the class name filter built from the
ClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved. - getClasspathResourceName() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the name of the selected classpath resource.
- getClasspathResourceName() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the name of the source classpath resource.
- getClasspathRoot() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
-
Get the selected classpath root directory as an
URI
. - getClassSource(TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.
- getColumn() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the column number of this
FilePosition
, if available. - getColumn() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the column number of this
FilePosition
, if available. - getCompositeListener() - Method in class org.junit.platform.launcher.core.ListenerRegistry
- getConditionMethod(String, ExtensionContext) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- getConfiguration() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- getConfiguration() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.ClassOrdererContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String) - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the configuration parameter stored under the specified
key
. - getConfigurationParameter(String) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getConfigurationParameter(String) - Method in class org.junit.jupiter.engine.discovery.DefaultClassOrdererContext
- getConfigurationParameter(String) - Method in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- getConfigurationParameter(String, Function<String, T>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get and transform the configuration parameter stored under the specified
key
using the specifiedtransformer
. - getConfigurationParameter(String, Function<String, V>) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getConfigurationParameters() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
ConfigurationParameters
for this request. - getConfigurationParameters() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
ConfigurationParameters
that the engine may use to influence test execution. - getConfigurationParameters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- getConfigurationParameters() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- getConfigurationParameters() - Method in class org.junit.platform.launcher.TestPlan
-
Get the
ConfigurationParameters
for this test plan. - getContainersAbortedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers aborted.
- getContainersFailedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that failed.
- getContainersFoundCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers found.
- getContainersSkippedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers skipped.
- getContainersStartedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers started.
- getContainersSucceededCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of containers that succeeded.
- getContext(DiscoverySelector) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- getCorePoolSize() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getCorePoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the core thread pool size to be used.
- getCurrentRepetition() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current repetition of the corresponding
@RepeatedTest
method. - getCurrentRepetition() - Method in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- getCustomSeed(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.Random
- getCustomSeed(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Random
- getCyclicGraphInfo(TestDescriptor) - Method in class org.junit.platform.launcher.core.EngineDiscoveryResultValidator
- getDeclaredConstructor(Class<T>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the sole declared, non-synthetic
Constructor
for the supplied class. - getDeclaredFields(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to
Class.getDeclaredFields()
that sorts the fields and converts them to a mutable list. - getDeclaredMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to
Class.getDeclaredMethods()
that sorts the methods and converts them to a mutable list. - getDeclaringExecutable() - Method in interface org.junit.jupiter.api.extension.ParameterContext
- getDecoratedRunner() - Method in interface org.junit.vintage.engine.descriptor.RunnerDecorator
- getDecoratedRunner() - Method in class org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- getDefault() - Static method in class org.junit.platform.engine.UniqueIdFormat
- getDefaultAfterAllMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultAfterEachMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultBeforeAllMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultBeforeEachMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getDefaultChildExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- 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
- getDefaultClassLoader() - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
- getDefaultConstructor(Class<?>) - Static method in class org.junit.jupiter.params.provider.EmptyArgumentsProvider
- 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 interface org.junit.jupiter.api.MethodOrderer
-
Get the default
ExecutionMode
for the test class configured with thisMethodOrderer
. - 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
- getDefaultLauncherDiscoveryListener(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- getDefaultLifecycleMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultMethods(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get a sorted, mutable list of all default methods present in interfaces implemented by the supplied class which are also visible within the supplied class.
- 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
- getDefaultTestableMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- 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
- getDefaultTestFactoryMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- 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
- 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
- getDefaultTestMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultTestTemplateMethodTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultTimeout() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDefaultTimeout(ExtensionContext, TimeoutExtension.TimeoutProvider) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- getDefaultTimeoutThreadMode() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- getDelegate() - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getDescendants() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the immutable set of all descendants of this descriptor.
- getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get all descendants of the supplied
TestIdentifier
(i.e., all of its children and their children, recursively). - getDescription() - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- getDescription() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getDescription() - Method in class org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- getDescription(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getDescriptionSupplier() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- getDescriptorWrapperOrderer(AbstractOrderingVisitor.DescriptorWrapperOrderer, AbstractAnnotatedDescriptorWrapper<?>) - Method in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- getDescriptorWrapperOrderer(AbstractOrderingVisitor.DescriptorWrapperOrderer, AbstractAnnotatedDescriptorWrapper<?>) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor
-
Get the
AbstractOrderingVisitor<PARENT extends TestDescriptor,
for the suppliedCHILD extends TestDescriptor, WRAPPER extends AbstractAnnotatedDescriptorWrapper<?>>.DescriptorWrapperOrderer AbstractAnnotatedDescriptorWrapper
. - getDirectory() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a
File
. - getDiscoveryListener() - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
EngineDiscoveryListener
for this request. - getDiscoveryListener() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- getDiscoveryListener() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
LauncherDiscoveryListener
for this request. - getDiscoveryRequest() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- getDiscoveryRequest() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the
EngineDiscoveryRequest
that is about to be resolved. - getDiscoveryResult() - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getDisplayName() - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Get the display name for this descriptor's
class
. - getDisplayName() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the display name of this
DynamicNode
. - getDisplayName() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the display name for the current test or container.
- getDisplayName() - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Get the display name for this descriptor's
method
. - getDisplayName() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the display name of the current test or container.
- getDisplayName() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getDisplayName() - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- getDisplayName() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- getDisplayName() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getDisplayName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the display name for this descriptor.
- getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the display name of the represented test or container.
- getDisplayName(int) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
-
Get the display name for this invocation.
- getDisplayName(int) - Method in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
- getDisplayName(int) - Method in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- getDisplayNameGenerator(Class<?>) - Static method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Return the
DisplayNameGenerator
instance corresponding to the givenClass
. - getDistinctSortedLocks(Collection<ExclusiveResource>) - Method in class org.junit.platform.engine.support.hierarchical.LockManager
- getDouble(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Double
, performing automatic type conversion as necessary. - getDouble(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getDuration() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
Duration
of thisExecution
. - 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
- getEffectiveAnnotatedParameter(Parameter, int) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Due to a bug in
javac
on JDK versions prior to JDK 9, looking up annotations directly on aParameter
will fail for inner class constructors. - getElement() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
AnnotatedElement
corresponding to the current extension context, if available. - getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getElement() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- getEnclosingClasses() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the names of the classes enclosing the selected nested class.
- getEnclosingClassNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of the classes enclosing the nested class containing the selected method.
- getEnclosingInstances() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the enclosing test instances, excluding the innermost test instance, ordered from outermost to innermost.
- getEnclosingInstances() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getEnclosingTestClasses() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- getEndInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the end
Instant
of thisExecution
. - getEngineDescriptor() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- getEngineDescriptor() - Method in interface org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.InitializationContext
-
Get the engine's
TestDescriptor
that will be used to collect the results. - getEngineExecutionListener() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the
EngineExecutionListener
to be notified of test execution events. - getEngineFilters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
EngineFilters
for this request. - getEngineId() - Method in class org.junit.platform.engine.UniqueId
-
Get the engine ID stored in this
UniqueId
, if available. - getEngineIds() - Method in class org.junit.platform.launcher.EngineFilter
- getEngineTestDescriptor(TestEngine) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- getEngineTestDescriptors() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- getEnumConstants(ExtensionContext, EnumSource) - Method in class org.junit.jupiter.params.provider.EnumArgumentsProvider
- getEnvironmentVariable(String) - Method in class org.junit.jupiter.api.condition.DisabledIfEnvironmentVariableCondition
-
Get the value of the named environment variable.
- getEnvironmentVariable(String) - Method in class org.junit.jupiter.api.condition.EnabledIfEnvironmentVariableCondition
-
Get the value of the named environment variable.
- getException() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the
Throwable
causing the failure. - getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getExclusiveResources() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- getExclusiveResources() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the set of exclusive resources required to execute this node.
- getExclusiveResources(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- getExclusiveResourcesFromAnnotation(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExecutable() - Method in class org.junit.jupiter.api.DynamicTest
-
Get the
executable
code block associated with thisDynamicTest
. - getExecutable() - Method in interface org.junit.jupiter.api.extension.DynamicTestInvocationContext
-
Get the
Executable
of this dynamic test invocation context. - getExecutable() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the method or constructor of this invocation context.
- getExecutable() - Method in class org.junit.jupiter.engine.descriptor.DefaultDynamicTestInvocationContext
- getExecutable() - Method in class org.junit.jupiter.engine.execution.ConstructorInvocation
- getExecutable() - Method in class org.junit.jupiter.engine.execution.MethodInvocation
- getExecutableInvoker() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get an
ExecutableInvoker
to invoke methods and constructors with support for dynamic resolution of parameters. - getExecutableInvoker() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getExecutionAdvisor() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- 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
- getExecutionException() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the exception that was thrown during execution of the test or container associated with this
ExtensionContext
, if available. - getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExecutionMode() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
ExecutionMode
associated with the current test or container. - getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- getExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the execution mode of this task.
- getExecutionMode() - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Get the preferred of execution mode for parallel execution of this node.
- getExecutionMode() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- getExecutionModeFromAnnotation(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExecutionResult() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the
TestExecutionResult
for the completed execution. - getExecutionResults() - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Get the state of the engine's execution in the form of
EngineExecutionResults
. - getExecutorService() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getExplicitExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getExtensions(Class<E>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistry
-
Get all
Extensions
of the specified type that are present in this registry or one of its ancestors. - getFailureCount() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the current number of repetitions of the corresponding
@RepeatedTest
method that have ended in a failure. - getFailureCount() - Method in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- getFailures() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get an immutable list of the failures of the test plan execution.
- getFailureThreshold() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the configured failure threshold of the corresponding
@RepeatedTest
method. - getFailureThreshold() - Method in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- getFields(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to
Class.getFields()
that sorts the fields and converts them to a mutable list. - getFile() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a
File
. - getFile() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
-
Get the source directory.
- getFile() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the source file.
- getFile() - Method in interface org.junit.platform.engine.support.descriptor.FileSystemSource
-
Get the source file or directory.
- getFilteredLeaves(Filter) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getFilters() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getFiltersByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoveryFilters
for this request, filtered by a particular type. - getFiltersByType(Class<T>) - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- 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
- getForcedExecutionMode(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- getFragmentSeparator(Class<?>) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
-
Get the sentence fragment separator.
- getFullyQualifiedMethodName(Class<?>, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class and method.
- getFullyQualifiedMethodName(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Build the fully qualified method name for the method described by the supplied class, method name, and parameter types.
- getGeneratorFor(Class<?>) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
-
Get the display name generator to use for the supplied test class.
- getGlobalTimeoutConfiguration(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- getGroupId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
-
Returns
org.junit.jupiter
as the group ID. - getGroupId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the Group ID of the JAR in which this test engine is packaged.
- getGroupId() - Method in class org.junit.vintage.engine.VintageTestEngine
-
Returns
org.junit.vintage
as the group ID. - getHeaders(CsvParser) - Static method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
- getId() - Method in interface org.junit.platform.engine.TestEngine
-
Get the ID that uniquely identifies this test engine.
- getId() - Method in class org.junit.vintage.engine.VintageTestEngine
- getIndex() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the index of the
Parameter
for this context within the parameter list of theExecutable
that declares the parameter. - getIndex() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- getInnermostInstance() - Method in interface org.junit.jupiter.api.extension.TestInstances
-
Get the innermost test instance.
- getInnermostInstance() - Method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- getInProgressTestDescriptorsWithSyntheticStartEvents() - Method in class org.junit.vintage.engine.execution.TestRun
- getInputArguments() - Static method in class org.junit.platform.commons.util.RuntimeUtils
-
Try to get the input arguments the VM was started with.
- 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
- getInterfaceFields(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getInterfaceMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getInvocation() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- 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
- getIterationIndices() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected iteration indices.
- getJavaClass() - Method in class org.junit.platform.engine.discovery.ClassSelector
-
Get the selected
Class
. - getJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
-
Get the Java class of this source.
- getJavaClass() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java class of this source.
- getJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected
Method
. - getJavaMethod() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the Java method of this source.
- getJupiterConfiguration(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
- getKeepAliveSeconds() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getKeepAliveSeconds() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the number of seconds for which inactive threads should be kept alive before terminating them and shrinking the thread pool.
- getKey() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the key of this resource.
- getKeyValuePairs() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get an unmodifiable copy of the map of key-value pairs to be published.
- getLastSegment() - Method in class org.junit.platform.engine.UniqueId
-
Get the last
UniqueId.Segment
of thisUniqueId
. - getLauncher() - Method in class org.junit.platform.launcher.core.DefaultLauncherSession
- getLauncher() - Method in interface org.junit.platform.launcher.LauncherSession
-
Get the
Launcher
associated with this session. - getLauncherDiscoveryListener(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- getLauncherDiscoveryListener(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.DynamicNodeTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- getLegacyReportingName() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
- getLegacyReportingName() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the name of this identifier in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
- getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getLegacyReportingName() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getLine() - Method in class org.junit.platform.engine.discovery.FilePosition
-
Get the line number of this
FilePosition
. - getLine() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
-
Get the line number of this
FilePosition
. - getListener() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- getListener() - Method in class org.junit.platform.launcher.core.DefaultLauncherSession
- getListeners() - Method in class org.junit.platform.launcher.core.ListenerRegistry
- getLocation(Object) - Static method in class org.junit.platform.commons.util.ClassLoaderUtils
-
Get the location from which the supplied object's class was loaded.
- getLock() - Method in class org.junit.platform.engine.support.hierarchical.SingleLock
- getLockForResource(ExclusiveResource) - Method in class org.junit.platform.engine.support.hierarchical.LockManager
- getLockForResources(Collection<ExclusiveResource>) - Method in class org.junit.platform.engine.support.hierarchical.LockManager
- getLockMode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Get the lock mode of this resource.
- getLocks() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock
- getLogger() - Static method in class org.junit.platform.launcher.core.EngineIdValidator
- getLogger() - Static method in class org.junit.platform.launcher.core.ServiceLoaderRegistry
- getLogger() - Static method in class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
- getLogger(Class<?>) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Get a
Logger
for the specified class. - getLong(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Long
, performing automatic type conversion as necessary. - getLong(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getMatches() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the matches contained by this resolution.
- getMaxPoolSize() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getMaxPoolSize() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the maximum thread pool size to be used.
- getMethod() - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Get the method for this descriptor.
- getMethod() - Method in class org.junit.jupiter.engine.discovery.DefaultMethodDescriptor
- getMethod() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the selected
Method
. - getMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToGetMethod(Class, String, Class[])
instead. - getMethodDescriptors() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the list of method descriptors to order.
- getMethodDescriptors() - Method in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- getMethodName() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the selected method name.
- getMethodName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the selected method.
- getMethodName() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method name of this source.
- getMethodName(Description) - Static method in class org.junit.vintage.engine.descriptor.DescriptionUtils
- getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Deprecated.since 1.10 in favor of
MethodSelector.getParameterTypeNames()
- getMethodParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Deprecated.since 1.10 in favor or
NestedMethodSelector.getParameterTypeNames()
- getMethodParameterTypes() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
-
Get the method parameter types of this source.
- getMethods(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Custom alternative to
Class.getMethods()
that sorts the methods and converts them to a mutable list. - getMinimumRunnable() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getMinimumRunnable() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the minimum number of runnable threads to be used.
- getModifiableChildren() - Method in class org.junit.vintage.engine.descriptor.VintageEngineDescriptor
- getModuleName() - Method in class org.junit.platform.engine.discovery.ModuleSelector
-
Get the selected module name.
- getModuleName(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the name of the module that the class or interface is a member of.
- getModuleVersion(Class<?>) - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Return the raw version of the module that the class or interface is a member of.
- getName() - Method in interface org.junit.jupiter.api.Named
-
Get the name of the payload.
- getName() - Method in class org.junit.platform.engine.TestTag
-
Get the name of this tag.
- getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the selected nested
Class
. - getNestedClass() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
-
Get the name of the selected nested class.
- getNestedClassName() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the name of the nested class containing the selected method.
- getNextUnstarted() - Method in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- getNoDisabledConditionsEncounteredResult() - Method in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- getNoDisabledConditionsEncounteredResult() - Method in class org.junit.jupiter.api.condition.DisabledIfEnvironmentVariableCondition
- getNoDisabledConditionsEncounteredResult() - Method in class org.junit.jupiter.api.condition.DisabledIfSystemPropertyCondition
- getNoDisabledConditionsEncounteredResult() - Method in class org.junit.jupiter.api.condition.EnabledIfEnvironmentVariableCondition
- getNoDisabledConditionsEncounteredResult() - Method in class org.junit.jupiter.api.condition.EnabledIfSystemPropertyCondition
- getOnlyElement(Collection<T>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Read the only element of a collection of size 1.
- getOrComputeIfAbsent(Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the object of type
type
that is present in thisStore
(keyed bytype
); and otherwise invoke the default constructor fortype
to generate the object, store it, and return it. - getOrComputeIfAbsent(K, Function<K, V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value that is stored under the supplied
key
. - getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the supplied
key
. - getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- getOrComputeIfAbsent(N, K, Function<K, V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it.
- getOrComputeIfAbsent(N, K, Function<K, V>, Class<V>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Get the value stored for the supplied namespace and key in this store or the parent store, if present, or call the supplied function to compute it and, finally, cast it to the supplied required type.
- getOrDefault(Object, Class<V>, V) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Get the value of the specified required type that is stored under the supplied
key
, or the supplieddefaultValue
if no value is found for the suppliedkey
in this store or in an ancestor. - getOrder(Field) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
- getOrder(ClassDescriptor) - Static method in class org.junit.jupiter.api.ClassOrderer.OrderAnnotation
- getOrder(MethodDescriptor) - Static method in class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
- getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try.Failure
- getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try
- getOrThrow(Function<? super Exception, E>) - Method in class org.junit.platform.commons.function.Try.Success
- getOuterInstance() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the instance of the outer class, if available.
- getOuterInstance() - Method in class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- getOuterInstance(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getOutermostInstance(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please discontinue use of this method since it relies on internal implementation details of the JDK that may not work in the future.
- getPackageName() - Method in class org.junit.platform.engine.discovery.PackageSelector
-
Get the selected package name.
- getPackageName() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
-
Get the package name of this test source.
- getParallelism() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getParallelism() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the parallelism to be used.
- getParameter() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the
Parameter
for this context. - getParameter() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- getParameterCount() - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Get the number of parameters of the
Method
represented by this context. - getParameterName(int) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Get the name of the
Parameter
with the supplied index, if it is present and declared before the aggregators. - getParameterType(ParameterContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the names of parameter types for the selected method as a
String
, typically a comma-separated list of primitive types, fully qualified class names, or array types. - getParameterTypeNames() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the names of parameter types for the selected method as a
String
. - getParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
-
Get the parameter types for the selected method.
- getParameterTypes() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
-
Get the parameter types for the selected method.
- getParent() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the parent extension context, if available.
- getParent() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getParent() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getParent() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the parent of this descriptor, if available.
- getParent(TestIdentifier) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
-
Get the parent of the supplied
TestIdentifier
. - getParent(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.
- getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent as a
String
, if available. - getParentIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of this identifier's parent as a
UniqueId
, if available. - getParentLegacyReportingName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.
- getParentSelector() - Method in class org.junit.platform.engine.discovery.IterationSelector
-
Get the selected parent
DiscoverySelector
. - getPath() - Method in class org.junit.platform.commons.util.CloseablePath
- getPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- getPath() - Method in class org.junit.platform.engine.discovery.FileSelector
- getPathOrFile(AnnotatedElementContext, Class<?>, TempDirFactory, CleanupMode, TempDirectory.Scope, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- getPayload() - Method in interface org.junit.jupiter.api.Named
-
Get the payload.
- getPayload() - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload, if available.
- getPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the expected type, if available.
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getPlatformExecutionMode() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getPosition() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
-
Get the selected
FilePosition
within the classpath resource. - getPosition() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected position within the file as a
FilePosition
. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
-
Get the
FilePosition
, if available. - getPosition() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- getPosition() - Method in class org.junit.platform.engine.support.descriptor.FileSource
-
Get the
FilePosition
, if available. - getPostDiscoveryFilters() - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
-
Get the
PostDiscoveryFilters
for this request. - getProperty(String) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getRawConfigurationParameter(String) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getRawConfigurationParameter(String) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.CachingJupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- getRawConfigurationParameter(String, Function<String, T>) - Method in interface org.junit.jupiter.engine.config.JupiterConfiguration
- getRawPath() - Method in class org.junit.platform.engine.discovery.DirectorySelector
-
Get the selected directory as a raw path.
- getRawPath() - Method in class org.junit.platform.engine.discovery.FileSelector
-
Get the selected file as a raw path.
- getReason() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Get the reason why the container or test should be enabled or disabled, if available.
- getReason() - Method in class org.junit.platform.engine.FilterResult
-
Get the reason why the filtered object should be included or excluded, if available.
- getReason() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Get the reason that execution of the context should be skipped, if available.
- getReason(Ignore) - Static method in class org.junit.vintage.engine.execution.RunListenerAdapter
- getRegisteredEnginesDescription() - Method in class org.junit.platform.launcher.core.EngineFilterer
- getRegisteredFiltersDescription() - Method in class org.junit.platform.launcher.core.EngineFilterer
- getRequiredMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Find the first
Method
of the supplied class or interface that meets the specified criteria, beginning with the specified class or interface and traversing up the type hierarchy until such a method is found or the type hierarchy is exhausted. - getRequiredPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the required type.
- getRequiredTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Class
associated with the current test or container. - getRequiredTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instance associated with the current test or container.
- getRequiredTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required test instances associated with the current test or container.
- getRequiredTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the required
Method
associated with the current test or container. - getResolver(ParameterContext) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
- getResourceLock() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Get the resource lock of this task.
- getResourceLock() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- getResourceLock(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- getRoot() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the root
ExtensionContext
. - getRoot() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getRoot() - Method in class org.junit.platform.engine.UniqueId
- getRoots() - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getRoots() - Method in class org.junit.platform.launcher.TestPlan
-
Get the root
TestIdentifiers
for this test plan. - getRootTestDescriptor() - Method in class org.junit.platform.engine.ExecutionRequest
-
Get the root
TestDescriptor
of the engine that processes this request. - getRootUrisForPackage(String) - Method in class org.junit.platform.commons.util.ClasspathScanner
- getRootUrisForPackageNameOnClassPathAndModulePath(String) - Method in class org.junit.platform.commons.util.ClasspathScanner
- getRuleAnnotatedMembers(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- getRunner() - Method in class org.junit.vintage.engine.descriptor.RunnerRequest
- getRunnerTestDescriptor() - Method in class org.junit.vintage.engine.execution.TestRun
- getRunnerToReport() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- getSaturatePredicate() - Method in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- getSaturatePredicate() - Method in interface org.junit.platform.engine.support.hierarchical.ParallelExecutionConfiguration
-
Get the saturate predicate to be used for the execution's
ForkJoinPool
. - getScope(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- getSegments() - Method in class org.junit.platform.engine.UniqueId
-
Get the immutable list of segments that make up this
UniqueId
. - getSelectors() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Returns the selectors contained by this resolution.
- getSelectorsByType(Class<T>) - Method in interface org.junit.platform.engine.EngineDiscoveryRequest
-
Get the
DiscoverySelectors
for this request, filtered by a particular type. - getSelectorsByType(Class<T>) - Method in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- getSentenceBeginning(Class<?>) - Method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- getShort(int) - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the value of the argument at the given index as a
Short
, performing automatic type conversion as necessary. - getShort(int) - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- getSkipReason() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the reason the execution was skipped.
- getSource() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getSource() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the source of the test or container described by this descriptor, if available.
- getSource() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the source of the represented test or container, if available.
- getSources() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
-
Get an immutable list of the sources stored in this
CompositeTestSource
. - getStartInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the start
Instant
of thisExecution
. - getStateDescription() - Method in class org.junit.platform.launcher.core.EngineFilterer
- getStatus() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the status of this result.
- getStatus() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the status of this result.
- getStatus() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Get the status of this result.
- getStore(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- getStore(ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- getStore(ExtensionContext.Namespace) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
ExtensionContext.Store
for the suppliedExtensionContext.Namespace
. - getStore(ExtensionContext.Namespace) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getStoredResultOrSuccessful(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- getStoredValue(NamespacedHierarchicalStore.CompositeKey<N>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- getStrategy(ConfigurationParameters) - Static method in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
- 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
- getSuiteDescription() - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getSuiteDisplayName(Class<?>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
Get the summary generated by this listener.
- getSuperclassFields(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getSuperclassMethods(Class<?>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- getTags() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the set of all tags for the current test or container.
- getTags() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the set of all tags for the current test or container.
- getTags() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- 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.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- getTags() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getTags() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the set of tags associated with this descriptor.
- getTags() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the set of tags associated with the represented test or container.
- getTags() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getTags(AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- getTarget() - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Get the target on which the
Executable
that declares theParameter
for this context will be invoked, if available. - getTarget() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target object of this invocation context, if available.
- getTarget() - Method in class org.junit.jupiter.engine.execution.ConstructorInvocation
- getTarget() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- getTarget() - Method in class org.junit.jupiter.engine.execution.MethodInvocation
- getTargetClass() - Method in interface org.junit.jupiter.api.extension.ReflectiveInvocationContext
-
Get the target class of this invocation context.
- getTargetClass() - Method in class org.junit.jupiter.engine.execution.ConstructorInvocation
- getTargetClass() - Method in class org.junit.jupiter.engine.execution.MethodInvocation
- getTechnicalName(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getTerminationInfo() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TerminationInfo
for thisExecution
. - getTestClass() - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Get the class for this descriptor.
- getTestClass() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in interface org.junit.jupiter.api.extension.TestInstanceFactoryContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.MethodOrdererContext
-
Get the test class for this context.
- getTestClass() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Class
associated with the current test or container, if available. - getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getTestClass() - Method in class org.junit.jupiter.engine.discovery.DefaultClassDescriptor
- getTestClass() - Method in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- getTestClass() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- getTestClassNames(TestDescriptor) - Static method in class org.junit.platform.launcher.core.StackTracePruningEngineExecutionListener
- getTestDescriptor() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getTestDescriptor() - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- getTestDescriptor() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Get the contained
TestDescriptor
. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
TestDescriptor
associated with thisEvent
. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TestDescriptor
for thisExecution
. - getTestEngines() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- getTestIdentifier() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- getTestIdentifier() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
-
Get the identifier of the failed test or container.
- getTestIdentifier(String) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
-
Deprecated.
- getTestIdentifier(TestDescriptor) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- getTestIdentifier(UniqueId) - Method in class org.junit.platform.launcher.core.InternalTestPlan
- getTestIdentifier(UniqueId) - Method in class org.junit.platform.launcher.TestPlan
-
Get the
TestIdentifier
with the supplied unique ID. - getTestInstance() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instance associated with the current test or container, if available.
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getTestInstanceLifecycle() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
TestInstance.Lifecycle
of the test instance associated with the current test or container, if available. - getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestInstanceLifecycle() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getTestInstanceLifecycle(Class<?>, JupiterConfiguration) - Static method in class org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils
- getTestInstances() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the test instances associated with the current test or container, if available.
- getTestInstances() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestInstances() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getTestInstances() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestInstances() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestInstances() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getTestInstances(ExtensionRegistry, ExtensionRegistrar, ThrowableCollector) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
- getTestInstances(MutableExtensionRegistry, ThrowableCollector) - Method in interface org.junit.jupiter.engine.execution.TestInstancesProvider
- getTestInstancesProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getTestMethod() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the
Method
associated with the current test, if available. - getTestMethod() - Method in interface org.junit.jupiter.api.TestInfo
-
Get the
Method
associated with the current test or container, if available. - getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.DynamicExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- getTestMethod() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- getTestPlan() - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getTestRule() - Method in class org.junit.jupiter.migrationsupport.rules.member.AbstractTestRuleAnnotatedMember
- getTestRule() - Method in interface org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMember
- getTestsAbortedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests aborted.
- getTestsFailedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that failed.
- getTestsFoundCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests found.
- getTestsInSubtree(TestIdentifier) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- getTestSourceUri() - Method in class org.junit.jupiter.api.DynamicNode
-
Get the custom test source
URI
of thisDynamicNode
. - getTestsSkippedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests skipped.
- getTestsStartedCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests started.
- getTestsSucceededCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the number of tests that succeeded.
- getThreadExecutorForSameThreadInvocation() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory
- getThrowable() - Method in class org.junit.platform.engine.SelectorResolutionResult
-
Get the throwable that caused this result, if available.
- getThrowable() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Get the first
Throwable
collected by thisThrowableCollector
. - getThrowable() - Method in class org.junit.platform.engine.TestExecutionResult
-
Get the throwable that caused this result, if available.
- getThrowable() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Get the throwable that caused this result, if available.
- getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- getThrowableCollectorFactory() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- getTimeFinished() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan finished.
- getTimeoutDuration() - Method in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- getTimestamp() - Method in class org.junit.platform.engine.reporting.ReportEntry
-
Get the timestamp for when this
ReportEntry
was created. - getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
Instant
when thisEvent
occurred. - getTimeStarted() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the timestamp (in milliseconds) when the test plan started.
- getTotalFailureCount() - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Get the total number of failed containers and failed tests.
- getTotalRepetitions() - Method in interface org.junit.jupiter.api.RepetitionInfo
-
Get the total number of repetitions of the corresponding
@RepeatedTest
method. - getTotalRepetitions() - Method in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- getType() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- getType() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- getType() - Method in class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Returns
TestDescriptor.Type.CONTAINER
. - getType() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine the
TestDescriptor.Type
of this descriptor. - getType() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the type of this segment.
- getType() - Method in class org.junit.platform.launcher.core.EngineDiscoveryErrorDescriptor
- getType() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the underlying descriptor type.
- getType() - Method in class org.junit.platform.testkit.engine.Event
-
Get the type of this
Event
. - getType() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- getUnambiguously(Description) - Method in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
-
Returns the
TestDescriptor
that represents the specifiedDescription
. - getUnderlyingCause(Throwable) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the underlying cause of the supplied
Throwable
. - getUniqueId() - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Get the unique ID of the current test or container.
- getUniqueId() - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- getUniqueId() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
-
Get the selected
UniqueId
. - getUniqueId() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- getUniqueId() - Method in interface org.junit.platform.engine.TestDescriptor
-
Get the unique identifier (UID) for this descriptor.
- getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container as a
String
. - getUniqueIdObject() - Method in class org.junit.platform.launcher.TestIdentifier
-
Get the unique ID of the represented test or container as a
UniqueId
. - getUnit() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- getUnmatchedEngineIdsOfIncludeFilters() - Method in class org.junit.platform.launcher.core.EngineFilterer
- getUri() - Method in class org.junit.platform.engine.discovery.UriSelector
-
Get the selected
URI
. - getUri() - Method in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- getUri() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- getUri() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- getUri() - Method in interface org.junit.platform.engine.support.descriptor.UriSource
-
Get the
URI
that represents this source. - getValue() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- getValue() - Method in class org.junit.platform.engine.UniqueId.Segment
-
Get the value of this segment.
- getValue(String) - Method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- getVersion() - Method in interface org.junit.platform.engine.TestEngine
-
Get the version of this test engine.
- getWrapperType(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Get the wrapper type for the supplied primitive type.
- GLOBAL - Static variable in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
-
The default, global namespace which allows access to stored data from all extensions.
- GLOBAL - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the global resource lock: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
- GLOBAL_KEY - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Key of the global resource lock that all direct children of the engine descriptor acquire in read mode by default: "org.junit.platform.engine.support.hierarchical.ExclusiveResource.GLOBAL_KEY"
- GLOBAL_READ - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- GLOBAL_READ_WRITE - Static variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- GLOBAL_TIMEOUT_CONFIG_KEY - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- globalKeyFirst() - Static method in class org.junit.platform.engine.support.hierarchical.LockManager
- globalReadLock - Variable in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- globalReadWriteLock - Variable in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
H
- handleAfterAllMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwable
that was thrown during execution of a@AfterAll
lifecycle method. - handleAfterEachMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwable
that was thrown during execution of a@AfterEach
lifecycle method. - handleBeforeAllMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwable
that was thrown during execution of a@BeforeAll
lifecycle method. - handleBeforeEachMethodExecutionException(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
-
Handle the supplied
Throwable
that was thrown during execution of a@BeforeEach
lifecycle method. - handleCsvException(Throwable, Annotation) - Static method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- handleFailure(Failure, Function<Throwable, TestExecutionResult>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- handleFailure(Failure, Function<Throwable, TestExecutionResult>, TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- handleInternalError(Path, String, InternalError) - Method in class org.junit.platform.commons.util.ClasspathScanner
- 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 interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
-
Handle the supplied
throwable
. - handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- handleThrowable(Path, Throwable) - Method in class org.junit.platform.commons.util.ClasspathScanner
- hasAbortedExecution(Throwable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
- hasAggregator() - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Determine if the
Method
represented by this context declares at least oneParameter
that is an aggregator. - hasCompatibleSignature(Method, String, Class<?>[]) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied candidate method (typically a method higher in the type hierarchy) has a signature that is compatible with a method that has the supplied name and parameter types, taking method sub-signatures and generics into account.
- hash - Variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- hashCode - Variable in class org.junit.platform.engine.UniqueId
- hashCode() - Method in class org.junit.jupiter.api.AssertIterableEquals.Pair
- hashCode() - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- hashCode() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- hashCode() - Method in class org.junit.platform.commons.function.Try.Failure
- hashCode() - Method in class org.junit.platform.commons.function.Try.Success
- hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ClassSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- hashCode() - Method in class org.junit.platform.engine.discovery.FilePosition
- hashCode() - Method in class org.junit.platform.engine.discovery.FileSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.IterationSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.MethodSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.ModuleSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.PackageSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- hashCode() - Method in class org.junit.platform.engine.discovery.UriSelector
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- hashCode() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- hashCode() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- hashCode() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CompositeKey
- hashCode() - Method in class org.junit.platform.engine.TestTag
- hashCode() - Method in class org.junit.platform.engine.UniqueId
- hashCode() - Method in class org.junit.platform.engine.UniqueId.Segment
- hashCode() - Method in class org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- hashCode() - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- hashCode() - Method in class org.junit.platform.launcher.TestIdentifier
- hasLowerPrecedenceThan(Operator) - Method in class org.junit.platform.launcher.tagexpression.Operator
- hasNestedTests(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- hasNext() - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- hasParameters(Method) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.Simple
- hasPotentiallyValidSignature() - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Determine if the
Method
represented by this context has a potentially valid signature (i.e., formal parameter declarations) with regard to aggregators. - hasPrefix(UniqueId) - Method in class org.junit.platform.engine.UniqueId
-
Determine if the supplied
UniqueId
is a prefix for thisUniqueId
. - hasSamePrecedenceAs(Operator) - Method in class org.junit.platform.launcher.tagexpression.Operator
- hasSyntheticStartEvent(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- hasTestOrTestFactoryOrTestTemplateMethods(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- headers - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- HierarchicalTestEngine<C> - Class in org.junit.platform.engine.support.hierarchical
-
Abstract base class for all
TestEngine
implementations that wish to organize test suites hierarchically based on theNode
abstraction. - HierarchicalTestEngine() - Constructor for class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
- HierarchicalTestExecutor<C> - Class in org.junit.platform.engine.support.hierarchical
-
Implementation core of all
TestEngines
that wish to use theNode
abstraction as the driving principle for structuring and executing test suites. - HierarchicalTestExecutor(ExecutionRequest, C, HierarchicalTestExecutorService, ThrowableCollector.Factory) - Constructor for class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- HierarchicalTestExecutorService - Interface in org.junit.platform.engine.support.hierarchical
-
A closeable service that executes test tasks.
- HierarchicalTestExecutorService.TestTask - Interface in org.junit.platform.engine.support.hierarchical
-
An executable task that represents a single test or container.
- HierarchyTraversalMode - Enum Class in org.junit.platform.commons.support
-
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
- HierarchyTraversalMode() - Constructor for enum class org.junit.platform.commons.support.HierarchyTraversalMode
- HierarchyTraversalMode() - Constructor for enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
I
- ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try.Failure
- ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the suppliedConsumer
with the contained exception; otherwise, do nothing. - ifFailure(Consumer<Exception>) - Method in class org.junit.platform.commons.function.Try.Success
- ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try.Failure
- ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a success, call the suppliedConsumer
with the contained value; otherwise, do nothing. - ifSuccess(Consumer<V>) - Method in class org.junit.platform.commons.function.Try.Success
- IgnoreCondition - Class in org.junit.jupiter.migrationsupport.conditions
-
ExecutionCondition
that supports JUnit 4's@Ignore
annotation. - IgnoreCondition() - Constructor for class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
- ignored - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- ignoredBuilder - Variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- ignoredBuilder() - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- ignoreLeadingAndTrailingWhitespace() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
- ignoreLeadingAndTrailingWhitespace() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
Controls whether leading and trailing whitespace characters of unquoted CSV columns should be ignored.
- IgnoringRunnerDecorator - Class in org.junit.vintage.engine.discovery
-
Decorator for Runners that will be ignored completely.
- IgnoringRunnerDecorator(Runner) - Constructor for class org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- Implementation Guidelines - Search tag in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
- Section
- IMPLICIT_SUITE_ANNOTATIONS - Static variable in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- implicitConfigurationParametersEnabled - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- implicitProvidersEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- INCLUDE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names are supplied via the
EnumSource.names()
attribute. - INCLUDE - Enum constant in enum class org.junit.platform.launcher.EngineFilter.Type
- INCLUDE_ENCLOSING_CLASSES - Enum constant in enum class org.junit.platform.commons.support.SearchOption
-
Search the inheritance hierarchy as with the
SearchOption.DEFAULT
search option but also search the enclosing class hierarchy for inner classes (i.e., a non-static member classes). - IncludeClassNameFilter - Class in org.junit.platform.engine.discovery
-
ClassNameFilter
that matches fully qualified class names against patterns in the form of regular expressions. - IncludeClassNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.IncludeClassNameFilter
- includeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new include
ClassNameFilter
based on the supplied patterns. - IncludeClassNamePatterns - Annotation Interface in org.junit.platform.suite.api
-
@IncludeClassNamePatterns
specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform. - includeClassNamePatternsUsed - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- included - Variable in class org.junit.platform.engine.FilterResult
- included() - Method in class org.junit.platform.engine.FilterResult
- included(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating included results.
- INCLUDED_BY_ALL_FILTERS - Static variable in class org.junit.platform.engine.CompositeFilter
- includedIf(boolean) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating filter results based on the condition given.
- includedIf(boolean, Supplier<String>, Supplier<String>) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating filter results based on the condition given.
- includeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new include
EngineFilter
based on the supplied engine IDs. - includeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new include
EngineFilter
based on the supplied engine IDs. - IncludeEngines - Annotation Interface in org.junit.platform.suite.api
-
@IncludeEngines
specifies the IDs ofTestEngines
to be included when running a test suite on the JUnit Platform. - includeMatching(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- IncludePackageNameFilter - Class in org.junit.platform.engine.discovery
-
PackageNameFilter
that matches fully qualified package names that are prefixed by one of the package names provided to the filter. - IncludePackageNameFilter(String...) - Constructor for class org.junit.platform.engine.discovery.IncludePackageNameFilter
- includePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilter
based on the supplied package names. - includePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new include
PackageNameFilter
based on the supplied package names. - IncludePackages - Annotation Interface in org.junit.platform.suite.api
-
@IncludePackages
specifies the packages to be included when running a test suite on the JUnit Platform. - includeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an include filter based on the supplied tag expressions.
- includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an include filter based on the supplied tag expressions.
- IncludeTags - Annotation Interface in org.junit.platform.suite.api
-
@IncludeTags
specifies the tags or tag expressions to be included when running a test suite on the JUnit Platform. - includeValuesInMessage - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- includeValuesInMessage(boolean) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set whether to include the actual and expected values in the generated failure message.
- inclusionReasonExpressionNotSatisfy(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- inclusionReasonExpressionSatisfy(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- incrementSkippedOrStarted() - Method in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- index - Variable in class org.junit.jupiter.engine.descriptor.DynamicNodeTestDescriptor
- index - Variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- index - Variable in class org.junit.jupiter.engine.execution.DefaultParameterContext
- INDEX_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.params.ParameterizedTest
-
Placeholder for the current invocation index of a
@ParameterizedTest
method (1-based):{index}
- indexOfFirstAggregator() - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
- IndicativeSentences() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- IndicativeSentencesGeneration - Annotation Interface in org.junit.jupiter.api
-
@IndicativeSentencesGeneration
is used to register theDisplayNameGenerator.IndicativeSentences
display name generator and configure it. - indicativeSentencesGenerator - Static variable in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
-
Pre-defined display name generator instance producing indicative sentences.
- INFERRED - Enum constant in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
The thread mode is determined using the parameter configured in property "junit.jupiter.execution.timeout.thread.mode.default".
- info(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at info level. - info(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- info(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at info level. - info(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- Inheritance - Search tag in annotation interface org.junit.jupiter.api.extension.ExtendWith
- Section
- Inheritance - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- Inheritance and Execution Order - Search tag in annotation interface org.junit.jupiter.api.AfterAll
- Section
- Inheritance and Execution Order - Search tag in annotation interface org.junit.jupiter.api.AfterEach
- Section
- Inheritance and Execution Order - Search tag in annotation interface org.junit.jupiter.api.BeforeAll
- Section
- Inheritance and Execution Order - Search tag in annotation interface org.junit.jupiter.api.BeforeEach
- Section
- inherited(ConfigurationParameters) - Static method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- initialize(AnnotatedElement, T) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- initializeAnnotationConsumer(AnnotationConsumer<A>, A) - Static method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer
- injectFields(ExtensionContext, Object, Class<?>, Predicate<Field>) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- injectInstanceFields(ExtensionContext, Object) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- injectStaticFields(ExtensionContext, Class<?>) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- inProgressDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
- inProgressDescriptorsByStartingThread - Variable in class org.junit.vintage.engine.execution.TestRun
- inputStreamProvider - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- insertOrderSequence - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- installFailureTracker(ExtensionContext) - Static method in class org.junit.jupiter.engine.extension.TempDirectory
- INSTANCE - Static variable in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- INSTANCE - Static variable in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- INSTANCE - Static variable in class org.junit.jupiter.api.DisplayNameGenerator.Simple
- INSTANCE - Static variable in class org.junit.jupiter.api.DisplayNameGenerator.Standard
- INSTANCE - Static variable in class org.junit.jupiter.api.io.TempDirFactory.Standard
- INSTANCE - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- INSTANCE - Static variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.DefaultInputStreamProvider
- INSTANCE - Static variable in class org.junit.platform.engine.support.hierarchical.NopLock
- INSTANCE - Static variable in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- Instance Fields - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- instanceOf(Class<? extends Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aThrowable
is an instance of the suppliedClass
. - instances - Variable in class org.junit.jupiter.engine.execution.DefaultTestInstances
- instantiate(List<Function<EngineDiscoveryRequestResolver.InitializationContext<T>, R>>, EngineDiscoveryRequestResolver.InitializationContext<T>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
- instantiateAndPostProcessTestInstance(JupiterEngineExecutionContext, ExtensionContext, ExtensionRegistry, ExtensionRegistrar, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- instantiateArgumentsProvider(Class<? extends ArgumentsProvider>) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- InstantiatingConfigurationParameterConverter<T> - Class in org.junit.jupiter.engine.config
- InstantiatingConfigurationParameterConverter(Class<T>, String) - Constructor for class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- intercept(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutDuration, TimeoutExtension.TimeoutProvider) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- intercept(LauncherInterceptor.Invocation<T>) - Method in interface org.junit.platform.launcher.LauncherInterceptor
-
Intercept the supplied invocation.
- interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterAll
method. - interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of an
@AfterEach
method. - interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeAll
method. - interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@BeforeEach
method. - interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptDynamicTest(InvocationInterceptor.Invocation<Void>, DynamicTestInvocationContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
DynamicTest
. - interceptDynamicTest(InvocationInterceptor.Invocation<Void>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
- InterceptedInvocation(InvocationInterceptor.Invocation<T>, InvocationInterceptorChain.InterceptorCall<T>, InvocationInterceptor) - Constructor for class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- InterceptingExecutableInvoker - Class in org.junit.jupiter.engine.execution
-
InterceptingExecutableInvoker
encapsulates 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
- InterceptingLauncher - Class in org.junit.platform.launcher.core
- InterceptingLauncher(Launcher, LauncherInterceptor) - Constructor for class org.junit.platform.launcher.core.InterceptingLauncher
- interceptLifecycleMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutExtension.TimeoutProvider) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptor - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- interceptor - Variable in class org.junit.platform.launcher.core.DefaultLauncherSession
- interceptor - Variable in class org.junit.platform.launcher.core.InterceptingLauncher
- interceptorCall - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- interceptorCall - Variable in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- interceptorCall - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- interceptorChain - Static variable in class org.junit.jupiter.engine.descriptor.DynamicTestTestDescriptor
- interceptorChain - Static variable in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
- interceptorFactory - Variable in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- interceptors - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- interceptTestableMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutExtension.TimeoutProvider) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptTestClassConstructor(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Constructor<T>>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a test class constructor.
- interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestFactory
method, such as a@RepeatedTest
or@ParameterizedTest
method. - interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@Test
method. - interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor
-
Intercept the invocation of a
@TestTemplate
method. - interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- InternalTestPlan - Class in org.junit.platform.launcher.core
- InternalTestPlan(LauncherDiscoveryResult, TestPlan) - Constructor for class org.junit.platform.launcher.core.InternalTestPlan
- InterruptTask(Thread) - Constructor for class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.InterruptTask
- ints() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
int
values to use as sources of arguments; must not be empty. - invalidReturnTypeException(Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- invocation - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- invocation - Variable in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- invocationContext - Variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- Invocation Contract - Search tag in interface org.junit.jupiter.api.extension.InvocationInterceptor
- Section
- invocationIndex - Variable in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- invocationIndex - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- invocationIndex - Variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- InvocationInterceptor - Interface in org.junit.jupiter.api.extension
-
InvocationInterceptor
defines the API forExtensions
that wish to intercept calls to test code. - InvocationInterceptor.Invocation<T> - Interface in org.junit.jupiter.api.extension
-
An invocation that returns a result and may throw a
Throwable
. - InvocationInterceptorChain - Class in org.junit.jupiter.engine.execution
- InvocationInterceptorChain() - Constructor for class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- InvocationInterceptorChain.InterceptedInvocation<T> - Class in org.junit.jupiter.engine.execution
- InvocationInterceptorChain.InterceptorCall<T> - Interface in org.junit.jupiter.engine.execution
- InvocationInterceptorChain.ValidatingInvocation<T> - Class in org.junit.jupiter.engine.execution
- InvocationInterceptorChain.VoidInterceptorCall - Interface in org.junit.jupiter.engine.execution
- invoke(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node.Invocation
-
Invoke this invocation with the supplied context.
- invoke(E, Throwable) - Method in interface org.junit.jupiter.engine.descriptor.JupiterTestDescriptor.ExceptionHandlerInvoker
-
Invoke the supplied
exceptionHandler
with the suppliedthrowable
. - invoke(Constructor<T>) - Method in interface org.junit.jupiter.api.extension.ExecutableInvoker
-
Invoke the supplied top-level constructor with dynamic parameter resolution.
- invoke(Constructor<T>, Object) - Method in interface org.junit.jupiter.api.extension.ExecutableInvoker
-
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
- invoke(Constructor<T>, Object) - Method in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- invoke(Constructor<T>, Optional<Object>, ExtensionContext, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Constructor<T>, T>) - Method in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
-
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
- invoke(Method) - Method in interface org.junit.jupiter.api.extension.ExecutableInvoker
-
Invoke the supplied
static
method with dynamic parameter resolution. - invoke(Method, Object) - Method in interface org.junit.jupiter.api.extension.ExecutableInvoker
-
Invoke the supplied method with dynamic parameter resolution.
- invoke(Method, Object) - Method in class org.junit.jupiter.engine.execution.DefaultExecutableInvoker
- invoke(Method, Object, ExtensionContext, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Method, T>) - Method in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
-
Invoke the supplied method with dynamic parameter resolution.
- invoke(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<E>, ExtensionContext, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall<E, T>) - Method in class org.junit.jupiter.engine.execution.InterceptingExecutableInvoker
- invoke(InvocationInterceptor.Invocation<T>, ExtensionRegistry, InvocationInterceptorChain.InterceptorCall<T>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- invoke(GenericBeforeAndAfterAdvice) - Method in interface org.junit.jupiter.migrationsupport.rules.TestRuleSupport.AdviceInvoker
- invoke(T, ExtensionContext) - Method in interface org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.CallbackInvoker
- invokeAfterAllCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeAfterAllMethodExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeAfterAllMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeAfterEachCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeAfterEachExecutionExceptionHandlers(ExtensionContext, ExtensionRegistry, Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
- invokeAfterEachMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeAfterTestExecutionCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Invoke all supplied test tasks and block until their execution has finished.
- invokeAll(List<? extends HierarchicalTestExecutorService.TestTask>) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- invokeAllAfterMethodsOrCallbacks(Class<T>, JupiterEngineExecutionContext, TestMethodTestDescriptor.CallbackInvoker<T>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeAndMaskCheckedExceptions(GenericBeforeAndAfterAdvice) - Method in interface org.junit.jupiter.migrationsupport.rules.TestRuleSupport.AdviceInvoker
- invokeAppropriateMethodOnRuleAnnotatedMembers(ExtensionContext, boolean, TestRuleSupport.AdviceInvoker) - Method in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- invokeBeforeAllCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeBeforeAllMethodExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeBeforeAllMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeBeforeEachCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeBeforeEachExecutionExceptionHandlers(ExtensionContext, ExtensionRegistry, Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
- invokeBeforeEachMethods(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(Class<T>, JupiterEngineExecutionContext, TestMethodTestDescriptor.CallbackInvoker<T>) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeBeforeTestExecutionCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeConditionMethod(Method, ExtensionContext) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- invokedOrSkipped - Variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- invokeExecutionExceptionHandlers(Class<E>, ExtensionRegistry, Throwable, JupiterTestDescriptor.ExceptionHandlerInvoker<E>) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
Invoke exception handlers for the supplied
Throwable
one-by-one until none are left or the throwable to handle has been swallowed. - invokeExecutionExceptionHandlers(List<E>, Throwable, JupiterTestDescriptor.ExceptionHandlerInvoker<E>) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Invoke the supplied method, making it accessible if necessary and masking any checked exception as an unchecked exception.
- invokeMethod(Method, Object, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- invokeMethodInExtensionContext(Method, ExtensionContext, ExtensionRegistry, InterceptingExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestClassConstructor(Optional<Object>, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeTestInstanceFactory(Optional<Object>, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestInstancePostProcessors(Object, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestInstancePreConstructCallbacks(TestInstanceFactoryContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestInstancePreDestroyCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- invokeTestInstancePreDestroyCallbacks(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- invokeTestWatchers(JupiterEngineExecutionContext, boolean, Consumer<TestWatcher>) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- isAbstract(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
abstract
. - isAbstract(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAbstract(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
abstract
. - isAbstract(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isAggregator(int) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Determine if the
Parameter
with the supplied index is an aggregator (i.e., of typeArgumentsAccessor
or annotated withAggregateWith
). - isAggregator(Parameter) - Static method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Determine if the supplied
Parameter
is an aggregator (i.e., of typeArgumentsAccessor
or annotated withAggregateWith
). - isALeaf(Set<TestIdentifier>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- isAlreadyRegistered(Class<? extends Extension>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
-
Determine if the supplied type is already registered in this registry or in a parent registry.
- isAlreadyRunningInForkJoinPool() - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- isAncestor(TestDescriptor, TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.ClassDescriptor
-
Determine if an annotation of
annotationType
is either present or meta-present on theClass
for this descriptor. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.AnnotatedElementContext
-
Determine if an annotation of
annotationType
is either present or meta-present on theAnnotatedElement
for this context. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.extension.ParameterContext
-
Determine if an annotation of
annotationType
is either present or meta-present on theAnnotatedElement
for this context. - isAnnotated(Class<? extends Annotation>) - Method in interface org.junit.jupiter.api.MethodDescriptor
-
Determine if an annotation of
annotationType
is either present or meta-present on theMethod
for this descriptor. - isAnnotated(Class<? extends Annotation>) - Method in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- isAnnotated(Class<? extends Annotation>) - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Determine if an annotation of
annotationType
is either present or meta-present on the suppliedelement
. - isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Determine if an annotation of
annotationType
is either present or meta-present on the suppliedelement
. - isAnnotated(Parameter, int, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.support.AnnotationSupport
-
Determine if an annotation of
annotationType
is either present or meta-present on the supplied optionalelement
. - isAnnotated(Optional<? extends AnnotatedElement>, Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Determine if an annotation of
annotationType
is either present or meta-present on the supplied optionalelement
. - isArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object is an array.
- isAssignableTo(Class<?>, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if an object of the supplied source type can be assigned to the supplied target type for the purpose of reflective method invocations.
- isAssignableTo(Object, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object can be assigned to the supplied target type for the purpose of reflective method invocations.
- isBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Determine if the supplied
String
is blank (i.e.,null
or consisting only of whitespace characters). - isClassFile(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
- isContainer() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a container.
- isContainer() - Method in enum class org.junit.platform.engine.TestDescriptor.Type
- isContainer() - Method in class org.junit.platform.launcher.TestIdentifier
-
Determine if this identifier represents a container.
- isConvertibleToStream(Class<?>) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Determine if an instance of the supplied type can be converted into a
Stream
. - isCurrentOs() - Method in enum class org.junit.jupiter.api.condition.OS
- isCurrentVersion() - Method in enum class org.junit.jupiter.api.condition.JRE
- isCurrentVersionWithinRange(JRE, JRE) - Static method in enum class org.junit.jupiter.api.condition.JRE
- isDebugMode() - Static method in class org.junit.platform.commons.util.RuntimeUtils
-
Try to determine whether the VM was started in debug mode or not.
- isDescendantOfRunnerTestDescriptor(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isDisabled() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Whether the container or test should be disabled.
- isDryRun(InternalTestPlan) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- isEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollector
is empty (i.e., has not collected anyThrowables
). - isEmpty() - Method in class org.junit.platform.launcher.tagexpression.DequeStack
- isEmpty() - Method in interface org.junit.platform.launcher.tagexpression.Stack
- isEnabled(boolean) - Method in class org.junit.jupiter.api.condition.DisabledIfCondition
- isEnabled(boolean) - Method in class org.junit.jupiter.api.condition.EnabledIfCondition
- isEnabled(boolean) - Method in class org.junit.jupiter.api.condition.MethodBasedCondition
- isEnabled(A) - Method in class org.junit.jupiter.api.condition.BooleanExecutionCondition
- isEnabled(DisabledForJreRange) - Method in class org.junit.jupiter.api.condition.DisabledForJreRangeCondition
- isEnabled(DisabledOnJre) - Method in class org.junit.jupiter.api.condition.DisabledOnJreCondition
- isEnabled(EnabledForJreRange) - Method in class org.junit.jupiter.api.condition.EnabledForJreRangeCondition
- isEnabled(EnabledOnJre) - Method in class org.junit.jupiter.api.condition.EnabledOnJreCondition
- isEnabledBasedOnArchitecture(DisabledOnOs) - Method in class org.junit.jupiter.api.condition.DisabledOnOsCondition
- isEnabledBasedOnArchitecture(EnabledOnOs) - Method in class org.junit.jupiter.api.condition.EnabledOnOsCondition
- isEnabledBasedOnOs(DisabledOnOs) - Method in class org.junit.jupiter.api.condition.DisabledOnOsCondition
- isEnabledBasedOnOs(EnabledOnOs) - Method in class org.junit.jupiter.api.condition.EnabledOnOsCondition
- isError() - Method in class org.junit.platform.launcher.tagexpression.ParseStatus
- isEverythingAllowed() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- isExact() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Whether this match is exact.
- isExcluded(TestDescriptor, FilterResult) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- isExcluded(TestEngine) - Method in class org.junit.platform.launcher.core.EngineFilterer
- 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
- IsFactoryConstructor(Class<?>) - Constructor for class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryConstructor
- isFactoryMethod - Static variable in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- IsFactoryMethod(Class<?>) - Constructor for class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryMethod
- isFastForwardLine(String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- isFieldShadowedByLocalFields(Field, List<Field>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
final
. - isFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
final
. - isFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isFinishedOrSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isGeneric(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isGeneric(Type) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isIgnored() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- isIgnored(Runner) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- isIncludeFilter() - Method in class org.junit.platform.launcher.EngineFilter
- isInJavaLangAnnotationPackage(Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
- isInnerClass - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
- isInnerClass(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied class is an inner class (i.e., a non-static member class).
- IsInnerClass - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a non-private inner class (i.e., a non-static nested class).
- IsInnerClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
- isJavaPlatformModuleSystemAvailable() - Static method in class org.junit.platform.commons.util.ModuleUtils
-
Determine if the current Java runtime supports the Java Platform Module System.
- isLauncherDiscoveryListenerAutoRegistrationEnabled() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- isLauncherDiscoveryListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if launcher discovery listeners should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isLauncherSessionListenerAutoRegistrationEnabled() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- isLauncherSessionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if launcher session listeners should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isLeftAssociative() - Method in class org.junit.platform.launcher.tagexpression.Operator
- isLeftOf(Token) - Method in class org.junit.platform.launcher.tagexpression.Token
- isMarked() - Method in class org.junit.platform.launcher.core.StreamInterceptor.RewindableByteArrayOutputStream
- isMatchingWith(Method) - Method in class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- isMethodPresent(Class<?>, Predicate<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isMethodShadowedBy(Method, Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isMethodShadowedByLocalMethods(Method, List<Method>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isMultidimensionalArray(Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied object is a multidimensional array.
- isNestedTestClass - Static variable in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- isNestedTestClass - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- IsNestedTestClass - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter
@Nested
test class. - IsNestedTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
- isNotBlank(String) - Static method in class org.junit.platform.commons.util.StringUtils
- isNotEmpty() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Determine if this
ThrowableCollector
is not empty (i.e., has collected at least oneThrowable
). - isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
final
. - isNotFinal(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotFinal(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
final
. - isNotFinal(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isNotInIncreasingOrder(List<Integer>) - Static method in class org.junit.platform.testkit.engine.Events
- isNotModuleInfo(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
- isNotPackageInfo(Path) - Static method in class org.junit.platform.commons.util.ClassFileVisitor
- isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
private
. - isNotPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
private
. - isNotPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotPrivateAndAcceptsSingleStringArgument(Executable) - Static method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- isNotSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isNotStarted(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is not
static
. - isNotStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isNotStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is not
static
. - isNotStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- ISO_CONTROL_PATTERN - Static variable in class org.junit.platform.commons.util.StringUtils
- Isolated - Annotation Interface in org.junit.jupiter.api.parallel
-
@Isolated
is used to declare that the annotated test class should be executed in isolation from other test classes. - isOperator(String) - Method in class org.junit.platform.launcher.tagexpression.Operators
- 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
- isPerClassLifecycle(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- isPerMethodLifecycle(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- isPostDiscoveryFilterAutoRegistrationEnabled() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- isPostDiscoveryFilterAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if post discovery filters should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isPotentialJUnit4TestClass - Static variable in class org.junit.vintage.engine.discovery.VintageDiscoverer
- IsPotentialJUnit4TestClass - Class in org.junit.vintage.engine.discovery
- IsPotentialJUnit4TestClass() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
- isPotentialJUnit4TestMethod - Static variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder
- IsPotentialJUnit4TestMethod - Class in org.junit.vintage.engine.discovery
- IsPotentialJUnit4TestMethod() - Constructor for class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestMethod
- isPotentialTestContainer - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- IsPotentialTestContainer - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a potential top-level JUnit Jupiter test container, even if it does not contain tests.
- IsPotentialTestContainer() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
- isPrefixOrViceVersa(UniqueId, UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- isPrivate(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
private
. - isPrivate(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPrivate(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
private
. - isPrivate(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
public
. - isPublic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isPublic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
public
. - isPublic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isReadOnly(Set<ExclusiveResource>) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- isReleasable() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock.CompositeLockManagedBlocker
- isReleasable() - Method in class org.junit.platform.engine.support.hierarchical.SingleLock.SingleLockManagedBlocker
- isRepeatableAnnotationContainer(Class<? extends Annotation>) - Static method in class org.junit.platform.commons.util.AnnotationUtils
-
Determine if the supplied annotation type is a container for a repeatable annotation.
- isResolved() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Whether this resolution contains matches or selectors.
- isRoot() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor is a root descriptor.
- isSearchable(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if the supplied class is searchable: is non-null and is not equal to the class reference for
java.lang.Object
. - isSkipped() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Whether execution of the context should be skipped.
- isSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- isStatic(Class<?>) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied class is
static
. - isStatic(Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isStatic(Member) - Static method in class org.junit.platform.commons.support.ModifierSupport
-
Determine if the supplied member is
static
. - isStatic(Member) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- isSuccess() - Method in class org.junit.platform.launcher.tagexpression.ParseStatus
- isSuite() - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- isTest() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor describes a test.
- isTest() - Method in enum class org.junit.platform.engine.TestDescriptor.Type
- isTest() - Method in class org.junit.platform.launcher.TestIdentifier
-
Determine if this identifier represents a test.
- IsTestableMethod - Class in org.junit.jupiter.engine.discovery.predicates
- IsTestableMethod(Class<? extends Annotation>, boolean) - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
- isTestClassWithTests - Static variable in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- IsTestClassWithTests - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a class is a JUnit Jupiter test class containing executable tests, test factories, test templates, or nested tests.
- IsTestClassWithTests() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- isTestEngineAutoRegistrationEnabled() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- isTestEngineAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if test engines should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isTestExecutionListenerAutoRegistrationEnabled() - Method in class org.junit.platform.launcher.core.DefaultLauncherConfig
- isTestExecutionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
-
Determine if test execution listeners should be discovered at runtime using the
ServiceLoader
mechanism and automatically registered. - isTestFactoryMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@TestFactory
method. - IsTestFactoryMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
- isTestMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- isTestMethod(Method) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- IsTestMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@Test
method. - IsTestMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
- isTestOrTestFactoryOrTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- isTestTemplateMethod - Static variable in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
-
Test if a method is a JUnit Jupiter
@TestTemplate
method. - IsTestTemplateMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
- isTimeoutDisabled(String) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
-
Determine if timeouts are disabled for the supplied mode.
- isTimeoutDisabled(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
-
Determine if timeouts are disabled for the supplied extension context.
- isUniqueIdAllowed(UniqueId) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- isValid(String) - Static method in class org.junit.platform.engine.TestTag
-
Determine if the supplied tag name is valid with regard to the supported syntax for tags.
- isWideningConversion(Class<?>, Class<?>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Determine if Java supports a widening primitive conversion from the supplied source type to the supplied primitive target type.
- iterationIndices - Variable in class org.junit.platform.engine.discovery.IterationSelector
- IterationOrder - Enum Class in org.junit.platform.launcher.core
- IterationOrder() - Constructor for enum class org.junit.platform.launcher.core.IterationOrder
- IterationSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects the iterations of a parentDiscoverySelector
via their indices so thatTestEngines
can discover a subset of the iterations of tests or containers. - IterationSelector(DiscoverySelector, int...) - Constructor for class org.junit.platform.engine.discovery.IterationSelector
J
- JAR_FILE_EXTENSION - Static variable in class org.junit.platform.commons.util.CloseablePath
- JAR_URI_SCHEME - Static variable in class org.junit.platform.commons.util.CloseablePath
- JAR_URI_SEPARATOR - Static variable in class org.junit.platform.commons.util.CloseablePath
- jarUri - Variable in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- JAVA_10 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 10.
- JAVA_11 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 11.
- JAVA_12 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 12.
- JAVA_13 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 13.
- JAVA_14 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 14.
- JAVA_15 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 15.
- JAVA_16 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 16.
- JAVA_17 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 17.
- JAVA_18 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 18.
- JAVA_19 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 19.
- JAVA_20 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 20.
- JAVA_21 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 21.
- JAVA_22 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 22.
- JAVA_8 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 8.
- JAVA_9 - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
Java 9.
- javaClass - Variable in class org.junit.platform.engine.discovery.ClassSelector
- javaClass - Variable in class org.junit.platform.engine.discovery.MethodSelector
- javaClass - Variable in class org.junit.platform.engine.support.descriptor.ClassSource
- javaClass - Variable in class org.junit.platform.engine.support.descriptor.MethodSource
- javaMethod - Variable in class org.junit.platform.engine.discovery.MethodSelector
- javaMethod - Variable in class org.junit.platform.engine.support.descriptor.MethodSource
- JavaTimeArgumentConverter - Class in org.junit.jupiter.params.converter
- JavaTimeArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.JavaTimeArgumentConverter
- JavaTimeConversionPattern - Annotation Interface in org.junit.jupiter.params.converter
-
@JavaTimeConversionPattern
is an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedTest
method. - joinConcurrentTasksInReverseOrderToEnableWorkStealing(Deque<ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask>) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- JRE - Enum Class in org.junit.jupiter.api.condition
-
Enumeration of Java Runtime Environment (JRE) versions.
- JRE() - Constructor for enum class org.junit.jupiter.api.condition.JRE
- julLogger - Variable in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- JUNIT_PLATFORM_LAUNCHER_PACKAGE_PREFIX - Static variable in class org.junit.platform.commons.util.ExceptionUtils
- junit4Builder - Variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- junit4Builder() - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- JUnit 4 Suite Support - Search tag in annotation interface org.junit.platform.suite.api.SuiteDisplayName
- Section
- JUnit 4 Suite Support - Search tag in annotation interface org.junit.platform.suite.api.UseTechnicalNames
- Section
- JUnit 4 Suite Support - Search tag in package org.junit.platform.suite.api
- Section
- JUnit4VersionCheck - Class in org.junit.vintage.engine
- JUnit4VersionCheck() - Constructor for class org.junit.vintage.engine.JUnit4VersionCheck
- JUnit 5 Suite Support - Search tag in annotation interface org.junit.platform.suite.api.SuiteDisplayName
- Section
- JUnit 5 Suite Support - Search tag in package org.junit.platform.suite.api
- Section
- JUnitException - Exception Class in org.junit.platform.commons
-
Base class for all
RuntimeExceptions
thrown by JUnit. - JUnitException(String) - Constructor for exception class org.junit.platform.commons.JUnitException
- JUnitException(String, Throwable) - Constructor for exception class org.junit.platform.commons.JUnitException
- JUnitPlatform - Class in org.junit.platform.runner
-
Deprecated.since 1.8, in favor of the
@Suite
support provided by thejunit-platform-suite-engine
module; to be removed in JUnit Platform 2.0 - JUnitPlatform(Class<?>) - Constructor for class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- JUnitPlatform(Class<?>, Launcher) - Constructor for class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- JUnitPlatformRunnerListener - Class in org.junit.platform.runner
- JUnitPlatformRunnerListener(JUnitPlatformTestTree, RunNotifier) - Constructor for class org.junit.platform.runner.JUnitPlatformRunnerListener
- JUnitPlatformTestTree - Class in org.junit.platform.runner
- JUnitPlatformTestTree(TestPlan, Class<?>) - Constructor for class org.junit.platform.runner.JUnitPlatformTestTree
- 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(JupiterEngineExecutionContext.State) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- JupiterEngineExecutionContext(EngineExecutionListener, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- JupiterEngineExecutionContext.Builder - Class in org.junit.jupiter.engine.execution
- JupiterEngineExecutionContext.State - Class in org.junit.jupiter.engine.execution
- JupiterEngineExtensionContext - Class in org.junit.jupiter.engine.descriptor
- JupiterEngineExtensionContext(EngineExecutionListener, JupiterEngineDescriptor, JupiterConfiguration, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
- JupiterTestDescriptor - Class in org.junit.jupiter.engine.descriptor
- JupiterTestDescriptor(UniqueId, AnnotatedElement, Supplier<String>, TestSource, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- JupiterTestDescriptor(UniqueId, String, TestSource, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- JupiterTestDescriptor.ExceptionHandlerInvoker<E> - Interface in org.junit.jupiter.engine.descriptor
- JupiterTestEngine - Class in org.junit.jupiter.engine
-
The JUnit Jupiter
TestEngine
. - JupiterTestEngine() - Constructor for class org.junit.jupiter.engine.JupiterTestEngine
- JupiterThrowableCollectorFactory - Class in org.junit.jupiter.engine.support
-
Factory for creating
ThrowableCollectors
within the JUnit Jupiter test engine. - JupiterThrowableCollectorFactory() - Constructor for class org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
K
- KEEP_ALIVE_SECONDS - Static variable in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
- keepAliveSeconds - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- key - Variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- key - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CompositeKey
- key() - Element in annotation interface org.junit.platform.suite.api.ConfigurationParameter
-
The configuration parameter key under which to add the
value
to the discovery request; nevernull
or blank. - KEY - Static variable in class org.junit.jupiter.engine.extension.TempDirectory
- keySet() - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Get the keys of all configuration parameters stored in this
ConfigurationParameters
. - keySet() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- keySet() - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- keySet() - Method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- keyValuePairs - Variable in class org.junit.platform.engine.reporting.ReportEntry
- Kotlin Support - Search tag in class org.junit.jupiter.api.Assertions
- Section
L
- lastCharacterIndex() - Method in class org.junit.platform.launcher.tagexpression.Token
- launcher - Variable in class org.junit.platform.launcher.core.DefaultLauncherSession
- launcher - Variable in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- Launcher - Interface in org.junit.platform.launcher
-
The
Launcher
API is the main entry point for client code that wishes to discover and execute tests using one or more test engines. - LauncherConfig - Interface in org.junit.platform.launcher.core
-
LauncherConfig
defines the configuration API for creatingLauncher
instances via theLauncherFactory
. - LauncherConfig.Builder - Class in org.junit.platform.launcher.core
-
Builder API for
LauncherConfig
. - LauncherConfigurationParameters - Class in org.junit.platform.launcher.core
- LauncherConfigurationParameters(List<LauncherConfigurationParameters.ParameterProvider>) - Constructor for class org.junit.platform.launcher.core.LauncherConfigurationParameters
- LauncherConfigurationParameters.Builder - Class in org.junit.platform.launcher.core
- LauncherConfigurationParameters.ParameterProvider - Interface in org.junit.platform.launcher.core
- LauncherConstants - Class in org.junit.platform.launcher
-
Collection of constants related to
Launcher
. - LauncherConstants() - Constructor for class org.junit.platform.launcher.LauncherConstants
- launcherDiscoveryFinished(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery has finished.
- launcherDiscoveryFinished(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- launcherDiscoveryFinished(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- LauncherDiscoveryListener - Interface in org.junit.platform.launcher
-
Register a concrete implementation of this interface with a
LauncherDiscoveryRequestBuilder
orLauncher
to be notified of events that occur during test discovery. - launcherDiscoveryListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- launcherDiscoveryListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- launcherDiscoveryListenerRegistry - Variable in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- launcherDiscoveryListeners - Variable in class org.junit.platform.launcher.core.LauncherListenerRegistry
- LauncherDiscoveryListeners - Class in org.junit.platform.launcher.listeners.discovery
-
Collection of
static
factory methods for creatingLauncherDiscoveryListeners
. - LauncherDiscoveryListeners() - Constructor for class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
- LauncherDiscoveryListeners.LauncherDiscoveryListenerType - Enum Class in org.junit.platform.launcher.listeners.discovery
- LauncherDiscoveryListenerType(String, Supplier<LauncherDiscoveryListener>) - Constructor for enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
- LauncherDiscoveryRequest - Interface in org.junit.platform.launcher
-
LauncherDiscoveryRequest
extends theEngineDiscoveryRequest
API with additional filters that are applied by theLauncher
itself. - LauncherDiscoveryRequestBuilder - Class in org.junit.platform.launcher.core
-
The
LauncherDiscoveryRequestBuilder
provides a light-weight DSL for generating aLauncherDiscoveryRequest
. - LauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Deprecated.
- LauncherDiscoveryResult - Class in org.junit.platform.launcher.core
-
Represents the result of test discovery of the configured test engines.
- LauncherDiscoveryResult(Map<TestEngine, TestDescriptor>, ConfigurationParameters) - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryResult
- launcherDiscoveryStarted(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery is about to be started.
- launcherDiscoveryStarted(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- launcherDiscoveryStarted(LauncherDiscoveryRequest) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- LauncherFactory - Class in org.junit.platform.launcher.core
-
Factory for creating
Launcher
instances by invokingLauncherFactory.create()
orLauncherFactory.create(LauncherConfig)
. - LauncherFactory() - Constructor for class org.junit.platform.launcher.core.LauncherFactory
- LauncherInterceptor - Interface in org.junit.platform.launcher
-
Interceptor for test discovery and execution by a
Launcher
in the context of aLauncherSession
. - LauncherInterceptor.Invocation<T> - Interface in org.junit.platform.launcher
-
An invocation that can be intercepted.
- LauncherListenerRegistry - Class in org.junit.platform.launcher.core
- LauncherListenerRegistry() - Constructor for class org.junit.platform.launcher.core.LauncherListenerRegistry
- LauncherSession - Interface in org.junit.platform.launcher
-
The
LauncherSession
API is the main entry point for client code that wishes to repeatedly discover and execute tests using one or more test engines. - launcherSessionClosed(LauncherSession) - Method in interface org.junit.platform.launcher.LauncherSessionListener
-
Called when a launcher session was closed.
- launcherSessionClosed(LauncherSession) - Method in class org.junit.platform.launcher.listeners.session.CompositeLauncherSessionListener
- LauncherSessionListener - Interface in org.junit.platform.launcher
-
Register an implementation of this interface to be notified when a
LauncherSession
is opened and closed. - launcherSessionListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- launcherSessionListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- LauncherSessionListeners - Class in org.junit.platform.launcher.listeners.session
-
Collection of
static
factory methods for creatingLauncherSessionListeners
. - LauncherSessionListeners() - Constructor for class org.junit.platform.launcher.listeners.session.LauncherSessionListeners
- launcherSessionOpened(LauncherSession) - Method in interface org.junit.platform.launcher.LauncherSessionListener
-
Called when a launcher session was opened.
- launcherSessionOpened(LauncherSession) - Method in class org.junit.platform.launcher.listeners.session.CompositeLauncherSessionListener
- launcherSupplier - Variable in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- lazyLoadJavaClass() - Method in class org.junit.platform.engine.discovery.MethodSelector
- lazyLoadJavaClass() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- lazyLoadJavaMethod() - Method in class org.junit.platform.engine.discovery.MethodSelector
- lazyLoadJavaMethod() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- lazyLoadParameterTypes() - Method in class org.junit.platform.engine.discovery.MethodSelector
- left - Variable in class org.junit.jupiter.api.AssertIterableEquals.Pair
- Left - Enum constant in enum class org.junit.platform.launcher.tagexpression.Operator.Associativity
- LeftParenthesis - Static variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- legacyReportingName - Variable in class org.junit.platform.launcher.TestIdentifier
- legacyReportingName - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
-
Deprecated.Use
invalid reference
org.junit.platform.reporting.legacy.LegacyReportingUtils
- LegacyReportingUtils() - Constructor for class org.junit.platform.launcher.listeners.LegacyReportingUtils
-
Deprecated.
- lifecycle - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- lifecycle - Variable in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- Lifecycle() - Constructor for enum class org.junit.jupiter.api.TestInstance.Lifecycle
- lifecycleConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- LifecycleMethodExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
LifecycleMethodExecutionExceptionHandler
defines the API forExtensions
that wish to handle exceptions thrown during the execution of@BeforeAll
,@BeforeEach
,@AfterEach
, and@AfterAll
lifecycle methods. - LifecycleMethodUtils - Class in org.junit.jupiter.engine.descriptor
-
Collection of utilities for working with test lifecycle methods.
- LifecycleMethodUtils() - Constructor for class org.junit.jupiter.engine.descriptor.LifecycleMethodUtils
- line - Variable in class org.junit.platform.engine.discovery.FilePosition
- line - Variable in class org.junit.platform.engine.support.descriptor.FilePosition
- line() - Element in annotation interface org.junit.platform.suite.api.SelectClasspathResource
-
The line number within the classpath resource; ignored if not greater than zero.
- line() - Element in annotation interface org.junit.platform.suite.api.SelectFile
-
The line number within the file; ignored if not greater than zero.
- LINE_SEPARATOR - Static variable in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- LINE_SEPARATOR - Static variable in class org.junit.jupiter.params.provider.CsvParserFactory
- lineSeparator() - Element in annotation interface 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"
. - LinesMatcher(List<String>, List<String>, Object) - Constructor for class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- LINUX - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Linux-based operating system.
- 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 - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- listener - Variable in class org.junit.platform.launcher.core.DefaultLauncherSession
- listener - Variable in class org.junit.vintage.engine.execution.RunListenerAdapter
- LISTENER_ENABLED_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
Property name used to enable the
UniqueIdTrackingListener
: "junit.platform.listeners.uid.tracking.enabled" - listenerRegistry - Variable in class org.junit.platform.launcher.core.DefaultLauncher
- listenerRegistry - Variable in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- listenerRegistry - Variable in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- ListenerRegistry<T> - Class in org.junit.platform.launcher.core
- ListenerRegistry(Function<List<T>, T>) - Constructor for class org.junit.platform.launcher.core.ListenerRegistry
- listeners - Static variable in class org.junit.platform.commons.logging.LoggerFactory
- listeners - Variable in class org.junit.platform.launcher.core.ListenerRegistry
- listeners - Variable in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- listeners - Variable in class org.junit.platform.launcher.listeners.session.CompositeLauncherSessionListener
- listeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied discovery listeners to the request.
- load(Class<T>) - Static method in class org.junit.platform.launcher.core.ServiceLoaderRegistry
- loadAndFilterTestExecutionListeners(ConfigurationParameters) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- loadArrayType(ClassLoader, String, int) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- loadClass - Variable in class org.junit.platform.commons.util.ClasspathScanner
- loadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Deprecated.Please use
ReflectionSupport.tryToLoadClass(String)
instead. - loadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToLoadClass(String)
instead. - loadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToLoadClass(String, ClassLoader)
instead. - loadClasspathResource(String) - Static method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- loadRequiredClass(String, ClassLoader) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- loadRequiredParameterType(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- loadTestEngine(String) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
- loadTestEngines() - Method in class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
- LOCALE - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the default locale for the current instance of the JVM: "java.util.Locale.default"
- lock - Variable in class org.junit.platform.engine.support.hierarchical.SingleLock
- lockManager - Variable in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- LockManager - Class in org.junit.platform.engine.support.hierarchical
- LockManager() - Constructor for class org.junit.platform.engine.support.hierarchical.LockManager
- lockMode - Variable in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- LockMode() - Constructor for enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
- locks - Variable in class org.junit.platform.engine.support.hierarchical.CompositeLock
- locksByKey - Variable in class org.junit.platform.engine.support.hierarchical.LockManager
- log(String, Object...) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- log(Level, Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- logDescriptorsAddedWarning(int) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- logDescriptorsRemovedWarning(int) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- logFailureMessage(String, String, Exception) - Method in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- logGenericFileProcessingException(Path, Throwable) - Method in class org.junit.platform.commons.util.ClasspathScanner
- logger - Static variable in class org.junit.jupiter.api.ClassOrderer.Random
- logger - Variable in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- logger - Static variable in enum class org.junit.jupiter.api.condition.JRE
- logger - Static variable in enum class org.junit.jupiter.api.condition.OS
- logger - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
- logger - Static variable in class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- logger - Static variable in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- logger - Static variable in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
- logger - Static variable in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- logger - Static variable in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- logger - Static variable in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor
- logger - Static variable in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- logger - Static variable in class org.junit.jupiter.engine.execution.ConditionEvaluator
- logger - Static variable in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- logger - Static variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- logger - Static variable in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- logger - Static variable in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- logger - Static variable in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- logger - Static variable in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- logger - Static variable in class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- logger - Static variable in class org.junit.platform.commons.util.ClassFileVisitor
- logger - Static variable in class org.junit.platform.commons.util.ClasspathScanner
- logger - Static variable in class org.junit.platform.commons.util.ModuleUtils
- logger - Static variable in class org.junit.platform.commons.util.ReflectionUtils
- logger - Static variable in class org.junit.platform.engine.discovery.FilePosition
- logger - Static variable in class org.junit.platform.engine.support.descriptor.FilePosition
- logger - Static variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- logger - Static variable in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- logger - Static variable in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- logger - Static variable in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- logger - Static variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- logger - Static variable in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- logger - Variable in class org.junit.platform.launcher.listeners.LoggingListener
- logger - Variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- logger - Static variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- logger - Static variable in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- logger - Static variable in class org.junit.vintage.engine.support.UniqueIdReader
- Logger - Interface in org.junit.platform.commons.logging
-
The
Logger
API serves as a simple logging facade forjava.util.logging
(JUL). - LOGGER - Static variable in class org.junit.platform.launcher.core.EngineFilterer
- LoggerFactory - Class in org.junit.platform.commons.logging
-
Factory for the
Logger
facade for JUL. - LoggerFactory() - Constructor for class org.junit.platform.commons.logging.LoggerFactory
- LoggerFactory.DelegatingLogger - Class in org.junit.platform.commons.logging
- logging() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
-
Create a
LauncherDiscoveryListener
that logs test discovery events based on their severity. - LOGGING - Enum constant in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
- LoggingLauncherDiscoveryListener - Class in org.junit.platform.launcher.listeners.discovery
- LoggingLauncherDiscoveryListener() - Constructor for class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- LoggingListener - Class in org.junit.platform.launcher.listeners
-
Simple
TestExecutionListener
for logging informational messages for all events via aBiConsumer
that consumesThrowable
andSupplier<String>
. - LoggingListener(BiConsumer<Throwable, Supplier<String>>) - Constructor for class org.junit.platform.launcher.listeners.LoggingListener
- logIncompleteFiltering() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- logMalformedClassName(Path, String, InternalError) - Method in class org.junit.platform.commons.util.ClasspathScanner
- LogRecordListener - Class in org.junit.platform.commons.logging
-
LogRecordListener
is only intended for testing purposes within JUnit's own test suite. - LogRecordListener() - Constructor for class org.junit.platform.commons.logging.LogRecordListener
- logRecords - Variable in class org.junit.platform.commons.logging.LogRecordListener
- logRecordSubmitted(LogRecord) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Inform the listener of a
LogRecord
that was submitted to JUL for processing. - logResult(A, AnnotatedElement, ConditionEvaluationResult) - Method in class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition
- logResult(Class<?>, ConditionEvaluationResult, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
- logSuccessMessage(String, String) - Method in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- logTestDescriptorExclusionReasons(Map<String, List<TestDescriptor>>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- logWithThrowable(String, Throwable, Object...) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- LONG_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
-
Long display name pattern for a repeated test: "{displayName} :: repetition {currentRepetition} of {totalRepetitions}"
- longs() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
long
values to use as sources of arguments; must not be empty. - looksLikeAFullyQualifiedMethodName(String) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- lookupCurrentTestDescriptor(Description) - Method in class org.junit.vintage.engine.execution.TestRun
- lookupExecutionModeForcedByAncestor(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- lookupNextTestDescriptor(Description) - Method in class org.junit.vintage.engine.execution.TestRun
- lookupOrRegisterCurrentTestDescriptor(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- lookupOrRegisterNextTestDescriptor(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- lookupOrRegisterTestDescriptor(Description, Function<Description, Optional<VintageTestDescriptor>>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- lookupUnambiguouslyOrApplyFallback(Description, Function<TestRun.VintageDescriptors, Optional<VintageTestDescriptor>>) - Method in class org.junit.vintage.engine.execution.TestRun
- LruCache<K,
V> - Class in org.junit.platform.commons.util -
A simple LRU cache with a maximum size.
- LruCache(int) - Constructor for class org.junit.platform.commons.util.LruCache
-
Create a new LRU cache that maintains at most the supplied number of entries.
M
- MAC - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Apple Macintosh operating system (e.g., macOS).
- makeAccessible(T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- makeReadable(MessageFormat, Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- MALFORMED_CLASS_NAME_ERROR_MESSAGE - Static variable in class org.junit.platform.commons.util.ClasspathScanner
-
Malformed class name InternalError like reported in #401.
- MANAGED_FILE_SYSTEMS - Static variable in class org.junit.platform.commons.util.CloseablePath
- ManagedFileSystem(URI) - Constructor for class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- map(Function<? super Event, ? extends R>) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().map(mapper)
. - map(Function<? super Execution, ? extends R>) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().map(mapper)
. - mark() - Method in class org.junit.platform.launcher.core.StreamInterceptor.RewindableByteArrayOutputStream
- markedPositions - Variable in class org.junit.platform.launcher.core.StreamInterceptor.RewindableByteArrayOutputStream
- markFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- markInvokedOrSkipped() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- markSkipped(TestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- markStarted() - Method in class org.junit.platform.launcher.core.InternalTestPlan
- markStarted(TestDescriptor, EventType) - Method in class org.junit.vintage.engine.execution.TestRun
- match(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test class using the stored class predicate.
- match(String) - Method in class org.junit.platform.commons.util.ClassFilter
-
Test name using the stored name predicate.
- match(SelectorResolver.Match) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Match
. - Match(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>, SelectorResolver.Match.Type) - Constructor for class org.junit.platform.engine.support.discovery.SelectorResolver.Match
- MATCH_ALL - Enum constant in enum class 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 class 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 class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select only those enum constants whose names match none of the patterns supplied via the
EnumSource.names()
attribute. - matches - Variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
- matches() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfEnvironmentVariable.named()
environment variable. - matches() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
DisabledIfSystemProperty.named()
JVM system property. - matches() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfEnvironmentVariable.named()
environment variable. - matches() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
A regular expression that will be used to match against the retrieved value of the
EnabledIfSystemProperty.named()
JVM system property. - matches(String, String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- matches(Set<SelectorResolver.Match>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
Matches
. - matchMethodDescription(Description) - Static method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
-
The method
Filter.matchMethodDescription(Description)
returns a filter that does not account for the case when the description is for aParameterized
runner. - max() - Element in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the upper boundary for the version range that determines if the annotated class or method should be disabled.
- max() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the upper boundary for the version range that determines if the annotated class or method should be enabled.
- MAX_SNIPPET_LENGTH - Static variable in class org.junit.jupiter.api.AssertLinesMatch
- maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The maximum number of characters allowed per CSV column.
- maxCharsPerColumn() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The maximum number of characters allowed per CSV column.
- maxNumberOfBytesPerThread - Variable in class org.junit.platform.launcher.core.StreamInterceptor
- maxPoolSize - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- maxSize - Variable in class org.junit.platform.commons.util.LruCache
- mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- mayRegisterTests() - Method in interface org.junit.platform.engine.TestDescriptor
-
Determine if this descriptor may register dynamic tests during execution.
- MemoizingSupplier(Supplier<Object>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- merge(TestRun.VintageDescriptors, TestRun.VintageDescriptors) - Static method in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- message - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- message(Object) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the user-defined message of the assertion.
- message(String) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- message(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- messageOrSupplier - Variable in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- method - Variable in class org.junit.jupiter.engine.execution.MethodInvocation
- METHOD_CONTEXT_KEY - Static variable in class org.junit.jupiter.params.ParameterizedTestExtension
- METHOD_PATTERN - Static variable in class org.junit.jupiter.engine.discovery.MethodFinder
- METHOD_SCHEME - Static variable in class org.junit.jupiter.engine.descriptor.MethodSourceSupport
- MethodArgumentsProvider - Class in org.junit.jupiter.params.provider
- MethodArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.MethodArgumentsProvider
- MethodBasedCondition<A> - Class in org.junit.jupiter.api.condition
- MethodBasedCondition(Class<A>, Function<A, String>, Function<A, String>) - Constructor for class org.junit.jupiter.api.condition.MethodBasedCondition
- MethodBasedTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
Base class for
TestDescriptors
based on Java methods. - MethodBasedTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- MethodBasedTestDescriptor(UniqueId, String, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- methodContext - Variable in class org.junit.jupiter.params.ParameterizedTestInvocationContext
- methodContext - Variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- methodContext - Variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- MethodDescriptor - Interface in org.junit.jupiter.api
-
MethodDescriptor
encapsulates functionality for a givenMethod
. - methodDescriptors - Variable in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- MethodExtensionContext - Class in org.junit.jupiter.engine.descriptor
- MethodExtensionContext(ExtensionContext, EngineExecutionListener, TestMethodTestDescriptor, JupiterConfiguration, ThrowableCollector, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- methodFinder - Static variable in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- MethodFinder - Class in org.junit.jupiter.engine.discovery
- MethodFinder() - Constructor for class org.junit.jupiter.engine.discovery.MethodFinder
- MethodInvocation<T> - Class in org.junit.jupiter.engine.execution
- MethodInvocation(Method, Optional<Object>, Object[]) - Constructor for class org.junit.jupiter.engine.execution.MethodInvocation
- methodName - Variable in class org.junit.jupiter.api.condition.MethodBasedCondition
- methodName - Variable in class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- methodName - Variable in class org.junit.platform.engine.discovery.MethodSelector
- methodName - Variable in class org.junit.platform.engine.support.descriptor.MethodSource
- MethodName() - Constructor for class org.junit.jupiter.api.MethodOrderer.MethodName
- MethodOrderer - Interface in org.junit.jupiter.api
-
MethodOrderer
defines the API for ordering the test methods in a given test class. - MethodOrderer.Alphanumeric - Class in org.junit.jupiter.api
-
Deprecated.as of JUnit Jupiter 5.7 in favor of
MethodOrderer.MethodName
; to be removed in 6.0 - MethodOrderer.DisplayName - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods alphanumerically based on their display names usingString.compareTo(String)
- MethodOrderer.MethodName - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods alphanumerically based on their names usingString.compareTo(String)
. - MethodOrderer.OrderAnnotation - Class in org.junit.jupiter.api
-
MethodOrderer
that sorts methods based on the@Order
annotation. - MethodOrderer.Random - Class in org.junit.jupiter.api
-
MethodOrderer
that orders methods pseudo-randomly. - MethodOrdererContext - Interface in org.junit.jupiter.api
-
MethodOrdererContext
encapsulates the context in which aMethodOrderer
will be invoked. - methodOrdererConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- MethodOrderingVisitor - Class in org.junit.jupiter.engine.discovery
- MethodOrderingVisitor(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.MethodOrderingVisitor
- methodParameterTypes - Variable in class org.junit.platform.engine.support.descriptor.MethodSource
- methodPredicate - Variable in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- methodsCache - Variable in class org.junit.vintage.engine.descriptor.TestSourceProvider
- methodSelector - Variable in class org.junit.platform.engine.discovery.NestedMethodSelector
- MethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects aMethod
or a combination of class name, method name, and parameter types so thatTestEngines
can discover tests or containers based on methods. - MethodSelector(Class<?>, Method) - Constructor for class org.junit.platform.engine.discovery.MethodSelector
- MethodSelector(Class<?>, String, Class<?>...) - Constructor for class org.junit.platform.engine.discovery.MethodSelector
- MethodSelector(Class<?>, String, String) - Constructor for class org.junit.platform.engine.discovery.MethodSelector
- MethodSelector(ClassLoader, String, String, Class<?>...) - Constructor for class org.junit.platform.engine.discovery.MethodSelector
- MethodSelector(ClassLoader, String, String, String) - Constructor for class org.junit.platform.engine.discovery.MethodSelector
- MethodSelectorResolver - Class in org.junit.jupiter.engine.discovery
- MethodSelectorResolver - Class in org.junit.vintage.engine.discovery
- MethodSelectorResolver() - Constructor for class org.junit.vintage.engine.discovery.MethodSelectorResolver
- MethodSelectorResolver(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- MethodSelectorResolver.MethodType - Enum Class in org.junit.jupiter.engine.discovery
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.AfterAll
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.AfterEach
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.BeforeAll
- Section
- Method Signatures - Search tag in annotation interface org.junit.jupiter.api.BeforeEach
- Section
- MethodSource - Class in org.junit.platform.engine.support.descriptor
-
Method based
TestSource
. - MethodSource - Annotation Interface in org.junit.jupiter.params.provider
-
@MethodSource
is anArgumentsSource
which provides access to values returned from factory methods of the class in which this annotation is declared or from static factory methods in external classes referenced by fully qualified method name. - MethodSource(Class<?>, Method) - Constructor for class org.junit.platform.engine.support.descriptor.MethodSource
- MethodSource(Method) - Constructor for class org.junit.platform.engine.support.descriptor.MethodSource
- MethodSource(String, String) - Constructor for class org.junit.platform.engine.support.descriptor.MethodSource
- MethodSource(String, String, String) - Constructor for class org.junit.platform.engine.support.descriptor.MethodSource
- MethodSourceSupport - Class in org.junit.jupiter.engine.descriptor
-
Jupiter internal support for creating
MethodSource
fromURI
. - MethodSourceSupport() - Constructor for class org.junit.jupiter.engine.descriptor.MethodSourceSupport
- MethodType(Predicate<Method>, String, String...) - Constructor for enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- min() - Element in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
-
Java Runtime Environment version which is used as the lower boundary for the version range that determines if the annotated class or method should be disabled.
- min() - Element in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
-
Java Runtime Environment version which should be used as the lower boundary for the version range that determines if the annotated class or method should be enabled.
- minimumRunnable - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- minVersion - Static variable in class org.junit.vintage.engine.JUnit4VersionCheck
- mismatch - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- missingClosingParenthesis(Token, String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- missingOneOperand(String) - Method in class org.junit.platform.launcher.tagexpression.Operator
- missingOpeningParenthesis(Token, String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- missingOperatorBetween(TokenWith<TagExpression>, TokenWith<TagExpression>) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- missingRhsOperand(Token, String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- mode - Variable in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- mode() - Element in annotation interface org.junit.jupiter.api.parallel.ResourceLock
-
The resource access mode.
- mode() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The enum constant selection mode.
- Mode() - Constructor for enum class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.Mode
- Mode(EnumSource.Mode.Validator, BiPredicate<String, Set<String>>) - Constructor for enum class org.junit.jupiter.params.provider.EnumSource.Mode
- ModifierSupport - Class in org.junit.platform.commons.support
-
ModifierSupport
provides static utility methods for working with class and member modifiers — for example, to determine if a class or member is declared aspublic
,private
,abstract
,static
, etc. - ModifierSupport() - Constructor for class org.junit.platform.commons.support.ModifierSupport
- MODULE_INFO_FILE_NAME - Static variable in class org.junit.platform.commons.util.ClassFileVisitor
- moduleName - Variable in class org.junit.platform.engine.discovery.ModuleSelector
- ModuleSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a module name so thatTestEngines
can discover tests or containers based on modules. - ModuleSelector(String) - Constructor for class org.junit.platform.engine.discovery.ModuleSelector
- ModuleUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
java.lang.Module
and friends. - ModuleUtils() - Constructor for class org.junit.platform.commons.util.ModuleUtils
- Motivation for @Testable - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- mustReturnVoid - Variable in class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
- MutableExtensionRegistry - Class in org.junit.jupiter.engine.extension
-
Default, mutable implementation of
ExtensionRegistry
. - MutableExtensionRegistry(MutableExtensionRegistry) - Constructor for class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- MutableTestExecutionSummary - Class in org.junit.platform.launcher.listeners
-
Mutable, internal implementation of the
TestExecutionSummary
API. - MutableTestExecutionSummary(TestPlan) - Constructor for class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- MutableTestExecutionSummary.DefaultFailure - Class in org.junit.platform.launcher.listeners
N
- name - Variable in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- name - Variable in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- name - Variable in class org.junit.platform.engine.TestTag
- name() - Element in annotation interface org.junit.jupiter.api.RepeatedTest
-
The display name for each repetition of the repeated test.
- name() - Element in annotation interface 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 interface org.junit.platform.suite.api.SelectMethod
-
The name of the method to select; never blank unless
SelectMethod.value()
is used. - named() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
-
The name of the environment variable to retrieve.
- named() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperty
-
The name of the JVM system property to retrieve.
- named(String, T) - Static method in interface org.junit.jupiter.api.Named
-
Factory method for creating an instance of
Named
based on aname
and apayload
. - Named<T> - Interface in org.junit.jupiter.api
-
Named
is a container that associates a name with a given payload. - nameExtractor - Variable in class org.junit.platform.runner.JUnitPlatformTestTree
- namePredicate - Variable in class org.junit.platform.commons.util.ClassFilter
- names() - Element in annotation interface 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 interface org.junit.platform.suite.api.SelectClasses
-
One or more classes to select by their fully qualified names.
- namespace - Variable in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- namespace - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.CompositeKey
- Namespace(List<Object>) - Constructor for class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- NAMESPACE - Static variable in class org.junit.jupiter.engine.extension.TempDirectory
- NAMESPACE - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- NAMESPACE - Static variable in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
- NamespaceAwareStore(NamespacedHierarchicalStore<ExtensionContext.Namespace>, ExtensionContext.Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
- NamespacedHierarchicalStore<N> - Class in org.junit.platform.engine.support.store
-
NamespacedHierarchicalStore
is a hierarchical, namespaced key-value store. - NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent.
- NamespacedHierarchicalStore(NamespacedHierarchicalStore<N>, NamespacedHierarchicalStore.CloseAction<N>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a new store with the supplied parent and close action.
- NamespacedHierarchicalStore.CloseAction<N> - Interface in org.junit.platform.engine.support.store
-
Called for each successfully stored non-null value in the store when a
NamespacedHierarchicalStore
isclosed
. - NamespacedHierarchicalStore.CompositeKey<N> - Class in org.junit.platform.engine.support.store
- NamespacedHierarchicalStore.EvaluatedValue<N> - Class in org.junit.platform.engine.support.store
- NamespacedHierarchicalStore.MemoizingSupplier - Class in org.junit.platform.engine.support.store
-
Thread-safe
Supplier
that memoizes the result of calling its delegate and ensures it is called at most once. - NamespacedHierarchicalStore.MemoizingSupplier.Failure - Class in org.junit.platform.engine.support.store
- NamespacedHierarchicalStore.StoredValue - Class in org.junit.platform.engine.support.store
- NamespacedHierarchicalStoreException - Exception Class in org.junit.platform.engine.support.store
-
Exception thrown by failed
NamespacedHierarchicalStore
operations. - NamespacedHierarchicalStoreException(String) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- NamespacedHierarchicalStoreException(String, Throwable) - Constructor for exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- Nested - Annotation Interface in org.junit.jupiter.api
-
@Nested
is used to signal that the annotated class is a nested, non-static test class (i.e., an inner class) that can share setup and state with an instance of its enclosing class. - nestedClassSelector - Variable in class org.junit.platform.engine.discovery.NestedClassSelector
- nestedClassSelector - Variable in class org.junit.platform.engine.discovery.NestedMethodSelector
- NestedClassSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a nestedClass
or class name enclosed in other classes so thatTestEngines
can discover tests or containers based on classes. - NestedClassSelector(ClassLoader, List<String>, String) - Constructor for class org.junit.platform.engine.discovery.NestedClassSelector
- NestedClassSelector(List<Class<?>>, Class<?>) - Constructor for class org.junit.platform.engine.discovery.NestedClassSelector
- NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for tests based on nested (but not static) Java classes. - NestedClassTestDescriptor(UniqueId, Class<?>, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
- nestedContainer(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's test descriptor is a container and its unique id contains the simple names of the suppliedClass
and all of its enclosing classes. - nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
matches the suppliedCondition
, its test descriptor is a container, and its unique id contains the simple names of the suppliedClass
and all of its enclosing classes. - NestedMethodSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a nestedMethod
or a combination of enclosing classes names, class name, method name, and parameter types so thatTestEngines
can discover tests or containers based on methods. - NestedMethodSelector(ClassLoader, List<String>, String, String, Class<?>...) - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector
- NestedMethodSelector(ClassLoader, List<String>, String, String, String) - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector
- NestedMethodSelector(List<Class<?>>, Class<?>, Method) - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector
- NestedMethodSelector(List<Class<?>>, Class<?>, String, Class<?>...) - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector
- NestedMethodSelector(List<Class<?>>, Class<?>, String, String) - Constructor for class org.junit.platform.engine.discovery.NestedMethodSelector
- NEVER - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Never clean up a temporary directory after the test has completed.
- newChild() - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Create a child store with this store as its parent using the same close action.
- newClassTestDescriptor(TestDescriptor, Class<?>) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Create a new instance of the specified
Class
by invoking the constructor whose argument list matches the types of the supplied arguments. - newInstance(Class<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- newInstance(Constructor<T>, Object...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Create a new instance of type
T
by invoking the supplied constructor with the supplied arguments. - newInstanceSupplier(String, String) - Method in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- newInvalidConfigurationParameterException(String, String) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
- newNestedClassTestDescriptor(TestDescriptor, Class<?>) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- newState - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- newState() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- newThread(Runnable) - Method in class org.junit.jupiter.api.AssertTimeoutPreemptively.TimeoutThreadFactory
- newThread(ForkJoinPool) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory
- next() - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- nextArguments - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- NO_VALUE_SET - Static variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- noCyclesDetectedCache - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
Set of fully qualified class names for which no cycles have been detected in inner class hierarchies.
- node - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- Node<C> - Interface in org.junit.platform.engine.support.hierarchical
-
A node within the execution hierarchy.
- Node.DynamicTestExecutor - Interface in org.junit.platform.engine.support.hierarchical
-
Executor for additional, dynamic test descriptors discovered during execution of a
Node
. - Node.ExecutionMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
Supported execution modes for parallel execution.
- Node.Invocation<C> - Interface in org.junit.platform.engine.support.hierarchical
-
Represents an invocation that runs with the supplied context.
- Node.SkipResult - Class in org.junit.platform.engine.support.hierarchical
-
The result of determining whether the execution of a given
context
should be skipped. - NodeExecutionAdvisor - Class in org.junit.platform.engine.support.hierarchical
- NodeExecutionAdvisor() - Constructor for class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- nodeFinished(C, TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has finished.
- nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
TestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers. - nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
-
Invoke
testSuccessful()
,testAborted()
, ortestFailed()
on each registeredTestWatcher
according to the status of the suppliedTestExecutionResult
, in reverse registration order. - nodeSkipped(C, TestDescriptor, Node.SkipResult) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Callback invoked when the execution of this node has been skipped.
- nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
Invoke
TestWatcher.testDisabled(ExtensionContext, Optional)
on each registeredTestWatcher
, in registration order. - nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, Node.SkipResult) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
-
Override
MethodBasedTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers. - NodeTestTask<C> - Class in org.junit.platform.engine.support.hierarchical
- NodeTestTask(NodeTestTaskContext, TestDescriptor) - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTestTask
- NodeTestTask(NodeTestTaskContext, TestDescriptor, Runnable) - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTestTask
- NodeTestTask.DefaultDynamicTestExecutor - Class in org.junit.platform.engine.support.hierarchical
- NodeTestTask.DynamicTaskState - Interface in org.junit.platform.engine.support.hierarchical
- NodeTestTaskContext - Class in org.junit.platform.engine.support.hierarchical
- NodeTestTaskContext(EngineExecutionListener, HierarchicalTestExecutorService, ThrowableCollector.Factory, NodeExecutionAdvisor) - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- NodeTreeWalker - Class in org.junit.platform.engine.support.hierarchical
- NodeTreeWalker() - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- NodeTreeWalker(LockManager) - Constructor for class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- NodeUtils - Class in org.junit.platform.engine.support.hierarchical
- NodeUtils() - Constructor for class org.junit.platform.engine.support.hierarchical.NodeUtils
- none() - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- NONE - Static variable in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- NOOP - Static variable in interface org.junit.platform.engine.EngineDiscoveryListener
-
No-op implementation of
EngineDiscoveryListener
- NOOP - Static variable in interface org.junit.platform.engine.EngineExecutionListener
-
No-op implementation of
EngineExecutionListener
- NOOP - Static variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- NOOP - Static variable in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
No-op implementation of
LauncherDiscoveryListener
- NOOP - Static variable in interface org.junit.platform.launcher.LauncherSessionListener
-
No-op implementation of
LauncherSessionListener
- NOOP_INTERCEPTOR - Static variable in class org.junit.platform.launcher.core.DefaultLauncherSession
- noOpNode - Static variable in class org.junit.platform.engine.support.hierarchical.NodeUtils
- NopLock - Class in org.junit.platform.engine.support.hierarchical
-
No-op
ResourceLock
implementation. - NopLock() - Constructor for class org.junit.platform.engine.support.hierarchical.NopLock
- not(Class<?>) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.IndicativeSentences
- not(TagExpression) - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- Not - Static variable in class org.junit.platform.launcher.tagexpression.Operators
- notBlank(String, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
String
is not blank. - notBlank(String, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
String
is not blank. - notEmpty(int[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T[], String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T[], Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied array is neither
null
nor empty. - notEmpty(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collection
is neithernull
nor empty. - notEmpty(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Collection
is neithernull
nor empty. - notifier - Variable in class org.junit.platform.runner.JUnitPlatformRunnerListener
- notifyEach(List<T>, IterationOrder, Consumer<T>, Supplier<String>) - Static method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- notifyEach(List<T>, IterationOrder, Consumer<T>, Supplier<String>) - Static method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- notNull(T, String) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Object
is notnull
. - notNull(T, Supplier<String>) - Static method in class org.junit.platform.commons.util.Preconditions
-
Assert that the supplied
Object
is notnull
. - notSkipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
does not represent a skipped execution. - NULL_CLOSEABLE - Static variable in class org.junit.platform.commons.util.CloseablePath
- NULL_EXECUTABLE - Static variable in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
-
Implementation of the NULL Object Pattern.
- NULL_SOURCE - Static variable in class org.junit.vintage.engine.descriptor.TestSourceProvider
- NullAndEmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullAndEmptySource
is a composed annotation that combines the functionality of@NullSource
and@EmptySource
. - nullArguments - Static variable in class org.junit.jupiter.params.provider.NullArgumentsProvider
- NullArgumentsProvider - Class in org.junit.jupiter.params.provider
- NullArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.NullArgumentsProvider
- nullaryOperator(String, int) - Static method in class org.junit.platform.launcher.tagexpression.Operator
- NullEnum - Enum Class in org.junit.jupiter.params.provider
-
Dummy enum class used as default value for optional attributes of annotations.
- NullEnum() - Constructor for enum class org.junit.jupiter.params.provider.NullEnum
- NullIgnoredBuilder() - Constructor for class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.NullIgnoredBuilder
- nullSafeGet(Object) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- nullSafeGet(Supplier<String>) - Static method in class org.junit.jupiter.api.AssertionUtils
- nullSafeGet(Supplier<String>) - Static method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- nullSafeGet(Optional<?>) - Static method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- nullSafeIndexes(Deque<Integer>, int) - Static method in class org.junit.jupiter.api.AssertArrayEquals
- nullSafeToString(Class<?>) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Get the fully qualified name of the supplied class.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of fully qualified class names for the supplied classes.
- nullSafeToString(Object) - Static method in class org.junit.platform.commons.util.StringUtils
-
Convert the supplied
Object
to aString
using the following algorithm. - nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.support.ClassSupport
-
Generate a comma-separated list of mapped values for the supplied classes.
- nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class org.junit.platform.commons.util.ClassUtils
-
Generate a comma-separated list of mapped values for the supplied classes.
- nullSafeToString(ClassOrderer) - Static method in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- NullSource - Annotation Interface in org.junit.jupiter.params.provider
-
@NullSource
is anArgumentsSource
which provides a singlenull
argument to the annotated@ParameterizedTest
method. - nullValues - Variable in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- nullValues - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
A list of strings that should be interpreted as
null
references. - nullValues() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
A list of strings that should be interpreted as
null
references. - numberOfCommonFrames(StackTraceElement[], StackTraceElement[]) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- numLinesToSkip - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- numLinesToSkip() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The number of lines to skip when reading the CSV files.
O
- Object Equality - Search tag in class org.junit.jupiter.api.Assertions
- Section
- objectsAreEqual(Object, Object) - Static method in class org.junit.jupiter.api.AssertionUtils
- of(Object) - Static method in class org.junit.jupiter.engine.execution.DefaultTestInstances
- of(Object...) - Static method in interface org.junit.jupiter.params.provider.Arguments
-
Factory method for creating an instance of
Arguments
based on the suppliedarguments
. - of(String, T) - Static method in interface org.junit.jupiter.api.Named
-
Factory method for creating an instance of
Named
based on aname
and apayload
. - of(Callable<Try<V>>) - Static method in class org.junit.platform.commons.function.Try
- of(Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilter
instance that accepts all names but filters classes. - of(Predicate<String>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ClassFilter
-
Create a
ClassFilter
instance that filters by names and classes. - 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
- Old behavior - Search tag in annotation interface org.junit.jupiter.api.io.TempDir
- Section
- ON_SUCCESS - Enum constant in enum class org.junit.jupiter.api.io.CleanupMode
-
Only clean up a temporary directory if the test completed successfully.
- open(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.CsvFileArgumentsProvider.Source
- OPENBSD - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
OpenBSD operating system.
- openClasspathResource(Class<?>, String) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.DefaultInputStreamProvider
- openClasspathResource(Class<?>, String) - Method in interface org.junit.jupiter.params.provider.CsvFileArgumentsProvider.InputStreamProvider
- openFile(String) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.DefaultInputStreamProvider
- openFile(String) - Method in interface org.junit.jupiter.params.provider.CsvFileArgumentsProvider.InputStreamProvider
- openSegment - Variable in class org.junit.platform.engine.UniqueIdFormat
- openSession() - Static method in class org.junit.platform.launcher.core.LauncherFactory
- openSession(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
-
Factory method for opening a new
LauncherSession
using the suppliedLauncherConfig
. - OpenTest4JAndJUnit4AwareThrowableCollector - Class in org.junit.jupiter.engine.support
-
Specialization of
ThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting. - OpenTest4JAndJUnit4AwareThrowableCollector() - Constructor for class org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
- OpenTest4JAwareThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Specialization of
ThrowableCollector
that treats instances ofTestAbortedException
as aborting. - OpenTest4JAwareThrowableCollector() - Constructor for class org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector
- Operator - Class in org.junit.platform.launcher.tagexpression
- Operator(String, int, int, Operator.Associativity, Operator.TagExpressionCreator) - Constructor for class org.junit.platform.launcher.tagexpression.Operator
- Operator.Associativity - Enum Class in org.junit.platform.launcher.tagexpression
- Operator.TagExpressionCreator - Interface in org.junit.platform.launcher.tagexpression
- operatorFor(String) - Method in class org.junit.platform.launcher.tagexpression.Operators
- operators - Variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- Operators - Class in org.junit.platform.launcher.tagexpression
- Operators() - Constructor for class org.junit.platform.launcher.tagexpression.Operators
- or(TagExpression, TagExpression) - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- Or - Static variable in class org.junit.platform.launcher.tagexpression.Operators
- order - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- order - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- Order - Annotation Interface in org.junit.jupiter.api
-
@Order
is an annotation that is used to configure the order in which the annotated element (i.e., field, method, or class) should be evaluated or executed relative to other elements of the same category. - OrderAnnotation() - Constructor for class org.junit.jupiter.api.ClassOrderer.OrderAnnotation
- OrderAnnotation() - Constructor for class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
- orderChildrenTestDescriptors(TestDescriptor, Class<CHILD>, Function<CHILD, WRAPPER>, AbstractOrderingVisitor.DescriptorWrapperOrderer) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor
- orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.ClassName
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
alphanumerically based on their fully qualified names. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.DisplayName
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
alphanumerically based on their display names. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.OrderAnnotation
-
Sort the classes encapsulated in the supplied
ClassOrdererContext
based on the@Order
annotation. - orderClasses(ClassOrdererContext) - Method in interface org.junit.jupiter.api.ClassOrderer
-
Order the classes encapsulated in the supplied
ClassOrdererContext
. - orderClasses(ClassOrdererContext) - Method in class org.junit.jupiter.api.ClassOrderer.Random
-
Order the classes encapsulated in the supplied
ClassOrdererContext
pseudo-randomly. - orderComparator - Static variable in class org.junit.jupiter.engine.descriptor.ExtensionUtils
- orderContainedClasses(JupiterEngineDescriptor, ClassOrderer) - Method in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- orderContainedMethods(ClassBasedTestDescriptor, Class<?>) - Method in class org.junit.jupiter.engine.discovery.MethodOrderingVisitor
- orderingAction - Variable in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.DisplayName
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
alphanumerically based on their display names. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.MethodName
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
alphanumerically based on their names and formal parameter lists. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.OrderAnnotation
-
Sort the methods encapsulated in the supplied
MethodOrdererContext
based on the@Order
annotation. - orderMethods(MethodOrdererContext) - Method in interface org.junit.jupiter.api.MethodOrderer
-
Order the methods encapsulated in the supplied
MethodOrdererContext
. - orderMethods(MethodOrdererContext) - Method in class org.junit.jupiter.api.MethodOrderer.Random
-
Order the methods encapsulated in the supplied
MethodOrdererContext
pseudo-randomly. - orderWrappers(List<WRAPPER>) - Method in class org.junit.jupiter.engine.discovery.AbstractOrderingVisitor.DescriptorWrapperOrderer
- orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try.Failure
- orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the supplied supplier and return the resultingTry
; if thisTry
is a success, do nothing. - orElse(Supplier<Try<V>>) - Method in class org.junit.platform.commons.function.Try.Success
- orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try.Failure
- orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, call the supplied action and return a new successful or failedTry
depending on the action's outcome; if thisTry
is a success, do nothing. - orElseTry(Callable<V>) - Method in class org.junit.platform.commons.function.Try.Success
- OrFilter - Class in org.junit.vintage.engine.descriptor
- OrFilter(Collection<? extends Filter>) - Constructor for class org.junit.vintage.engine.descriptor.OrFilter
- org.junit.jupiter.api - package org.junit.jupiter.api
-
JUnit Jupiter API for writing tests.
- org.junit.jupiter.api.condition - package org.junit.jupiter.api.condition
-
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
- org.junit.jupiter.api.extension - package org.junit.jupiter.api.extension
-
JUnit Jupiter API for writing extensions.
- org.junit.jupiter.api.extension.support - package org.junit.jupiter.api.extension.support
-
JUnit Jupiter API support for writing extensions.
- org.junit.jupiter.api.function - package org.junit.jupiter.api.function
-
Functional interfaces used within JUnit Jupiter.
- org.junit.jupiter.api.io - package org.junit.jupiter.api.io
-
IO-related support in JUnit Jupiter.
- org.junit.jupiter.api.parallel - package org.junit.jupiter.api.parallel
-
JUnit Jupiter API for influencing parallel test execution.
- org.junit.jupiter.engine - package org.junit.jupiter.engine
-
Core package for the JUnit Jupiter test engine.
- org.junit.jupiter.engine.config - package org.junit.jupiter.engine.config
-
Configuration specific to the JUnit Jupiter test engine.
- org.junit.jupiter.engine.descriptor - package org.junit.jupiter.engine.descriptor
-
Test descriptors used within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.discovery - package org.junit.jupiter.engine.discovery
-
Internal classes for test discovery within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.discovery.predicates - package org.junit.jupiter.engine.discovery.predicates
-
Internal predicate classes used by test discovery within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.execution - package org.junit.jupiter.engine.execution
-
Internal classes for test execution within the JUnit Jupiter test engine.
- org.junit.jupiter.engine.extension - package org.junit.jupiter.engine.extension
-
Test extensions specific to the JUnit Jupiter test engine.
- org.junit.jupiter.engine.support - package org.junit.jupiter.engine.support
-
Internal support classes for the JUnit Jupiter test engine.
- org.junit.jupiter.migrationsupport - package org.junit.jupiter.migrationsupport
-
Support for migrating from JUnit 4 to JUnit Jupiter.
- org.junit.jupiter.migrationsupport.conditions - package org.junit.jupiter.migrationsupport.conditions
-
Extensions which provide support for conditional test execution features of JUnit 4 (e.g., the
@Ignore
annotation) within JUnit Jupiter. - org.junit.jupiter.migrationsupport.rules - package org.junit.jupiter.migrationsupport.rules
-
Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.
- org.junit.jupiter.migrationsupport.rules.adapter - package org.junit.jupiter.migrationsupport.rules.adapter
-
Simple wrappers for JUnit 4 rules to overcome visibility limitations of the JUnit 4 implementations.
- org.junit.jupiter.migrationsupport.rules.member - package org.junit.jupiter.migrationsupport.rules.member
-
Abstractions for members which can be targets of JUnit 4 rule annotations.
- org.junit.jupiter.params - package org.junit.jupiter.params
-
JUnit Jupiter extension for parameterized tests.
- org.junit.jupiter.params.aggregator - package org.junit.jupiter.params.aggregator
- org.junit.jupiter.params.converter - package org.junit.jupiter.params.converter
-
ArgumentConverter
implementations and the corresponding@ConvertWith
annotation. - org.junit.jupiter.params.provider - package org.junit.jupiter.params.provider
-
ArgumentsProvider
implementations and their correspondingArgumentsSource
annotations. - org.junit.jupiter.params.support - package org.junit.jupiter.params.support
-
Support classes for building providers and converters for arguments.
- org.junit.platform.commons - package org.junit.platform.commons
-
Common APIs and support utilities for the JUnit Platform.
- org.junit.platform.commons.annotation - package org.junit.platform.commons.annotation
-
Common annotations for the JUnit Platform.
- org.junit.platform.commons.function - package org.junit.platform.commons.function
-
Maintained functional interfaces and support classes.
- org.junit.platform.commons.logging - package org.junit.platform.commons.logging
-
Internal logging package.
- org.junit.platform.commons.support - package org.junit.platform.commons.support
-
Maintained common support APIs provided by the JUnit Platform.
- org.junit.platform.commons.util - package org.junit.platform.commons.util
-
Internal common utilities for JUnit.
- org.junit.platform.engine - package org.junit.platform.engine
-
Public API for test engines.
- org.junit.platform.engine.discovery - package org.junit.platform.engine.discovery
- org.junit.platform.engine.reporting - package org.junit.platform.engine.reporting
-
Classes used by test engines to report additional data to execution listeners.
- org.junit.platform.engine.support.config - package org.junit.platform.engine.support.config
-
ConfigurationParameters
-related support classes intended to be used by test engine implementations. - org.junit.platform.engine.support.descriptor - package org.junit.platform.engine.support.descriptor
-
TestDescriptor
-related support classes intended to be used by test engine implementations and clients of the launcher. - org.junit.platform.engine.support.discovery - package org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation that can be reused by different test engines.
- org.junit.platform.engine.support.filter - package org.junit.platform.engine.support.filter
-
Filter
-related support classes intended to be used by test engine implementations. - org.junit.platform.engine.support.hierarchical - package org.junit.platform.engine.support.hierarchical
-
Support classes and base implementation for any
TestEngine
that wishes to organize test suites hierarchically based on theNode
abstraction. - org.junit.platform.engine.support.store - package org.junit.platform.engine.support.store
-
Reusable data structures for test engines and their extensions.
- org.junit.platform.launcher - package org.junit.platform.launcher
-
Public API for configuring and launching test plans.
- org.junit.platform.launcher.core - package org.junit.platform.launcher.core
-
Core support classes for the
Launcher
including theLauncherFactory
and theLauncherDiscoveryRequestBuilder
. - org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
-
Common
TestExecutionListener
implementations and related support classes for theLauncher
. - org.junit.platform.launcher.listeners.discovery - package org.junit.platform.launcher.listeners.discovery
-
Common
LauncherDiscoveryListener
implementations and factory methods. - org.junit.platform.launcher.listeners.session - package org.junit.platform.launcher.listeners.session
-
Common
LauncherSessionListener
implementations and factory methods. - org.junit.platform.launcher.tagexpression - package org.junit.platform.launcher.tagexpression
-
The tag expression language parser and related support classes.
- org.junit.platform.runner - package org.junit.platform.runner
-
Runner
and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment. - org.junit.platform.suite.api - package org.junit.platform.suite.api
-
Annotations for configuring a test suite on the JUnit Platform.
- org.junit.platform.suite.commons - package org.junit.platform.suite.commons
-
Common support utilities for executing test suites on the JUnit Platform.
- org.junit.platform.testkit.engine - package org.junit.platform.testkit.engine
-
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform. - org.junit.vintage.engine - package org.junit.vintage.engine
-
Core package for the JUnit Vintage test engine.
- org.junit.vintage.engine.descriptor - package org.junit.vintage.engine.descriptor
-
Test descriptors used within the JUnit Vintage test engine.
- org.junit.vintage.engine.discovery - package org.junit.vintage.engine.discovery
-
Internal classes for test discovery within the JUnit Vintage test engine.
- org.junit.vintage.engine.execution - package org.junit.vintage.engine.execution
-
Internal classes for test execution within the JUnit Vintage test engine.
- org.junit.vintage.engine.support - package org.junit.vintage.engine.support
-
Internal support classes for test discovery and execution within the JUnit Vintage test engine.
- ORIGINAL - Enum constant in enum class org.junit.platform.launcher.core.IterationOrder
- originalState - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- originalStream - Variable in class org.junit.platform.launcher.core.StreamInterceptor
- OS - Enum Class in org.junit.jupiter.api.condition
-
Enumeration of common operating systems used for testing Java applications.
- OS() - Constructor for enum class org.junit.jupiter.api.condition.OS
- OTHER - Enum constant in enum class org.junit.jupiter.api.condition.JRE
-
A JRE version other than
JRE.JAVA_8
,JRE.JAVA_9
,JRE.JAVA_10
,JRE.JAVA_11
,JRE.JAVA_12
,JRE.JAVA_13
,JRE.JAVA_14
,JRE.JAVA_15
,JRE.JAVA_16
,JRE.JAVA_17
,JRE.JAVA_18
,JRE.JAVA_19
,JRE.JAVA_20
,JRE.JAVA_21
, orJRE.JAVA_22
. - OTHER - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
An operating system other than
OS.AIX
,OS.FREEBSD
,OS.LINUX
,OS.MAC
,OS.OPENBSD
,OS.SOLARIS
, orOS.WINDOWS
. - outcome - Variable in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- Outcome() - Constructor for enum class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome
- OutcomeDelayingEngineExecutionListener - Class in org.junit.platform.launcher.core
-
Delays reporting of engine skipped/finished events so that exceptions thrown by engines can be reported to listeners.
- OutcomeDelayingEngineExecutionListener(EngineExecutionListener, TestDescriptor) - Constructor for class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- OutcomeDelayingEngineExecutionListener.Outcome - Enum Class in org.junit.platform.launcher.core
- outerInstance - Variable in class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- output - Variable in class org.junit.platform.launcher.core.StreamInterceptor
- OUTPUT_DIR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
Property name used to set the path to the output directory for the file generated by the
UniqueIdTrackingListener
: "junit.platform.listeners.uid.tracking.output.dir" - OUTPUT_FILE_PREFIX_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
-
Property name used to set the prefix for the name of the file generated by the
UniqueIdTrackingListener
: "junit.platform.listeners.uid.tracking.output.file.prefix" - OutputDir - Class in org.junit.platform.launcher.listeners
- OutputDir(Path) - Constructor for class org.junit.platform.launcher.listeners.OutputDir
P
- PACKAGE_INFO_FILE_NAME - Static variable in class org.junit.platform.commons.util.ClassFileVisitor
- PACKAGE_SEPARATOR_CHAR - Static variable in class org.junit.platform.commons.util.ClasspathScanner
- PACKAGE_SEPARATOR_STRING - Static variable in class org.junit.platform.commons.util.ClasspathScanner
- packageName - Variable in class org.junit.platform.engine.discovery.PackageSelector
- packageName - Variable in class org.junit.platform.engine.support.descriptor.PackageSource
- PackageNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilter
that is applied to the name of aPackage
. - packageNames - Variable in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- packageNames - Variable in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- packagePath(String) - Static method in class org.junit.platform.commons.util.ClasspathScanner
- PackageSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects a package name so thatTestEngines
can discover tests or containers based on packages. - PackageSelector(String) - Constructor for class org.junit.platform.engine.discovery.PackageSelector
- PackageSource - Class in org.junit.platform.engine.support.descriptor
-
Package based
TestSource
. - PackageSource(Package) - Constructor for class org.junit.platform.engine.support.descriptor.PackageSource
- PackageSource(String) - Constructor for class org.junit.platform.engine.support.descriptor.PackageSource
- PackageUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with packages.
- PackageUtils() - Constructor for class org.junit.platform.commons.util.PackageUtils
- Pair(Object, Object) - Constructor for class org.junit.jupiter.api.AssertIterableEquals.Pair
- PARALLEL_CONFIG_CUSTOM_CLASS_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to specify the fully qualified class name of the
ParallelExecutionConfigurationStrategy
to be used for thecustom
configuration strategy: "junit.jupiter.execution.parallel.config.custom.class" - PARALLEL_CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the factor to be multiplied with the number of available processors/cores to determine the desired parallelism for the
dynamic
configuration strategy: "junit.jupiter.execution.parallel.config.dynamic.factor" - PARALLEL_CONFIG_FIXED_MAX_POOL_SIZE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to configure the maximum pool size of the underlying fork-join pool for the
fixed
configuration strategy: "junit.jupiter.execution.parallel.config.fixed.max-pool-size" - PARALLEL_CONFIG_FIXED_PARALLELISM_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to set the desired parallelism for the
fixed
configuration strategy: "junit.jupiter.execution.parallel.config.fixed.parallelism" - PARALLEL_CONFIG_FIXED_SATURATE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to disable saturation of the underlying fork-join pool for the
fixed
configuration strategy: "junit.jupiter.execution.parallel.config.fixed.saturate" - PARALLEL_CONFIG_PREFIX - Static variable in class org.junit.jupiter.engine.Constants
- 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_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"
- ParallelExecutionConfiguration - Interface in org.junit.platform.engine.support.hierarchical
-
Configuration to use for parallel test execution.
- ParallelExecutionConfigurationStrategy - Interface in org.junit.platform.engine.support.hierarchical
-
A strategy to use for configuring parallel test execution.
- parallelism - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- parallelism - Variable in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- parameter - Variable in class org.junit.jupiter.engine.execution.DefaultParameterContext
- parameterContext - Variable in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- ParameterContext - Interface in org.junit.jupiter.api.extension
-
ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. - parameterCount - Variable in class org.junit.jupiter.params.support.AnnotationConsumerInitializer.AnnotationConsumingMethodSignature
- ParameterizedTest - Annotation Interface in org.junit.jupiter.params
-
@ParameterizedTest
is used to signal that the annotated method is a parameterized test method. - ParameterizedTestExtension - Class in org.junit.jupiter.params
- ParameterizedTestExtension() - Constructor for class org.junit.jupiter.params.ParameterizedTestExtension
- ParameterizedTestInvocationContext - Class in org.junit.jupiter.params
- ParameterizedTestInvocationContext(ParameterizedTestNameFormatter, ParameterizedTestMethodContext, Object[], int) - Constructor for class org.junit.jupiter.params.ParameterizedTestInvocationContext
- ParameterizedTestMethodContext - Class in org.junit.jupiter.params
-
Encapsulates access to the parameters of a parameterized test method and caches the converters and aggregators used to resolve them.
- ParameterizedTestMethodContext(Method) - Constructor for class org.junit.jupiter.params.ParameterizedTestMethodContext
- ParameterizedTestMethodContext.Aggregator - Class in org.junit.jupiter.params
- ParameterizedTestMethodContext.Converter - Class in org.junit.jupiter.params
- ParameterizedTestMethodContext.Resolver - Interface in org.junit.jupiter.params
- ParameterizedTestMethodContext.ResolverType - Enum Class in org.junit.jupiter.params
- ParameterizedTestNameFormatter - Class in org.junit.jupiter.params
- ParameterizedTestNameFormatter(String, String, ParameterizedTestMethodContext, int) - Constructor for class org.junit.jupiter.params.ParameterizedTestNameFormatter
- ParameterizedTestParameterResolver - Class in org.junit.jupiter.params
- ParameterizedTestParameterResolver(ParameterizedTestMethodContext, Object[], int) - Constructor for class org.junit.jupiter.params.ParameterizedTestParameterResolver
- ParameterizedTestParameterResolver.CloseableArgument - Class in org.junit.jupiter.params
- parameterList(Method) - Static method in class org.junit.jupiter.api.MethodOrderer.MethodName
- parameterResolutionException(String, Exception, ParameterContext) - Static method in class org.junit.jupiter.params.ParameterizedTestMethodContext
- ParameterResolutionException - Exception Class in org.junit.jupiter.api.extension
-
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver
. - ParameterResolutionException(String) - Constructor for exception class org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolutionException(String, Throwable) - Constructor for exception class org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolutionUtils - Class in org.junit.jupiter.engine.execution
-
ParameterResolutionUtils
provides support for dynamic resolution of executable parameters viaParameterResolvers
. - ParameterResolutionUtils() - Constructor for class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- ParameterResolver - Interface in org.junit.jupiter.api.extension
-
ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime. - parameters - Variable in class org.junit.jupiter.params.ParameterizedTestMethodContext
- parameterTypeNames - Variable in class org.junit.platform.engine.discovery.MethodSelector
- parameterTypeNames() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The parameter types of the method to select.
- parameterTypes - Variable in class org.junit.platform.engine.discovery.MethodSelector
- parameterTypes() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The parameter types of the method to select.
- parameterTypesAsString(Method) - Static method in interface org.junit.jupiter.api.DisplayNameGenerator
-
Generate a string representation of the formal parameters of the supplied method, consisting of the simple names of the parameter types, separated by commas, and enclosed in parentheses.
- parameterValue - Variable in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
- parent - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- parent - Variable in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- parent - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- parent - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- parentConfigurationParameters - Variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- parentConfigurationParameters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- parentConfigurationParameters - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters.Builder
- parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Set the parent configuration parameters to use for the request.
- parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- parentContext - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- parentId - Variable in class org.junit.platform.launcher.TestIdentifier
- parentId - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- parentSelector - Variable in class org.junit.platform.engine.discovery.IterationSelector
- parentStore - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- parse(CharSequence) - Method in class org.junit.jupiter.engine.extension.TimeoutDurationParser
- parse(String) - Static method in enum class org.junit.jupiter.api.condition.OS
- parse(String) - Static method in class org.junit.platform.engine.UniqueId
-
Parse a
UniqueId
from the supplied string representation using the default format. - parse(String) - Method in class org.junit.platform.engine.UniqueIdFormat
-
Parse a
UniqueId
from the supplied string representation. - parse(String) - Method in class org.junit.platform.launcher.tagexpression.Parser
- parse(String) - Static method in class org.junit.platform.launcher.TagFilter
- parseAll(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
- parseFastForwardLimit(String) - Static method in class org.junit.jupiter.api.AssertLinesMatch
- parseFrom(String) - Static method in interface org.junit.platform.launcher.tagexpression.TagExpression
-
Attempt to parse a
TagExpression
from the supplied tag expression string. - parseFullyQualifiedMethodName(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Parse the supplied fully qualified method name into a 3-element
String[]
with the following content. - parseOrDefault(String, Supplier<Optional<TimeoutDuration>>) - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- parser - Variable in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- Parser - Class in org.junit.platform.launcher.tagexpression
- Parser() - Constructor for class org.junit.platform.launcher.tagexpression.Parser
- ParseResult - Interface in org.junit.platform.launcher.tagexpression
-
The result of attempting to parse a
TagExpression
. - ParseResults - Class in org.junit.platform.launcher.tagexpression
- ParseResults() - Constructor for class org.junit.platform.launcher.tagexpression.ParseResults
- ParseStatus - Class in org.junit.platform.launcher.tagexpression
- ParseStatus(String) - Constructor for class org.junit.platform.launcher.tagexpression.ParseStatus
- parseTextBlock(CsvSource) - Method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- parseTimeoutDuration(String) - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- parseTimeoutThreadModeConfiguration() - Method in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- parseValueArray(CsvSource) - Method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- parseVersion(String) - Static method in class org.junit.vintage.engine.JUnit4VersionCheck
- partial(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match without any children.
- partial(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match with potential children.
- PARTIAL - Enum constant in enum class org.junit.platform.engine.support.discovery.SelectorResolver.Match.Type
- parts - Variable in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- path - Variable in class org.junit.platform.commons.util.CloseablePath
- path - Variable in class org.junit.platform.engine.discovery.DirectorySelector
- path - Variable in class org.junit.platform.engine.discovery.FileSelector
- path - Variable in class org.junit.platform.launcher.listeners.OutputDir
- path - Variable in class org.junit.vintage.engine.discovery.UniqueIdFilter
- pattern - Variable in class org.junit.jupiter.engine.extension.RepeatedTestDisplayNameFormatter
- pattern - Variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- PATTERN - Static variable in class org.junit.jupiter.engine.extension.TimeoutDurationParser
- PATTERN - Static variable in class org.junit.platform.launcher.tagexpression.Tokenizer
- patternDescription - Variable in class org.junit.platform.engine.discovery.AbstractClassNameFilter
- patternDescription - Variable in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- patternDescription - Variable in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- Pattern Matching Syntax - Search tag in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- Section
- Pattern Matching Syntax - Search tag in org.junit.platform.launcher.LauncherConstants.DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
- Section
- patterns - Variable in class org.junit.platform.engine.discovery.AbstractClassNameFilter
- payload - Variable in class org.junit.platform.testkit.engine.Event
- peek() - Method in class org.junit.platform.launcher.tagexpression.DequeStack
- peek() - Method in interface org.junit.platform.launcher.tagexpression.Stack
- PER_CLASS - Enum constant in enum class org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created once per test class.
- PER_CONTEXT - Enum constant in enum class org.junit.jupiter.engine.extension.TempDirectory.Scope
- PER_DECLARATION - Enum constant in enum class org.junit.jupiter.engine.extension.TempDirectory.Scope
- PER_METHOD - Enum constant in enum class org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created for each test method, test factory method, or test template method.
- performSanityChecks() - Method in class org.junit.platform.launcher.core.EngineFilterer
- Phase() - Constructor for enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
- pop() - Method in class org.junit.platform.launcher.tagexpression.DequeStack
- pop() - Method in interface org.junit.platform.launcher.tagexpression.Stack
- populateExclusionReasonInMap(Optional<String>, TestDescriptor, Map<String, List<TestDescriptor>>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- populateNewExtensionRegistryFromExtendWithAnnotation(MutableExtensionRegistry, AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
-
Populate a new
MutableExtensionRegistry
from extension types declared via@ExtendWith
on the suppliedAnnotatedElement
. - position - Variable in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- position - Variable in class org.junit.platform.engine.discovery.FileSelector
- PostDiscoveryFilter - Interface in org.junit.platform.launcher
-
A
PostDiscoveryFilter
is applied toTestDescriptors
after test discovery. - postDiscoveryFilterAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- postDiscoveryFilterAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- postDiscoveryFilters - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- postDiscoveryFilters - Variable in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- postDiscoveryFilters - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- postDiscoveryFilters - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- postProcessTestInstance(Object, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
-
Callback for post-processing the supplied test instance.
- postVisitContainer(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
-
Called after visiting a container.
- postVisitDirectory(Path, IOException) - Method in class org.junit.platform.commons.util.ClassFileVisitor
- precedence - Variable in class org.junit.platform.launcher.tagexpression.Operator
- Preconditions - Class in org.junit.platform.commons.util
-
Collection of utilities for asserting preconditions for method and constructor arguments.
- Preconditions() - Constructor for class org.junit.platform.commons.util.Preconditions
- PreconditionViolationException - Exception Class in org.junit.platform.commons
-
Thrown if a precondition is violated.
- PreconditionViolationException - Exception Class in org.junit.platform.commons.util
-
Deprecated.Use PreconditionViolationException instead.
- PreconditionViolationException(String) - Constructor for exception class org.junit.platform.commons.PreconditionViolationException
- PreconditionViolationException(String) - Constructor for exception class org.junit.platform.commons.util.PreconditionViolationException
-
Deprecated.
- PreconditionViolationException(String, Throwable) - Constructor for exception class org.junit.platform.commons.PreconditionViolationException
- PreconditionViolationException(String, Throwable) - Constructor for exception class org.junit.platform.commons.util.PreconditionViolationException
-
Deprecated.
- preConstructTestInstance(TestInstanceFactoryContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePreConstructCallback
-
Callback invoked prior to test instances being constructed.
- preDestroyTestInstance(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
-
Callback for processing test instances before they are destroyed.
- preDestroyTestInstances(ExtensionContext, Consumer<Object>) - Static method in interface org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
-
Utility method for processing all test instances of an
ExtensionContext
that are not present in any of its parent contexts. - Preemptive Timeouts - Search tag in class org.junit.jupiter.api.Assertions
- Section
- prefix - Variable in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- prefixed(String) - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
-
View of
ConfigurationParameters
that applies a supplied prefix to all queries. - PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
-
Create a new view of the supplied
ConfigurationParameters
that applies the supplied prefix to all queries. - prefixErrorMessageForInvalidSelectMethodUsage(Class<?>, String) - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- prepare() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Prepare the supplied
context
prior to execution. - prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.DynamicNodeTestDescriptor
- 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 so cleanUp() does not accidentally close the parent context.
- prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- prepareMessageFormatPattern(int, Object[]) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- previousOperator() - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- preVisitContainer(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
-
Called before visiting a container.
- primitiveToWrapperMap - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
Internal cache of primitive types mapped to their wrapper types.
- printFailuresTo(PrintWriter) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printFailuresTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print failed containers and tests, including sources and exception messages, to the supplied
PrintWriter
. - printFailuresTo(PrintWriter, int) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printFailuresTo(PrintWriter, int) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print failed containers and tests, including sources and exception messages, to the supplied
PrintWriter
. - printSource(PrintWriter, TestIdentifier) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printStackTrace(PrintWriter, StackTraceElement[], Throwable, String, String, Set<Throwable>, int) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printStackTrace(PrintWriter, Throwable, int) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printTo(PrintWriter) - Method in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print this summary to the supplied
PrintWriter
. - problemParsing(Token, String) - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- proceed() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Proceed with this invocation.
- proceed() - Method in class org.junit.jupiter.engine.execution.ConstructorInvocation
- proceed() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- proceed() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- proceed() - Method in class org.junit.jupiter.engine.execution.MethodInvocation
- proceed() - Method in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- proceed() - Method in class org.junit.jupiter.engine.extension.SeparateThreadTimeoutInvocation
- proceed() - Method in interface org.junit.platform.launcher.LauncherInterceptor.Invocation
- proceed(InvocationInterceptor.Invocation<T>) - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain
- process(Supplier<ParseStatus>) - Method in class org.junit.platform.launcher.tagexpression.ParseStatus
- process(Token) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- processClassFileSafely(Path, String, ClassFilter, Path, Consumer<Class<?>>) - Method in class org.junit.platform.commons.util.ClasspathScanner
- processCsvRecord(Object[], Set<String>, boolean, String[]) - Static method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- processTokens() - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- propertiesFile(String) - Static method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- provideArguments(ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
- provideArguments(ExtensionContext) - Method in class org.junit.jupiter.params.provider.EmptyArgumentsProvider
- provideArguments(ExtensionContext) - Method in class org.junit.jupiter.params.provider.NullArgumentsProvider
- provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideArguments(ExtensionContext, CsvFileSource) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- provideArguments(ExtensionContext, CsvSource) - Method in class org.junit.jupiter.params.provider.CsvArgumentsProvider
- provideArguments(ExtensionContext, EnumSource) - Method in class org.junit.jupiter.params.provider.EnumArgumentsProvider
- provideArguments(ExtensionContext, MethodSource) - Method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- provideArguments(ExtensionContext, ValueSource) - Method in class org.junit.jupiter.params.provider.ValueArgumentsProvider
- providers - Variable in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Provide invocation contexts for the test template method represented by the supplied
context
. - provideTestTemplateInvocationContexts(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- prune() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this descriptor from the hierarchy unless it is a root or contains tests.
- prune() - Method in class org.junit.platform.launcher.core.EngineDiscoveryErrorDescriptor
- prune() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- prune(Map<TestEngine, TestDescriptor>) - Method in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
-
Prune all branches in the tree of
TestDescriptors
that do not have executable tests. - pruneDescriptorsForObsoleteDescriptions(List<Description>) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- pruneStackTrace(Throwable, List<String>) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Prune the stack trace of the supplied
Throwable
by removing stack trace elements from theorg.junit
,jdk.internal.reflect
, andsun.reflect
packages. - publishEntry(String) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied value as a report entry.
- publishEntry(String, String) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied key-value pair as a report entry.
- publishEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied map of key-value pairs as a report entry.
- publishReportEntry(String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish the specified value to be consumed by an
org.junit.platform.engine.EngineExecutionListener
in order to supply additional information to the reporting infrastructure. - publishReportEntry(String, String) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish the specified key-value pair to be consumed by an
org.junit.platform.engine.EngineExecutionListener
in order to supply additional information to the reporting infrastructure. - publishReportEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext
-
Publish a map of key-value pairs to be consumed by an
org.junit.platform.engine.EngineExecutionListener
in order to supply additional information to the reporting infrastructure. - publishReportEntry(Map<String, String>) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- push(T) - Method in class org.junit.platform.launcher.tagexpression.DequeStack
- push(T) - Method in interface org.junit.platform.launcher.tagexpression.Stack
- pushExpressionAt(Token, TagExpression) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- pushOperatorAt(Token, Operator) - Method in class org.junit.platform.launcher.tagexpression.ShuntingYard
- put(Object, Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Store a
value
for later retrieval under the suppliedkey
. - put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- put(N, Object, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Put the supplied value for the supplied namespace and key into this store and return the previously associated value in this store.
Q
- quote(char) - Static method in class org.junit.platform.engine.UniqueIdFormat
- quoteCharacter() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The quote character to use for quoted strings.
- quoteCharacter() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The quote character to use for quoted strings.
R
- Random() - Constructor for class org.junit.jupiter.api.ClassOrderer.Random
- Random() - Constructor for class org.junit.jupiter.api.MethodOrderer.Random
- RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.ClassOrderer.Random
-
Property name used to set the random seed used by this
ClassOrderer
: "junit.jupiter.execution.order.random.seed" - RANDOM_SEED_PROPERTY_NAME - Static variable in class org.junit.jupiter.api.MethodOrderer.Random
-
Property name used to set the random seed used by this
MethodOrderer
: "junit.jupiter.execution.order.random.seed" - Rationale for throwing Throwable instead of Exception - Search tag in interface org.junit.jupiter.api.function.Executable
- Section
- Rationale for throwing Throwable instead of Exception - Search tag in interface org.junit.jupiter.api.function.ThrowingConsumer
- Section
- Rationale for throwing Throwable instead of Exception - Search tag in interface org.junit.jupiter.api.function.ThrowingSupplier
- Section
- rawString - Variable in class org.junit.platform.launcher.tagexpression.Token
- READ - Enum constant in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require only read access to the resource.
- READ - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Require only read access to the resource.
- READ_WRITE - Enum constant in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
-
Require read and write access to the resource.
- READ_WRITE - Enum constant in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Require read and write access to the resource.
- readAndStoreTimeoutSoChildrenInheritIt(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- readFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Class, String, Object)
instead. - readFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Field)
instead. - readFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Deprecated.Please use
ReflectionUtils.tryToReadFieldValue(Field, Object)
instead. - readFieldValues(List<Field>, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the values of the supplied fields, making each field accessible if necessary and masking any checked exception as an unchecked exception.
- readFieldValues(List<Field>, Object, Predicate<Field>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Read the values of the supplied fields, making each field accessible if necessary, masking any checked exception as an unchecked exception, and filtering out fields that do not pass the supplied
predicate
. - readObject(ObjectInputStream) - Method in class org.junit.platform.launcher.TestIdentifier
- readStackTrace(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Read the stacktrace of the supplied
Throwable
into a String. - readTimeoutFromAnnotation(Optional<AnnotatedElement>) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- readTimeoutThreadModeFromAnnotation(Optional<AnnotatedElement>) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- readVersion(Supplier<String>) - Static method in class org.junit.vintage.engine.JUnit4VersionCheck
- reason - Variable in class org.junit.jupiter.api.AssertionFailureBuilder
- reason - Variable in class org.junit.jupiter.api.extension.ConditionEvaluationResult
- reason - Variable in class org.junit.platform.engine.FilterResult
- reason - Variable in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- reason() - Element in annotation interface org.junit.jupiter.api.parallel.Execution
-
The reason for using the selected execution mode.
- reason(String) - Method in class org.junit.jupiter.api.AssertionFailureBuilder
-
Set the reason why the assertion failed.
- reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- referenceCount - Variable in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- ReflectionSupport - Class in org.junit.platform.commons.support
-
ReflectionSupport
provides static utility methods for common reflection tasks — for example, scanning for classes in the class-path or module-path, loading classes, finding methods, invoking methods, etc. - ReflectionSupport() - Constructor for class org.junit.platform.commons.support.ReflectionSupport
- ReflectionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with the Java reflection APIs.
- ReflectionUtils() - Constructor for class org.junit.platform.commons.util.ReflectionUtils
- ReflectionUtils.HierarchyTraversalMode - Enum Class in org.junit.platform.commons.util
-
Modes in which a hierarchy can be traversed — for example, when searching for methods or fields within a class hierarchy.
- ReflectiveInvocationContext<T> - Interface in org.junit.jupiter.api.extension
-
ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor). - register(PrintStream, Consumer<PrintStream>, int) - Static method in class org.junit.platform.launcher.core.StreamInterceptor
- registerAfterEachMethodAdapters(ExtensionRegistrar) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- registerAutoDetectedExtension(Extension) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerAutoDetectedExtensions(MutableExtensionRegistry) - Static method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerBeforeEachMethodAdapters(ExtensionRegistrar) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- registerDefaultExtension(Extension) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerDynamicTest(VintageTestDescriptor) - Method in class org.junit.vintage.engine.execution.TestRun
- registerDynamicTestDescriptor(Description, Function<Description, Optional<VintageTestDescriptor>>) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- registeredExtensions - Variable in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registeredExtensionTypes - Variable in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerExtension(Class<? extends Extension>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
-
Instantiate an extension of the given type using its default constructor and register it in the registry.
- registerExtension(Class<? extends Extension>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerExtension(String, Extension) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerExtension(String, Extension, Object) - 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
- RegisterExtension - Annotation Interface in org.junit.jupiter.api.extension
-
@RegisterExtension
is used to register anExtension
via a field in a test class. - registerExtensionsFromConstructorParameters(ExtensionRegistrar, Class<?>) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
-
Register extensions using the supplied registrar from parameters in the declared constructor of the supplied class that are annotated with
@ExtendWith
. - registerExtensionsFromExecutableParameters(ExtensionRegistrar, Executable) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
-
Register extensions using the supplied registrar from parameters in the supplied
Executable
(i.e., aConstructor
orMethod
) that are annotated with@ExtendWith
. - registerExtensionsFromFields(ExtensionRegistrar, Class<?>, Object) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
-
Register extensions using the supplied registrar from fields in the supplied class that are annotated with
@ExtendWith
or@RegisterExtension
. - registerLauncherDiscoveryListeners(LauncherConfig, Launcher) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.DelegatingLauncher
- registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- registerLauncherDiscoveryListeners(LauncherDiscoveryListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Register one or more listeners for test discovery.
- registerLocalExtension(Extension) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerMethodsAsExtensions(List<Method>, ExtensionRegistrar, Function<Method, Extension>) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- registerStderr(int) - Static method in class org.junit.platform.launcher.core.StreamInterceptor
- registerStdout(int) - Static method in class org.junit.platform.launcher.core.StreamInterceptor
- registerSyntheticExtension(Extension, Object) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistrar
-
Register the supplied
Extension
as a synthetic extension, without checking if an extension of that type has already been registered. - registerSyntheticExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- registerTestExecutionListeners(LauncherConfig, Launcher, LauncherConfigurationParameters) - Static method in class org.junit.platform.launcher.core.LauncherFactory
- registerTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncher
- registerTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DefaultLauncherSession.ClosedLauncher
- registerTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.DelegatingLauncher
- registerTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Register one or more listeners for test execution.
- Registration Order - Search tag in annotation interface org.junit.jupiter.api.extension.ExtendWith
- Section
- Registration Order - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- rejectedExclusions - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- relativizeSafely(Path) - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- release() - Method in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- release() - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock
- release() - Method in class org.junit.platform.engine.support.hierarchical.NopLock
- release() - Method in interface org.junit.platform.engine.support.hierarchical.ResourceLock
-
Release this resource lock.
- release() - Method in class org.junit.platform.engine.support.hierarchical.SingleLock
- release(List<Lock>) - Method in class org.junit.platform.engine.support.hierarchical.CompositeLock
- remainingSelectors - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- remove(Object) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value that was previously stored under the supplied
key
. - remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- remove(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- remove(Object, Class<V>) - Method in interface org.junit.jupiter.api.extension.ExtensionContext.Store
-
Remove the value of the specified required type that was previously stored under the supplied
key
. - remove(N, Object) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Remove the value stored for the supplied namespace and key from this store.
- remove(N, Object, Class<T>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
-
Remove the value stored for the supplied namespace and key from this store and cast it to the supplied required type.
- removeChild(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeChild(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove a child from this descriptor.
- removeEldestEntry(Map.Entry<K, V>) - Method in class org.junit.platform.commons.util.LruCache
- removeFromHierarchy() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- removeFromHierarchy() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this non-root descriptor from its parent and remove all the children from this descriptor.
- removeFromHierarchy() - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- removeLastSegment() - Method in class org.junit.platform.engine.UniqueId
- removeListener(LogRecordListener) - Static method in class org.junit.platform.commons.logging.LoggerFactory
-
Remove the supplied
LogRecordListener
from the set of registered listeners. - removeNonLeafIdentifiers(Set<TestIdentifier>) - Method in class org.junit.platform.runner.JUnitPlatformTestTree
- removeTrailingClasspathResourcePathSeparator(URI) - Static method in class org.junit.platform.commons.util.ClasspathScanner
- repeatableAnnotationContainerCache - Static variable in class org.junit.platform.commons.util.AnnotationUtils
- RepeatedTest - Annotation Interface in org.junit.jupiter.api
-
@RepeatedTest
is used to signal that the annotated method is a test template method that should be repeated a specified number of times with a configurable display name and an optional failure threshold. - RepeatedTestDisplayNameFormatter - Class in org.junit.jupiter.engine.extension
-
Display name formatter for a
@RepeatedTest
. - RepeatedTestDisplayNameFormatter(String, String) - Constructor for class org.junit.jupiter.engine.extension.RepeatedTestDisplayNameFormatter
- RepeatedTestExtension - Class in org.junit.jupiter.engine.extension
-
TestTemplateInvocationContextProvider
that supports the@RepeatedTest
annotation. - RepeatedTestExtension() - Constructor for class org.junit.jupiter.engine.extension.RepeatedTestExtension
- RepeatedTestInvocationContext - Class in org.junit.jupiter.engine.extension
-
TestTemplateInvocationContext
for a@RepeatedTest
. - RepeatedTestInvocationContext(DefaultRepetitionInfo, RepeatedTestDisplayNameFormatter) - Constructor for class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
- RepetitionExtension - Class in org.junit.jupiter.engine.extension
-
RepetitionExtension
implements the following extension APIs to support repetitions of a@RepeatedTest
method. - RepetitionExtension(DefaultRepetitionInfo) - Constructor for class org.junit.jupiter.engine.extension.RepetitionExtension
- repetitionInfo - Variable in class org.junit.jupiter.engine.extension.RepeatedTestInvocationContext
- repetitionInfo - Variable in class org.junit.jupiter.engine.extension.RepetitionExtension
- RepetitionInfo - Interface in org.junit.jupiter.api
-
RepetitionInfo
is used to inject information about the current repetition of a repeated test into@RepeatedTest
,@BeforeEach
, and@AfterEach
methods. - replaceIsoControlCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Replace all ISO control characters in the supplied
String
. - replaceRegExElements(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
- replaceUnderscores(String) - Static method in class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- ReplaceUnderscores() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores
- replaceUnderscoresGenerator - Static variable in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
-
Pre-defined display name generator instance replacing underscores.
- replaceWhitespaceCharacters(String, String) - Static method in class org.junit.platform.commons.util.StringUtils
-
Replace all whitespace characters in the supplied
String
. - reportCompletion() - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- reportContainerFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- REPORTED - Enum constant in enum class org.junit.vintage.engine.execution.EventType
- reportEngineFailure(Throwable) - Method in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- reportEngineOutcome() - Method in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- reportEntry(Map<String, String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's payload is an instance ofReportEntry
that contains the supplied key-value pairs. - ReportEntry - Class in org.junit.platform.engine.reporting
-
ReportEntry
encapsulates a time-stamped map ofString
-based key-value pairs to be published to the reporting infrastructure. - ReportEntry() - Constructor for class org.junit.platform.engine.reporting.ReportEntry
-
Deprecated.
- reporter - Variable in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- REPORTING_ENTRY_PUBLISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptor
published a reporting entry. - reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the reporting entry publication
Events
contained in thisEvents
object. - reportingEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected reporting entry publication events.
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Can be called for any
TestDescriptor
in order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go toSystem.out
Information about test context or test data - reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.launcher.core.CompositeEngineExecutionListener
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.launcher.core.DelegatingEngineExecutionListener
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
- reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a publishedReportEntry
. - reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when additional test reporting data has been published for the supplied
TestIdentifier
. - reportingEntryPublished(TestIdentifier, ReportEntry) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- reportUnexpectedFailure(TestRun, RunnerTestDescriptor, TestExecutionResult) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
- representation - Variable in class org.junit.platform.launcher.tagexpression.Operator
- representation() - Method in class org.junit.platform.launcher.tagexpression.Operator
- representationToOperator - Variable in class org.junit.platform.launcher.tagexpression.Operators
- represents(String) - Method in class org.junit.platform.launcher.tagexpression.Operator
- request - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- request - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.DefaultInitializationContext
- request - Variable in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Create a new
LauncherDiscoveryRequestBuilder
. - request() - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- requestBuilder - Variable in class org.junit.platform.testkit.engine.EngineTestKit.Builder
- Requirements for IDEs and Tooling Vendors - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- RESERVED_CHARACTERS - Static variable in class org.junit.platform.engine.TestTag
-
Reserved characters that are not permissible as part of a tag name.
- Resolution(Set<SelectorResolver.Match>, Set<? extends DiscoverySelector>) - Constructor for class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
- resolve(List<Class<?>>, Class<?>, Method, SelectorResolver.Context, JupiterConfiguration) - Method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- resolve(ParameterContext, Object[], int) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext.Aggregator
- resolve(ParameterContext, Object[], int) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext.Converter
- resolve(ParameterContext, Object[], int) - Method in class org.junit.jupiter.params.ParameterizedTestMethodContext
-
Resolve the parameter for the supplied context using the supplied arguments.
- resolve(ParameterContext, Object[], int) - Method in interface org.junit.jupiter.params.ParameterizedTestMethodContext.Resolver
- resolve(ClasspathResourceSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathResourceSelector
using the suppliedContext
. - resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- resolve(ClasspathRootSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClasspathRootSelector
using the suppliedContext
. - resolve(ClassSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- resolve(ClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ClassSelector
using the suppliedContext
. - resolve(ClassSelector, SelectorResolver.Context) - Method in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- resolve(DirectorySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DirectorySelector
using the suppliedContext
. - resolve(FileSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
FileSelector
using the suppliedContext
. - resolve(IterationSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- resolve(IterationSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
IterationSelector
using the suppliedContext
. - resolve(MethodSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- resolve(MethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
MethodSelector
using the suppliedContext
. - resolve(MethodSelector, SelectorResolver.Context) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- resolve(ModuleSelector, SelectorResolver.Context) - Method in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- resolve(ModuleSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
ModuleSelector
using the suppliedContext
. - resolve(NestedClassSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- resolve(NestedClassSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedClassSelector
using the suppliedContext
. - resolve(NestedMethodSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- resolve(NestedMethodSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
NestedMethodSelector
using the suppliedContext
. - resolve(PackageSelector, SelectorResolver.Context) - Method in class org.junit.platform.engine.support.discovery.ClassContainerSelectorResolver
- resolve(PackageSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
PackageSelector
using the suppliedContext
. - resolve(UniqueIdSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- resolve(UniqueIdSelector, SelectorResolver.Context) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- resolve(UniqueIdSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UniqueIdSelector
using the suppliedContext
. - resolve(UniqueIdSelector, SelectorResolver.Context) - Method in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- resolve(UniqueIdSelector, SelectorResolver.Context) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- resolve(UriSelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
UriSelector
using the suppliedContext
. - resolve(DiscoverySelector) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.DefaultContext
- resolve(DiscoverySelector) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolve(DiscoverySelector) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver.Context
-
Resolve the supplied
TestDescriptor
, if possible. - resolve(DiscoverySelector, Function<SelectorResolver, SelectorResolver.Resolution>) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolve(DiscoverySelector, SelectorResolver.Context) - Method in interface org.junit.platform.engine.support.discovery.SelectorResolver
-
Resolve the supplied
DiscoverySelector
using the suppliedContext
. - resolve(EngineDiscoveryRequest, T) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
-
Resolve the supplied
EngineDiscoveryRequest
and collect the results into the suppliedTestDescriptor
. - resolve(SelectorResolver.Context, List<Class<?>>, Class<?>, Supplier<Method>, BiFunction<TestDescriptor, Supplier<Set<? extends DiscoverySelector>>, SelectorResolver.Match>) - Method in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- resolveCompletely(DiscoverySelector) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResult
for a resolved selector. - RESOLVED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEngine
has successfully resolved the selector. - RESOLVED_RESULT - Static variable in class org.junit.platform.engine.SelectorResolutionResult
- resolvedSelectors - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolvedUniqueIds - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolveFutureAndHandleException(Future<T>, Duration, Supplier<String>, Supplier<Thread>, Assertions.TimeoutFailureFactory<E>) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- resolveParameter(ParameterContext, Executable, ExtensionContext, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- resolveParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Resolve an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
. - resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepetitionExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
-
Resolve the current temporary directory for the
Parameter
in the suppliedParameterContext
. - resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestReporterParameterResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- resolveParameters(Executable, Optional<Object>, Optional<Object>, ExtensionContext, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
-
Resolve the array of parameters for the supplied executable, target, and outer instance.
- resolveParameters(Method, Optional<Object>, ExtensionContext, ExtensionRegistry) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
-
Resolve the array of parameters for the supplied method and target.
- resolveParameterTypes(Class<?>, String, String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- resolveParentAndAddFilter(SelectorResolver.Context, DiscoverySelector, Function<RunnerTestDescriptor, Filter>) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- resolver - Static variable in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- resolver - Static variable in class org.junit.vintage.engine.discovery.VintageDiscoverer
- resolverCreators - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
- resolverCreators - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
- resolvers - Variable in class org.junit.jupiter.params.ParameterizedTestMethodContext
- resolvers - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- ResolverType() - Constructor for enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
- resolverTypes - Variable in class org.junit.jupiter.params.ParameterizedTestMethodContext
- resolveSelectors(EngineDiscoveryRequest, JupiterEngineDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
- resolveTestClass(Class<?>, SelectorResolver.Context) - Method in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- resolveTestInstanceFactory(ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- resolveTimeoutThreadMode(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TimeoutExtension
- resolveUniqueId(UniqueIdSelector) - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- resolveUniqueIdIntoTestDescriptor(UniqueId, SelectorResolver.Context, JupiterConfiguration) - Method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- ResourceAccessMode - Enum Class in org.junit.jupiter.api.parallel
-
The access mode required by a test class or method for a given resource.
- ResourceAccessMode() - Constructor for enum class org.junit.jupiter.api.parallel.ResourceAccessMode
- ResourceLock - Interface in org.junit.platform.engine.support.hierarchical
-
A lock for a one or more resources.
- ResourceLock - Annotation Interface in org.junit.jupiter.api.parallel
-
@ResourceLock
is used to declare that the annotated test class or test method requires access to a shared resource identified by a key. - ResourceLocks - Annotation Interface in org.junit.jupiter.api.parallel
-
@ResourceLocks
is a container for one or more@ResourceLock
declarations. - resourceLocksByTestDescriptor - Variable in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- resources() - Element in annotation interface 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. - Resources - Class in org.junit.jupiter.api.parallel
-
Common resource names for synchronizing test execution.
- Resources() - Constructor for class org.junit.jupiter.api.parallel.Resources
- ResourceUtils - Class in org.junit.platform.engine.support.descriptor
-
Collection of static utility methods for working with resources.
- ResourceUtils() - Constructor for class org.junit.platform.engine.support.descriptor.ResourceUtils
- Restrictions for TestEngine Implementations - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- result(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's payload is an instance ofTestExecutionResult
that matches the suppliedCondition
. - retain() - Method in class org.junit.platform.commons.util.CloseablePath.ManagedFileSystem
- retainEngines(Predicate<? super TestDescriptor>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- rethrowIfBlacklisted(Throwable) - Static method in class org.junit.platform.commons.util.BlacklistedExceptions
-
Deprecated.
- rethrowIfUnrecoverable(Throwable) - Static method in class org.junit.platform.commons.util.UnrecoverableExceptions
-
Rethrow the supplied
exception
if it is unrecoverable. - retrieveTestRule(Object, Field) - Static method in class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
- returnsVoid(Method) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- REVERSE_INSERT_ORDER - Static variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- REVERSED - Enum constant in enum class org.junit.platform.launcher.core.IterationOrder
- rewind() - Method in class org.junit.platform.launcher.core.StreamInterceptor.RewindableByteArrayOutputStream
- RewindableByteArrayOutputStream() - Constructor for class org.junit.platform.launcher.core.StreamInterceptor.RewindableByteArrayOutputStream
- right - Variable in class org.junit.jupiter.api.AssertIterableEquals.Pair
- Right - Enum constant in enum class org.junit.platform.launcher.tagexpression.Operator.Associativity
- RightParenthesis - Static variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- root(String, String) - Static method in class org.junit.platform.engine.UniqueId
-
Create a root unique ID from the supplied
segmentType
andvalue
using the default format. - rootContext - Variable in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- roots - Variable in class org.junit.platform.launcher.TestPlan
- rootTestDescriptor - Variable in class org.junit.platform.engine.ExecutionRequest
- ruleType - Variable in class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- run() - Method in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.InterruptTask
- run() - Method in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- run(RunNotifier) - Method in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- run(RunNotifier) - Method in class org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- RunListenerAdapter - Class in org.junit.vintage.engine.execution
- RunListenerAdapter(TestRun, EngineExecutionListener, TestSourceProvider) - Constructor for class org.junit.vintage.engine.execution.RunListenerAdapter
- runner - Variable in class org.junit.vintage.engine.descriptor.RunnerRequest
- runner - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- runner - Variable in class org.junit.vintage.engine.discovery.IgnoringRunnerDecorator
- RUNNER_BUILDER - Static variable in class org.junit.vintage.engine.discovery.ClassSelectorResolver
- RunnerDecorator - Interface in org.junit.vintage.engine.descriptor
- runnerDescendants - Variable in class org.junit.vintage.engine.execution.TestRun
- RunnerExecutor - Class in org.junit.vintage.engine.execution
- RunnerExecutor(EngineExecutionListener) - Constructor for class org.junit.vintage.engine.execution.RunnerExecutor
- runnerForClass(Class<?>) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.DefensiveJUnit4Builder
- runnerForClass(Class<?>) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.NullIgnoredBuilder
- runnerForClass(Class<?>) - Method in class org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder
- RunnerRequest - Class in org.junit.vintage.engine.descriptor
- RunnerRequest(Runner) - Constructor for class org.junit.vintage.engine.descriptor.RunnerRequest
- runnerTestDescriptor - Variable in class org.junit.vintage.engine.discovery.UniqueIdFilter
- runnerTestDescriptor - Variable in class org.junit.vintage.engine.execution.TestRun
- RunnerTestDescriptor - Class in org.junit.vintage.engine.descriptor
- RunnerTestDescriptor(UniqueId, Class<?>, Runner, boolean) - Constructor for class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- RunnerTestDescriptor.ExcludeDescriptionFilter - Class in org.junit.vintage.engine.descriptor
- RunnerTestDescriptorPostProcessor - Class in org.junit.vintage.engine.discovery
- RunnerTestDescriptorPostProcessor() - Constructor for class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- RuntimeUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Runtime
,RuntimeMXBean
, etc. - RuntimeUtils() - Constructor for class org.junit.platform.commons.util.RuntimeUtils
S
- SAME_THREAD - Enum constant in enum class org.junit.jupiter.api.parallel.ExecutionMode
-
Force execution in same thread as the parent node.
- SAME_THREAD - Enum constant in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
The test code is executed in the thread of the calling code.
- SAME_THREAD - Enum constant in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Force execution in same thread as the parent node.
- SameThreadHierarchicalTestExecutorService - Class in org.junit.platform.engine.support.hierarchical
-
A simple executor service that executes all test tasks in the caller's thread.
- SameThreadHierarchicalTestExecutorService() - Constructor for class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- SameThreadTimeoutInvocation<T> - Class in org.junit.jupiter.engine.extension
- SameThreadTimeoutInvocation(InvocationInterceptor.Invocation<T>, TimeoutDuration, ScheduledExecutorService, Supplier<String>) - Constructor for class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- SameThreadTimeoutInvocation.InterruptTask - Class in org.junit.jupiter.engine.extension
- sanitizeMethodName(String) - Method in class org.junit.vintage.engine.descriptor.TestSourceProvider
- saturate - Variable in class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfiguration
- scanForClassesInClasspathRoot(URI, ClassFilter) - Method in class org.junit.platform.commons.util.ClasspathScanner
- scanForClassesInPackage(String, ClassFilter) - Method in class org.junit.platform.commons.util.ClasspathScanner
- scheduled(Future<Void>) - Static method in interface org.junit.platform.engine.support.hierarchical.NodeTestTask.DynamicTaskState
- Scope - Search tag in annotation interface org.junit.jupiter.api.io.TempDir
- Section
- Scope() - Constructor for enum class org.junit.jupiter.engine.extension.TempDirectory.Scope
- SCOPE_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.io.TempDir
-
Deprecated.
- Search Algorithm - Search tag in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter
- Section
- SearchOption - Enum Class in org.junit.platform.commons.support
-
Search options for finding an annotation within a class hierarchy.
- SearchOption() - Constructor for enum class org.junit.platform.commons.support.SearchOption
- Segment(String, String) - Constructor for class org.junit.platform.engine.UniqueId.Segment
-
Create a new
Segment
using the suppliedtype
andvalue
. - 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
- segmentDelimiter - Variable in class org.junit.platform.engine.UniqueIdFormat
- segmentPattern - Variable in class org.junit.platform.engine.UniqueIdFormat
- segments - Variable in class org.junit.platform.engine.UniqueId
- segmentType - Variable in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- select(Enum<?>, Set<String>) - Method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- selectClass(Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelector
for the suppliedClass
. - selectClass(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelector
for the supplied class name and class loader. - selectClass(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClassSelector
for the supplied class name. - selectClass(List<Class<?>>) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- selectClass(List<Class<?>>, Class<?>) - Method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- selectClasses(Class<?>...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- selectClasses(Class<?>, SelectClasses) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- selectClasses(String...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- SelectClasses - Annotation Interface in org.junit.platform.suite.api
-
@SelectClasses
specifies the classes to select when running a test suite on the JUnit Platform. - selectClasspathResource(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelector
for the supplied classpath resource name. - selectClasspathResource(String, int, int) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- selectClasspathResource(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ClasspathResourceSelector
for the supplied classpath resource name. - SelectClasspathResource - Annotation Interface in org.junit.platform.suite.api
-
@SelectClasspathResource
is a repeatable annotation that specifies a classpath resource to select when running a test suite on the JUnit Platform. - SelectClasspathResources - Annotation Interface in org.junit.platform.suite.api
-
@SelectClasspathResources
is a container for one or more@SelectClasspathResource
declarations. - selectClasspathRoots(Set<Path>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ClasspathRootSelectors
for the supplied classpath roots (directories or JAR files). - selectDelimiter(Annotation, char, String) - Static method in class org.junit.jupiter.params.provider.CsvParserFactory
- selectDirectories(String...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- SelectDirectories - Annotation Interface in org.junit.platform.suite.api
-
@SelectDirectories
specifies the directories to select when running a test suite on the JUnit Platform. - selectDirectory(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelector
for the supplied directory. - selectDirectory(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
DirectorySelector
for the supplied directory path. - selectedClassNames - Variable in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- selectExecutionListener(EngineExecutionListener, ConfigurationParameters) - Static method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- selectFile(File) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file. - selectFile(File, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file. - selectFile(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file path. - selectFile(String, int, int) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- selectFile(String, FilePosition) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
FileSelector
for the supplied file path. - SelectFile - Annotation Interface in org.junit.platform.suite.api
-
@SelectFile
is a repeatable annotation that specifies a file to select when running a test suite on the JUnit Platform. - SelectFiles - Annotation Interface in org.junit.platform.suite.api
-
@SelectFiles
is a container for one or more@SelectFile
declarations. - selectIteration(DiscoverySelector, int...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create an
IterationSelector
for the supplied parent selector and iteration indices. - selectMethod(Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectMethod(Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the suppliedClass
and method name. - selectMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the suppliedClass
, method name, and parameter types. - selectMethod(Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the suppliedClass
, method name, and parameter type names. - selectMethod(Class<?>, SelectMethod) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- selectMethod(ClassLoader, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied fully qualified method name and class loader. - selectMethod(ClassLoader, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name, method name, and class loader. - selectMethod(ClassLoader, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name, method name, parameter type names, and class loader. - selectMethod(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied fully qualified method name. - selectMethod(String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name and method name using the default class loader. - selectMethod(String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name, method name, and parameter types. - selectMethod(String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
MethodSelector
for the supplied class name, method name, and parameter type names. - selectMethod(List<Class<?>>, Method) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- SelectMethod - Annotation Interface in org.junit.platform.suite.api
-
@SelectMethod
is a repeatable annotation that specifies a method to select when running a test suite on the JUnit Platform. - SelectMethods - Annotation Interface in org.junit.platform.suite.api
-
@SelectMethods
is a container for one or more@SelectMethod
declarations. - selectModule(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
ModuleSelector
for the supplied module name. - selectModules(String...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- selectModules(Set<String>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a list of
ModuleSelectors
for the supplied module names. - SelectModules - Annotation Interface in org.junit.platform.suite.api
-
@SelectModules
specifies the modules to select when running a test suite on the JUnit Platform. - selectNestedClass(ClassLoader, List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelector
for the supplied class name, its enclosing classes' names, and class loader. - selectNestedClass(List<Class<?>>, Class<?>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelector
for the supplied nestedClass
and its enclosing classes. - selectNestedClass(List<String>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedClassSelector
for the supplied class name and its enclosing classes' names. - selectNestedMethod(ClassLoader, List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied nested class name, method name, and class loader. - selectNestedMethod(ClassLoader, List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied nested class name, method name, parameter type names, and class loader. - selectNestedMethod(List<Class<?>>, Class<?>, Method) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
- selectNestedMethod(List<Class<?>>, Class<?>, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied nestedClass
and method name. - selectNestedMethod(List<Class<?>>, Class<?>, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied enclosing classes, nested class, method name, and parameter types. - selectNestedMethod(List<Class<?>>, Class<?>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the suppliedClass
, method name, and parameter type names. - selectNestedMethod(List<String>, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied nested class name and method name. - selectNestedMethod(List<String>, String, String, Class<?>...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied enclosing class names, nested class name, method name, and parameter types. - selectNestedMethod(List<String>, String, String, String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
NestedMethodSelector
for the supplied nested class name, method name, and parameter type names. - selector - Variable in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in interface org.junit.platform.engine.EngineDiscoveryListener
-
Must be called after a discovery selector has been processed by a test engine.
- selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in class org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener
- selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in class org.junit.platform.launcher.listeners.discovery.CompositeLauncherDiscoveryListener
- selectorProcessed(UniqueId, DiscoverySelector, SelectorResolutionResult) - Method in class org.junit.platform.launcher.listeners.discovery.LoggingLauncherDiscoveryListener
- SelectorResolutionResult - Class in org.junit.platform.engine
- SelectorResolutionResult(SelectorResolutionResult.Status, Throwable) - Constructor for class org.junit.platform.engine.SelectorResolutionResult
- SelectorResolutionResult.Status - Enum Class in org.junit.platform.engine
-
Status of resolving a
DiscoverySelector
. - SelectorResolver - Interface in org.junit.platform.engine.support.discovery
-
A resolver that supports resolving one or multiple types of
DiscoverySelectors
. - SelectorResolver.Context - Interface in org.junit.platform.engine.support.discovery
-
The context for resolving a
DiscoverySelector
and adding it to the test tree. - SelectorResolver.Match - Class in org.junit.platform.engine.support.discovery
-
An exact or partial match for resolving a
DiscoverySelector
into aTestDescriptor
. - SelectorResolver.Match.Type - Enum Class in org.junit.platform.engine.support.discovery
- SelectorResolver.Resolution - Class in org.junit.platform.engine.support.discovery
-
The result of an attempt to resolve a
DiscoverySelector
. - selectors - Variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
- selectors - Variable in class org.junit.platform.launcher.core.DefaultDiscoveryRequest
- selectors - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
selectors
to the request. - selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- selectors(Set<? extends DiscoverySelector>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating a resolution that contains the supplied
DiscoverySelectors
. - selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Add all of the supplied
selectors
to the request. - selectors(DiscoverySelector...) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- selectors(DiscoverySelector...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied discovery selectors.
- selectPackage(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
PackageSelector
for the supplied package name. - selectPackages(String...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- SelectPackages - Annotation Interface in org.junit.platform.suite.api
-
@SelectPackages
specifies the names of packages to select when running a test suite on the JUnit Platform. - selectUniqueId(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelector
for the supplied unique ID. - selectUniqueId(UniqueId) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UniqueIdSelector
for the suppliedUniqueId
. - selectUri(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelector
for the supplied URI. - selectUri(URI) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Create a
UriSelector
for the suppliedURI
. - selectUris(String...) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- SelectUris - Annotation Interface in org.junit.platform.suite.api
-
@SelectUris
specifies the URIs to select when running a test suite on the JUnit Platform. - selfOrChildFailed(ExtensionContext) - Static method in class org.junit.jupiter.engine.extension.TempDirectory
- Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- Section
- Semantics for Source - Search tag in org.junit.jupiter.engine.extension.ExtensionRegistrar.registerExtension(Extension, Object)
- Section
- Sentinel - Static variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- SentinelToken - Static variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- SEPARATE_THREAD - Enum constant in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
The test code is executed in a different thread than that of the calling code.
- SeparateThreadTimeoutInvocation<T> - Class in org.junit.jupiter.engine.extension
- SeparateThreadTimeoutInvocation(InvocationInterceptor.Invocation<T>, TimeoutDuration, Supplier<String>) - Constructor for class org.junit.jupiter.engine.extension.SeparateThreadTimeoutInvocation
- separator() - Element in annotation interface org.junit.jupiter.api.IndicativeSentencesGeneration
-
Custom separator for sentence fragments.
- serialize(ObjectOutputStream) - Method in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- serialize(Serializable) - Method in class org.junit.vintage.engine.support.UniqueIdStringifier
- SerializedForm(ObjectInputStream.GetField) - Constructor for class org.junit.platform.launcher.TestIdentifier.SerializedForm
- SerializedForm(TestIdentifier) - Constructor for class org.junit.platform.launcher.TestIdentifier.SerializedForm
- serialPersistentFields - Static variable in class org.junit.platform.launcher.TestIdentifier
- serialVersionUID - Static variable in exception class org.junit.jupiter.api.AssertTimeoutPreemptively.ExecutionTimeoutException
- serialVersionUID - Static variable in exception class org.junit.jupiter.api.extension.ExtensionConfigurationException
- serialVersionUID - Static variable in exception class org.junit.jupiter.api.extension.ExtensionContextException
- serialVersionUID - Static variable in exception class org.junit.jupiter.api.extension.ParameterResolutionException
- serialVersionUID - Static variable in exception class org.junit.jupiter.api.extension.TestInstantiationException
- serialVersionUID - Static variable in exception class org.junit.jupiter.engine.execution.ConditionEvaluationException
- serialVersionUID - Static variable in exception class org.junit.jupiter.params.aggregator.ArgumentAccessException
- serialVersionUID - Static variable in exception class org.junit.jupiter.params.aggregator.ArgumentsAggregationException
- serialVersionUID - Static variable in exception class org.junit.jupiter.params.converter.ArgumentConversionException
- serialVersionUID - Static variable in exception class org.junit.jupiter.params.provider.CsvParsingException
- serialVersionUID - Static variable in exception class org.junit.platform.commons.JUnitException
- serialVersionUID - Static variable in exception class org.junit.platform.commons.PreconditionViolationException
- serialVersionUID - Static variable in class org.junit.platform.commons.util.LruCache
- serialVersionUID - Static variable in exception class org.junit.platform.commons.util.PreconditionViolationException
-
Deprecated.
- serialVersionUID - Static variable in class org.junit.platform.engine.discovery.FilePosition
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.ClassSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.DirectorySource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.FilePosition
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.FileSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.MethodSource
- serialVersionUID - Static variable in class org.junit.platform.engine.support.descriptor.PackageSource
- serialVersionUID - Static variable in exception class org.junit.platform.engine.support.store.NamespacedHierarchicalStoreException
- serialVersionUID - Static variable in class org.junit.platform.engine.TestTag
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueId.Segment
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueId
- serialVersionUID - Static variable in class org.junit.platform.engine.UniqueIdFormat
- serialVersionUID - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- serialVersionUID - Static variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- serialVersionUID - Static variable in class org.junit.platform.launcher.TestIdentifier
- ServiceLoaderRegistry - Class in org.junit.platform.launcher.core
- ServiceLoaderRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderRegistry
- ServiceLoaderTestEngineRegistry - Class in org.junit.platform.launcher.core
- ServiceLoaderTestEngineRegistry() - Constructor for class org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry
- sessionListeners - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- sessionListenerSupplier - Variable in class org.junit.platform.launcher.core.SessionPerRequestLauncher
- SessionPerRequestLauncher - Class in org.junit.platform.launcher.core
- SessionPerRequestLauncher(Supplier<Launcher>, Supplier<LauncherSessionListener>, Supplier<List<LauncherInterceptor>>) - Constructor for class org.junit.platform.launcher.core.SessionPerRequestLauncher
- setDefaultChildExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- setParent(TestDescriptor) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- setParent(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor
-
Set the parent of this descriptor.
- setParentContext(C) - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- setTestInstances(TestInstances) - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- setTestInstances(TestInstances) - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- SHORT_DISPLAY_NAME - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
-
Short display name pattern for a repeated test: "repetition {currentRepetition} of {totalRepetitions}"
- shorts() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
short
values to use as sources of arguments; must not be empty. - shouldBeSkipped(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Determine if the execution of the supplied
context
should be skipped. - shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.DynamicNodeTestDescriptor
- shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- shouldRun(Description) - Method in class org.junit.vintage.engine.descriptor.OrFilter
- shouldRun(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- shouldRun(Description) - Method in class org.junit.vintage.engine.discovery.UniqueIdFilter
- ShuntingYard - Class in org.junit.platform.launcher.tagexpression
-
This is based on a modified version of the Shunting-yard algorithm.
- ShuntingYard(List<Token>) - Constructor for class org.junit.platform.launcher.tagexpression.ShuntingYard
- Simple() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Simple
- SimpleArgumentConverter - Class in org.junit.jupiter.params.converter
-
SimpleArgumentConverter
is an abstract base class forArgumentConverter
implementations that only need to know the target type and do not need access to theParameterContext
to perform the conversion. - SimpleArgumentConverter() - Constructor for class org.junit.jupiter.params.converter.SimpleArgumentConverter
- simpleGenerator - Static variable in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
-
Pre-defined simple display name generator instance.
- sinceJava7ConstructorInvocation(ParallelExecutionConfiguration, ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- sinceJava9Constructor() - Static method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- sinceJava9ConstructorInvocation(ParallelExecutionConfiguration, ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- SingleLock - Class in org.junit.platform.engine.support.hierarchical
- SingleLock(Lock) - Constructor for class org.junit.platform.engine.support.hierarchical.SingleLock
- SingleLock.SingleLockManagedBlocker - Class in org.junit.platform.engine.support.hierarchical
- SingleLockManagedBlocker() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleLock.SingleLockManagedBlocker
- SingleTestExecutor - Class in org.junit.platform.engine.support.hierarchical
-
Deprecated.
- SingleTestExecutor() - Constructor for class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
Deprecated.
- SingleTestExecutor.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
Deprecated.Functional interface for a single test to be executed by
SingleTestExecutor
. - SingleThreadExecutorResource() - Constructor for class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.SingleThreadExecutorResource
- size() - Method in interface org.junit.jupiter.params.aggregator.ArgumentsAccessor
-
Get the number of arguments in this accessor.
- size() - Method in class org.junit.jupiter.params.aggregator.DefaultArgumentsAccessor
- size() - Method in interface org.junit.platform.engine.ConfigurationParameters
-
Deprecated.as of JUnit Platform 1.9 in favor of
ConfigurationParameters.keySet()
- size() - Method in class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
- size() - Method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
- size() - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- size() - Method in class org.junit.platform.launcher.tagexpression.DequeStack
- size() - Method in interface org.junit.platform.launcher.tagexpression.Stack
- skip() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Explicitly skip this invocation.
- skip() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation
- skip() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- skip(String) - Static method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
-
Factory for creating skipped results.
- skipped - Variable in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- skipped - Variable in class org.junit.platform.testkit.engine.TerminationInfo
- skipped() - Method in class org.junit.platform.testkit.engine.Events
-
Get the skipped
Events
contained in thisEvents
object. - skipped() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the skipped
Executions
contained in thisExecutions
object. - skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
represents a skipped execution. - skipped(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected skipped events.
- skipped(String) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create a skipped
TerminationInfo
instance for the supplied reason. - skipped(TestDescriptor, Instant, Instant, String) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Execution
that was skipped with the providedskipReason
. - SKIPPED - Enum constant in enum class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome
- SKIPPED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptor
has been skipped. - skippedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
- skippedOrStartedCount - Variable in class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- skippedWithReason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.SKIPPED
and the reason is equal to the suppliedString
. - skippedWithReason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's type isEventType.SKIPPED
and the reason matches the suppliedPredicate
. - skipReason - Variable in class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener
- skipReason - Variable in class org.junit.platform.testkit.engine.TerminationInfo
- skipResult - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- SkipResult(boolean, String) - Constructor for class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- snippet(String) - Method in class org.junit.jupiter.api.AssertLinesMatch.LinesMatcher
- SOLARIS - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Oracle Solaris operating system.
- source - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- source - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- source - Variable in class org.junit.platform.launcher.TestIdentifier
- SOURCE_CODE_SYNTAX_ARRAY_PATTERN - Static variable in class org.junit.platform.commons.util.ReflectionUtils
- sources - Variable in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- sourceType - Variable in class org.junit.jupiter.params.converter.TypedArgumentConverter
- Stack<T> - Interface in org.junit.platform.launcher.tagexpression
- STACK_TRACE_ELEMENT_FILTER - Static variable in class org.junit.platform.commons.util.ExceptionUtils
- STACKTRACE_PRUNING_ENABLED_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Property name used to enable or disable stack trace pruning.
- StackTracePruningEngineExecutionListener - Class in org.junit.platform.launcher.core
-
Prunes the stack trace in case of a failed event.
- StackTracePruningEngineExecutionListener(EngineExecutionListener) - Constructor for class org.junit.platform.launcher.core.StackTracePruningEngineExecutionListener
- Standard() - Constructor for class org.junit.jupiter.api.DisplayNameGenerator.Standard
- Standard() - Constructor for class org.junit.jupiter.api.io.TempDirFactory.Standard
- STANDARD_INCLUDE_PATTERN - Static variable in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Standard include pattern in the form of a regular expression that is used to match against fully qualified class names: "^(Test.*|.+[.$]Test.*|.*Tests?)$"
- standardGenerator - Static variable in class org.junit.jupiter.engine.descriptor.DisplayNameUtils
-
Pre-defined standard display name generator instance.
- started - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- started() - Static method in class org.junit.platform.testkit.engine.EventConditions
- started() - Method in class org.junit.platform.testkit.engine.Events
-
Get the started
Events
contained in thisEvents
object. - started() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the started
Executions
contained in thisExecutions
object. - started(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected started events.
- STARTED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptor
has started. - startedDescriptors - Variable in class org.junit.vintage.engine.execution.TestRun
- startIndex - Variable in class org.junit.platform.launcher.tagexpression.Token
- startInstant - Variable in class org.junit.platform.testkit.engine.Execution
- state - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- State(EngineExecutionListener, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- Static Fields - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- status - Variable in class org.junit.platform.engine.SelectorResolutionResult
- status - Variable in class org.junit.platform.engine.TestExecutionResult
- status - Variable in class org.junit.platform.launcher.EngineDiscoveryResult
- status(TestExecutionResult.Status) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aTestExecutionResult
's status is equal to the suppliedStatus
. - Status() - Constructor for enum class org.junit.jupiter.api.AssertIterableEquals.Status
- Status() - Constructor for enum class org.junit.platform.engine.SelectorResolutionResult.Status
- Status() - Constructor for enum class org.junit.platform.engine.TestExecutionResult.Status
- Status() - Constructor for enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
- STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.err
as part of aReportEntry
: "stderr" - stderrInterceptor - Variable in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
-
Key used to publish captured output to
System.out
as part of aReportEntry
: "stdout" - stdoutInterceptor - Variable in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- store - Variable in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory
- storedValue(Supplier<Object>) - Method in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- StoredValue(int, Supplier<Object>) - Constructor for class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- storedValues - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore
- storeFilter(Filter<?>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
- storeResult(TestDescriptor, TestExecutionResult) - Method in class org.junit.vintage.engine.execution.TestRun
- stream() - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread. - 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 class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread for the logger name equal to the name of the given class. - stream(Class<?>, Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread for the logger name equal to the name of the given class at the given log level. - stream(Class<E>) - Method in interface org.junit.jupiter.engine.extension.ExtensionRegistry
-
Stream all
Extensions
of the specified type that are present in this registry or one of its ancestors. - stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
- stream(Iterator<? extends Named<T>>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given generator and test executor.
- stream(Iterator<T>, Function<? super T, String>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given generator and test executor.
- stream(Level) - Method in class org.junit.platform.commons.logging.LogRecordListener
-
Get a stream of
log records
that have been submitted to this listener by the current thread at the given log level. - stream(Stream<? extends Named<T>>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given input stream and test executor.
- stream(Stream<T>, Function<? super T, String>, ThrowingConsumer<? super T>) - Static method in class org.junit.jupiter.api.DynamicTest
-
Generate a stream of dynamic tests based on the given input stream and test executor.
- streamAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied classpath
root
that match the specifiedclassFilter
andclassNameFilter
predicates. - streamAllClassesInClasspathRoot(URI, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInClasspathRoot(URI, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
moduleName
that match the specifiedclassFilter
andclassNameFilter
predicates. - streamAllClassesInModule(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInModule(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all classes in the supplied
basePackageName
that match the specifiedclassFilter
andclassNameFilter
predicates. - streamAllClassesInPackage(String, Predicate<Class<?>>, Predicate<String>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
since 1.10
- streamAllClassesInPackage(String, ClassFilter) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamExtensionTypes(AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
- streamExtensionTypes(List<ExtendWith>) - Static method in class org.junit.jupiter.engine.descriptor.ExtensionUtils
- streamFields(Class<?>, Predicate<Field>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all fields of the supplied class or interface that match the specified
predicate
. - streamFields(Class<?>, Predicate<Field>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- StreamInterceptingTestExecutionListener - Class in org.junit.platform.launcher.core
- StreamInterceptingTestExecutionListener(Optional<StreamInterceptor>, Optional<StreamInterceptor>, BiConsumer<TestIdentifier, ReportEntry>) - Constructor for class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- StreamInterceptor - Class in org.junit.platform.launcher.core
- StreamInterceptor(PrintStream, Consumer<PrintStream>, int) - Constructor for class org.junit.platform.launcher.core.StreamInterceptor
- StreamInterceptor.RewindableByteArrayOutputStream - Class in org.junit.platform.launcher.core
- streamLocal(Class<E>) - Method in class org.junit.jupiter.engine.extension.MutableExtensionRegistry
-
Stream all
Extensions
of the specified type that are present in this registry. - streamMethods(Class<?>, Predicate<Method>, HierarchyTraversalMode) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all distinct methods of the supplied class or interface that match the specified
predicate
. - streamMethods(Class<?>, Predicate<Method>, ReflectionUtils.HierarchyTraversalMode) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Find all nested classes within the supplied class, or inherited by the supplied class, that conform to the supplied predicate.
- streamNestedClasses(Class<?>, Predicate<Class<?>>) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
since 1.10
- string() - Method in class org.junit.platform.launcher.tagexpression.Token
- strings() - Element in annotation interface org.junit.jupiter.params.provider.ValueSource
-
The
String
values to use as sources of arguments; must not be empty. - StringToBooleanConverter - Class in org.junit.jupiter.params.converter
- StringToBooleanConverter() - Constructor for class org.junit.jupiter.params.converter.StringToBooleanConverter
- StringToCharacterConverter - Class in org.junit.jupiter.params.converter
- StringToCharacterConverter() - Constructor for class org.junit.jupiter.params.converter.StringToCharacterConverter
- StringToClassConverter - Class in org.junit.jupiter.params.converter
- StringToClassConverter() - Constructor for class org.junit.jupiter.params.converter.StringToClassConverter
- StringToCommonJavaTypesConverter - Class in org.junit.jupiter.params.converter
- StringToCommonJavaTypesConverter() - Constructor for class org.junit.jupiter.params.converter.StringToCommonJavaTypesConverter
- StringToEnumConverter - Class in org.junit.jupiter.params.converter
- StringToEnumConverter() - Constructor for class org.junit.jupiter.params.converter.StringToEnumConverter
- StringToJavaTimeConverter - Class in org.junit.jupiter.params.converter
- StringToJavaTimeConverter() - Constructor for class org.junit.jupiter.params.converter.StringToJavaTimeConverter
- StringToNumberConverter - Class in org.junit.jupiter.params.converter
- StringToNumberConverter() - Constructor for class org.junit.jupiter.params.converter.StringToNumberConverter
- StringToObjectConverter - Interface in org.junit.jupiter.params.converter
-
Internal API for converting arguments of type
String
to a specified target type. - stringToObjectConverters - Static variable in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- StringUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with
Strings
,CharSequences
, etc. - StringUtils() - Constructor for class org.junit.platform.commons.util.StringUtils
- stripQueryComponent(URI) - Static method in class org.junit.platform.engine.support.descriptor.ResourceUtils
- submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService
- submit(HierarchicalTestExecutorService.TestTask) - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService
-
Submit the supplied test task to be executed by this service.
- submit(HierarchicalTestExecutorService.TestTask) - Method in class org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService
- submitTask(ThrowingSupplier<T>, AtomicReference<Thread>, ExecutorService) - Static method in class org.junit.jupiter.api.AssertTimeoutPreemptively
- succeeded() - Method in class org.junit.platform.testkit.engine.Events
-
Get the succeeded
Events
contained in thisEvents
object. - succeeded() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the succeeded
Executions
contained in thisExecutions
object. - succeeded(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected succeeded events.
- success() - Static method in class org.junit.platform.launcher.tagexpression.ParseStatus
- success(TagExpression) - Static method in class org.junit.platform.launcher.tagexpression.ParseResults
- success(V) - Static method in class org.junit.platform.commons.function.Try
-
Convert the supplied value into a succeeded
Try
. - Success(V) - Constructor for class org.junit.platform.commons.function.Try.Success
- successful - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- successful() - Static method in class org.junit.platform.engine.TestExecutionResult
-
Create a
TestExecutionResult
for a successful execution of a test or container. - successful() - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
-
Create a
EngineDiscoveryResult
for a successful test discovery. - SUCCESSFUL - Enum constant in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Indicates that the execution of a test or container was successful.
- SUCCESSFUL - Enum constant in enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
-
Indicates that test discovery was successful.
- SUCCESSFUL_RESULT - Static variable in class org.junit.platform.engine.TestExecutionResult
- SUCCESSFUL_RESULT - Static variable in class org.junit.platform.launcher.EngineDiscoveryResult
- suite(Class<?>) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- Suite - Annotation Interface in org.junit.platform.suite.api
-
@Suite
marks a class as a test suite on the JUnit Platform. - suiteDescription - Variable in class org.junit.platform.runner.JUnitPlatformTestTree
- SuiteDisplayName - Annotation Interface in org.junit.platform.suite.api
-
@SuiteDisplayName
is used to declare a custom display name for the annotated test class that is executed as a test suite on the JUnit Platform. - SuiteLauncherDiscoveryRequestBuilder - Class in org.junit.platform.suite.commons
- SuiteLauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- summary - Variable in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
-
Simple
TestExecutionListener
that generates a summary of the test execution. - SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- supplier - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.StoredValue
- supply(ConfigurationParameters, String) - Method in class org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
- support - Variable in class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- support - Variable in class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
- support - Variable in class org.junit.jupiter.migrationsupport.rules.VerifierSupport
- Supported Extension APIs - Search tag in annotation interface org.junit.jupiter.api.extension.ExtendWith
- Section
- Supported Extension APIs - Search tag in annotation interface org.junit.jupiter.api.extension.RegisterExtension
- Section
- supportedParameterType - Variable in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- Supported Parameter Types - Search tag in annotation interface org.junit.jupiter.params.provider.EmptySource
- Section
- Supported placeholders - Search tag in org.junit.jupiter.api.RepeatedTest.name()
- Section
- Supported placeholders - Search tag in org.junit.jupiter.params.ParameterizedTest.name()
- Section
- Supported Target Elements - Search tag in annotation interface org.junit.platform.commons.annotation.Testable
- Section
- Supported timeout mode values: - Search tag in org.junit.jupiter.api.Timeout.TIMEOUT_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in annotation interface org.junit.jupiter.api.Timeout
- Section
- Supported Values - Search tag in org.junit.jupiter.api.ClassOrderer.DEFAULT_ORDER_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.ClassOrderer.Random.RANDOM_SEED_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.DisplayNameGenerator.DEFAULT_GENERATOR_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.MethodOrderer.DEFAULT_ORDER_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.MethodOrderer.Random.RANDOM_SEED_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.TestInstance.Lifecycle.DEFAULT_LIFECYCLE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.io.TempDir.DEFAULT_FACTORY_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.io.TempDir.SCOPE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.parallel.Execution.DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.jupiter.api.parallel.Execution.DEFAULT_EXECUTION_MODE_PROPERTY_NAME
- Section
- Supported Values - Search tag in org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder.DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME
- Section
- supportsParameter(ParameterContext, ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ParameterResolver
-
Determine if this resolver supports resolution of an argument for the
Parameter
in the suppliedParameterContext
for the suppliedExtensionContext
. - supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepetitionExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TempDirectory
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.engine.extension.TestReporterParameterResolver
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestParameterResolver
- supportsTestTemplate(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Determine if this provider supports providing invocation contexts for the test template method represented by the supplied
context
. - supportsTestTemplate(ExtensionContext) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
- supportsTestTemplate(ExtensionContext) - Method in class org.junit.jupiter.params.ParameterizedTestExtension
- suppressed(int, Condition<Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- suppressed(int, Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aThrowable
's suppressed throwable at the supplied index matches all supplied conditions. - SUPPRESSED - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- Syntax Rules for Tags - Search tag in annotation interface org.junit.jupiter.api.Tag
- Section
- Syntax Rules for Tags - Search tag in annotation interface org.junit.platform.suite.api.ExcludeTags
- Section
- Syntax Rules for Tags - Search tag in annotation interface org.junit.platform.suite.api.IncludeTags
- Section
- Syntax Rules for Tags - Search tag in org.junit.platform.engine.TestTag.isValid(String)
- Section
- synthesizeAfterEachMethodAdapter(Method) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- synthesizeBeforeEachMethodAdapter(Method) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- SYNTHETIC - Enum constant in enum class org.junit.vintage.engine.execution.EventType
- SYSTEM_ERR - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard error stream of the current process: "java.lang.System.err"
- SYSTEM_OUT - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the standard output stream of the current process: "java.lang.System.out"
- SYSTEM_PROPERTIES - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents Java's system properties: "java.lang.System.properties"
- systemProperties() - Static method in interface org.junit.platform.launcher.core.LauncherConfigurationParameters.ParameterProvider
T
- TAB - Static variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- tag(String) - Static method in class org.junit.platform.launcher.tagexpression.TagExpressions
- Tag - Annotation Interface in org.junit.jupiter.api
-
@Tag
is a repeatable annotation that is used to declare a tag for the annotated test class or test method. - tagExpression() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
-
Return the contained
TagExpression
, if any. - TagExpression - Interface in org.junit.platform.launcher.tagexpression
-
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
- tagExpressionCreator - Variable in class org.junit.platform.launcher.tagexpression.Operator
- tagExpressionOrThrow(Function<String, RuntimeException>) - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
-
Return the parsed
TagExpression
or throw an exception with the contained parse error. - TagExpressions - Class in org.junit.platform.launcher.tagexpression
- TagExpressions() - Constructor for class org.junit.platform.launcher.tagexpression.TagExpressions
- Tag Expressions - Search tag in annotation interface org.junit.platform.suite.api.ExcludeTags
- Section
- Tag Expressions - Search tag in annotation interface org.junit.platform.suite.api.IncludeTags
- Section
- TagFilter - Class in org.junit.platform.launcher
-
Factory methods for creating
PostDiscoveryFilters
based on included and excluded tags or tag expressions. - TagFilter() - Constructor for class org.junit.platform.launcher.TagFilter
- tags - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- tags - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- tags - Variable in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
-
Set of method-level tags; does not contain tags from parent.
- tags - Variable in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- tags - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- tags - Variable in class org.junit.platform.launcher.TestIdentifier
- Tags - Annotation Interface in org.junit.jupiter.api
-
@Tags
is a container for one or more@Tag
declarations. - target - Variable in class org.junit.jupiter.engine.execution.DefaultParameterContext
- target - Variable in class org.junit.jupiter.engine.execution.MethodInvocation
- target - Variable in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
- targetType - Variable in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryConstructor
- targetType - Variable in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryMethod
- targetType - Variable in class org.junit.jupiter.params.converter.TypedArgumentConverter
- taskContext - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- Technical Details - Search tag in annotation interface org.junit.jupiter.api.condition.DisabledInNativeImage
- Section
- Technical Details - Search tag in annotation interface org.junit.jupiter.api.condition.EnabledInNativeImage
- Section
- TEMP_DIR_PREFIX - Static variable in class org.junit.jupiter.api.io.TempDirFactory.Standard
- TEMP_DIR_SCOPE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Deprecated.
- TempDir - Annotation Interface in org.junit.jupiter.api.io
- TempDirectory - Class in org.junit.jupiter.engine.extension
-
TempDirectory
is a JUnit Jupiter extension that creates and cleans up temporary directories if field in a test class or a parameter in a lifecycle method or test method is annotated with@TempDir
. - TempDirectory(JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.extension.TempDirectory
- TempDirectory.CloseablePath - Class in org.junit.jupiter.engine.extension
- TempDirectory.FieldContext - Class in org.junit.jupiter.engine.extension
- TempDirectory.FileOperations - Interface in org.junit.jupiter.engine.extension
- TempDirectory.Scope - Enum Class in org.junit.jupiter.engine.extension
- TempDirFactory - Interface in org.junit.jupiter.api.io
-
TempDirFactory
defines the SPI for creating temporary directories programmatically. - TempDirFactory.Standard - Class in org.junit.jupiter.api.io
-
Standard
TempDirFactory
implementation which delegates toFiles.createTempDirectory(java.nio.file.Path, java.lang.String, java.nio.file.attribute.FileAttribute<?>...)
using"junit"
as the prefix. - tempDirFactoryConverter - Static variable in class org.junit.jupiter.engine.config.DefaultJupiterConfiguration
- TEMPORAL_QUERIES - Static variable in class org.junit.jupiter.params.converter.JavaTimeArgumentConverter
- TEMPORARY_DISPLAY_NAME_PLACEHOLDER - Static variable in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- terminationInfo - Variable in class org.junit.platform.testkit.engine.Execution
- TerminationInfo - Class in org.junit.platform.testkit.engine
-
TerminationInfo
is a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or theTestExecutionResult
if the container/test was executed. - TerminationInfo(boolean, String, TestExecutionResult) - Constructor for class org.junit.platform.testkit.engine.TerminationInfo
- test() - Static method in class org.junit.platform.testkit.engine.EventConditions
- test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
- test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
- test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
- test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
- test(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
- test(Class<?>) - Method in class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestClass
- test(Constructor<?>) - Method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryConstructor
- test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
- test(Method) - Method in class org.junit.jupiter.params.converter.FallbackStringToObjectConverter.IsFactoryMethod
- test(Method) - Method in class org.junit.vintage.engine.discovery.IsPotentialJUnit4TestMethod
- test(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that 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
Condition
that matches if and only if anEvent
's test descriptor is a test, its unique id contains the suppliedString
, and its display name equals the suppliedString
. - test(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
matches the suppliedCondition
and its test descriptor is a test. - test(UniqueId, Integer) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- test(UniqueId, Integer) - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.WithoutIndexFiltering
- Test - Annotation Interface in org.junit.jupiter.api
-
@Test
is used to signal that the annotated method is a test method. - TEST - Enum constant in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- TEST - Enum constant in enum class org.junit.platform.engine.TestDescriptor.Type
-
Denotes that the
TestDescriptor
is for a test. - TEST_FACTORY - Enum constant in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- TEST_TEMPLATE - Enum constant in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
- Testable - Annotation Interface in org.junit.platform.commons.annotation
-
@Testable
is used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable. - TESTABLE_METHOD_TIMEOUT_KEY - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- TESTABLE_METHOD_TIMEOUT_THREAD_MODE_KEY - Static variable in class org.junit.jupiter.engine.extension.TimeoutExtension
- testAborted(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has been aborted.
- testAssumptionFailure(Failure) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testClass - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- testClass - Variable in class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- testClass - Variable in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- testClass - Variable in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- testClass - Variable in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- testClass - Variable in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- TestClassOrder - Annotation Interface in org.junit.jupiter.api
-
@TestClassOrder
is a type-level annotation that is used to configure aClassOrderer
for the@Nested
test classes of the annotated test class. - testClassPredicate - Static variable in class org.junit.jupiter.engine.discovery.MethodSelectorResolver
- testDescriptor - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- testDescriptor - Variable in class org.junit.jupiter.engine.discovery.AbstractAnnotatedDescriptorWrapper
- testDescriptor - Variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
- testDescriptor - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- testDescriptor - Variable in class org.junit.platform.testkit.engine.Event
- testDescriptor - Variable in class org.junit.platform.testkit.engine.Execution
- TestDescriptor - Interface in org.junit.platform.engine
-
Mutable descriptor for a test or container that has been discovered by a
TestEngine
. - TestDescriptor.Type - Enum Class in org.junit.platform.engine
-
Supported types for
TestDescriptors
. - TestDescriptor.Visitor - Interface in org.junit.platform.engine
-
Visitor for the tree-like
TestDescriptor
structure. - testDisabled(ExtensionContext, Optional<String>) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a disabled test has been skipped.
- testEngine - Variable in class org.junit.platform.testkit.engine.EngineTestKit.Builder
- TestEngine - Interface in org.junit.platform.engine
-
A
TestEngine
facilitates discovery and execution of tests for a particular programming model. - testEngineAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- testEngineDescriptors - Variable in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- TestEngineFormatter - Class in org.junit.platform.launcher.core
- TestEngineFormatter() - Constructor for class org.junit.platform.launcher.core.TestEngineFormatter
- testEngines - Variable in class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- testEvents - Variable in class org.junit.platform.testkit.engine.EngineExecutionResults
- testEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for tests.
- TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
-
TestExecutionExceptionHandler
defines the API forExtensions
that wish to handle exceptions thrown during test execution. - testExecutionListener - Variable in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- TestExecutionListener - Interface in org.junit.platform.launcher
-
Register a concrete implementation of this interface with a
Launcher
to be notified of events that occur during test execution. - testExecutionListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.DefaultLauncherConfig
- testExecutionListenerAutoRegistrationEnabled - Variable in class org.junit.platform.launcher.core.LauncherConfig.Builder
- testExecutionListeners - Variable in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- testExecutionListeners - Variable in class org.junit.platform.launcher.core.LauncherListenerRegistry
- Test Execution Order - Search tag in annotation interface org.junit.jupiter.api.RepeatedTest
- Section
- Test Execution Order - Search tag in annotation interface org.junit.jupiter.api.Test
- Section
- Test Execution Order - Search tag in annotation interface org.junit.jupiter.api.TestFactory
- Section
- Test Execution Order - Search tag in annotation interface org.junit.jupiter.api.TestTemplate
- Section
- Test Execution Order - Search tag in annotation interface org.junit.jupiter.params.ParameterizedTest
- Section
- testExecutionResult - Variable in class org.junit.platform.testkit.engine.TerminationInfo
- TestExecutionResult - Class in org.junit.platform.engine
-
TestExecutionResult
encapsulates the result of executing a single test or container. - TestExecutionResult(TestExecutionResult.Status, Throwable) - Constructor for class org.junit.platform.engine.TestExecutionResult
- TestExecutionResult.Status - Enum Class in org.junit.platform.engine
-
Status of executing a single test or container.
- TestExecutionResultConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
TestExecutionResult
. - TestExecutionResultConditions() - Constructor for class org.junit.platform.testkit.engine.TestExecutionResultConditions
- TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
-
Summary of test plan execution.
- TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
-
Failure of a test or container.
- TestFactory - Annotation Interface in org.junit.jupiter.api
-
@TestFactory
is used to signal that the annotated method is a test factory method. - TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for@TestFactory
methods. - TestFactoryTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- testFailed(ExtensionContext, Throwable) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has failed.
- testFailed(ExtensionContext, Throwable) - Method in class org.junit.jupiter.engine.extension.RepetitionExtension
- testFailure(Failure) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testFinished(TestDescriptor) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testFinished(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testIdentifier - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary.DefaultFailure
- TestIdentifier - Class in org.junit.platform.launcher
-
Immutable data transfer object that represents a test or container which is usually part of a
TestPlan
. - TestIdentifier(UniqueId, String, TestSource, Set<TestTag>, TestDescriptor.Type, UniqueId, String) - Constructor for class org.junit.platform.launcher.TestIdentifier
- TestIdentifier.SerializedForm - Class in org.junit.platform.launcher
-
Represents the serialized output of
TestIdentifier
. - testIgnored(TestDescriptor, String) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testIgnored(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- TestInfo - Interface in org.junit.jupiter.api
-
TestInfo
is used to inject information about the current test or container into to@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
,@BeforeEach
,@AfterEach
,@BeforeAll
, and@AfterAll
methods. - TestInfoParameterResolver - Class in org.junit.jupiter.engine.extension
-
ParameterResolver
that resolves theTestInfo
for the currently executing test. - TestInfoParameterResolver() - Constructor for class org.junit.jupiter.engine.extension.TestInfoParameterResolver
- TestInfoParameterResolver.DefaultTestInfo - Class in org.junit.jupiter.engine.extension
- TestInstance - Annotation Interface in org.junit.jupiter.api
-
@TestInstance
is a type-level annotation that is used to configure the lifecycle of test instances for the annotated test class or test interface. - TestInstance.Lifecycle - Enum Class in org.junit.jupiter.api
-
Enumeration of test instance lifecycle modes.
- testInstanceFactory - Variable in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- TestInstanceFactory - Interface in org.junit.jupiter.api.extension
- TestInstanceFactoryContext - Interface in org.junit.jupiter.api.extension
-
TestInstanceFactoryContext
encapsulates the context in which a test class is to be instantiated by aTestInstanceFactory
. - Test Instance Lifecycle - Search tag in annotation interface org.junit.jupiter.api.Nested
- Section
- TestInstanceLifecycleUtils - Class in org.junit.jupiter.engine.descriptor
-
Collection of utilities for retrieving the test instance lifecycle mode.
- TestInstanceLifecycleUtils() - Constructor for class org.junit.jupiter.engine.descriptor.TestInstanceLifecycleUtils
- TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
-
TestInstancePostProcessor
defines the API forExtensions
that wish to post-process test instances. - TestInstancePreConstructCallback - Interface in org.junit.jupiter.api.extension
-
TestInstancePreConstructCallback
defines the API forExtensions
that wish to be invoked prior to creation of test instances. - TestInstancePreDestroyCallback - Interface in org.junit.jupiter.api.extension
-
TestInstancePreDestroyCallback
defines the API forExtensions
that wish to process test instances after they have been used in tests but before they are destroyed. - testInstances - Variable in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- testInstances - Variable in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- testInstances - Variable in class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- TestInstances - Interface in org.junit.jupiter.api.extension
-
TestInstances
encapsulates the test instances of a test. - testInstancesProvider - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- testInstancesProvider(JupiterEngineExecutionContext, ClassExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- TestInstancesProvider - Interface in org.junit.jupiter.engine.execution
- TestInstantiationException - Exception Class in org.junit.jupiter.api.extension
-
Thrown if an error is encountered during the execution of a
TestInstanceFactory
. - TestInstantiationException(String) - Constructor for exception class org.junit.jupiter.api.extension.TestInstantiationException
- TestInstantiationException(String, Throwable) - Constructor for exception class org.junit.jupiter.api.extension.TestInstantiationException
- testMethod - Variable in class org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
- testMethod - Variable in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- TestMethodOrder - Annotation Interface in org.junit.jupiter.api
-
@TestMethodOrder
is a type-level annotation that is used to configure aMethodOrderer
for the test methods of the annotated test class or test interface. - TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for@Test
methods. - TestMethodTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- TestMethodTestDescriptor(UniqueId, String, Class<?>, Method, JupiterConfiguration, InterceptingExecutableInvoker.ReflectiveInterceptorCall<Method, Void>) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- TestMethodTestDescriptor.CallbackInvoker<T> - Interface in org.junit.jupiter.engine.descriptor
- testPlan - Variable in class org.junit.platform.launcher.core.ExecutionListenerAdapter
- testPlan - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testPlan - Variable in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- testPlan - Variable in class org.junit.platform.runner.JUnitPlatformTestTree
- TestPlan - Class in org.junit.platform.launcher
-
TestPlan
describes the tree of tests and containers as discovered by aLauncher
. - TestPlan(boolean, ConfigurationParameters) - Constructor for class org.junit.platform.launcher.TestPlan
- TestPlan.Visitor - Interface in org.junit.platform.launcher
-
Visitor for
TestIdentifiers
in aTestPlan
. - testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of the
TestPlan
has finished, after all tests have been executed. - testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.core.CompositeTestExecutionListener
- testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of the
TestPlan
has started, before any test has been executed. - TestReporter - Interface in org.junit.jupiter.api
-
Parameters of type
TestReporter
can be injected into@BeforeEach
and@AfterEach
lifecycle methods as well as methods annotated with@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, etc. - TestReporterParameterResolver - Class in org.junit.jupiter.engine.extension
-
ParameterResolver
that injects aTestReporter
. - TestReporterParameterResolver() - Constructor for class org.junit.jupiter.engine.extension.TestReporterParameterResolver
- testRule - Variable in class org.junit.jupiter.migrationsupport.rules.member.AbstractTestRuleAnnotatedMember
- 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
- TestRuleSupport - Class in org.junit.jupiter.migrationsupport.rules
- TestRuleSupport(Function<TestRuleAnnotatedMember, AbstractTestRuleAdapter>, Class<? extends TestRule>) - Constructor for class org.junit.jupiter.migrationsupport.rules.TestRuleSupport
- TestRuleSupport.AdviceInvoker - Interface in org.junit.jupiter.migrationsupport.rules
- testRun - Variable in class org.junit.vintage.engine.execution.RunListenerAdapter
- TestRun - Class in org.junit.vintage.engine.execution
- TestRun(RunnerTestDescriptor) - Constructor for class org.junit.vintage.engine.execution.TestRun
- TestRun.VintageDescriptors - Class in org.junit.vintage.engine.execution
- testRunFinished(Result) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testRunStarted(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testsAborted - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testsFailed - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testsFound - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testSource - Variable in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- TestSource - Interface in org.junit.platform.engine
-
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
- testSourceCache - Variable in class org.junit.vintage.engine.descriptor.TestSourceProvider
- testSourceProvider - Variable in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- testSourceProvider - Variable in class org.junit.vintage.engine.execution.RunListenerAdapter
- testSourceProvider - Variable in class org.junit.vintage.engine.execution.RunnerExecutor
- TestSourceProvider - Class in org.junit.vintage.engine.descriptor
- TestSourceProvider() - Constructor for class org.junit.vintage.engine.descriptor.TestSourceProvider
- testSourceUri - Variable in class org.junit.jupiter.api.DynamicNode
-
Custom test source
URI
associated with this node; potentiallynull
. - testsSkipped - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testsStarted - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testsSucceeded - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- testStarted(TestDescriptor, EventType) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testStarted(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testSuccessful(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestWatcher
-
Invoked after a test has completed successfully.
- testSuiteFinished(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- testSuiteStarted(Description) - Method in class org.junit.vintage.engine.execution.RunListenerAdapter
- TestTag - Class in org.junit.platform.engine
-
Immutable value object for a tag that is assigned to a test or container.
- TestTag(String) - Constructor for class org.junit.platform.engine.TestTag
- testTask - Variable in class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.ExclusiveTask
- TestTemplate - Annotation Interface in org.junit.jupiter.api
-
@TestTemplate
is used to signal that the annotated method is a test template method. - TestTemplateExtensionContext - Class in org.junit.jupiter.engine.descriptor
- TestTemplateExtensionContext(ExtensionContext, EngineExecutionListener, TestTemplateTestDescriptor, JupiterConfiguration, TestInstances, ExecutableInvoker) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateExtensionContext
- TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContext
represents the context of a single invocation of a test template. - TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
-
TestTemplateInvocationContextProvider
defines the API forExtensions
that wish to provide one or multiple contexts for the invocation of a@TestTemplate
method. - TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for a@TestTemplate
invocation. - TestTemplateInvocationTestDescriptor(UniqueId, Class<?>, Method, TestTemplateInvocationContext, int, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
-
TestDescriptor
for@TestTemplate
methods. - TestTemplateTestDescriptor(UniqueId, Class<?>, Method, JupiterConfiguration) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- testTree - Variable in class org.junit.platform.runner.JUnitPlatform
-
Deprecated.
- testTree - Variable in class org.junit.platform.runner.JUnitPlatformRunnerListener
- TestWatcher - Interface in org.junit.jupiter.api.extension
-
TestWatcher
defines the API forExtensions
that wish to process test results. - textBlock() - Element in annotation interface 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.
- thread - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.InterruptTask
- threadMode - Variable in class org.junit.jupiter.engine.extension.TimeoutConfiguration
- threadMode() - Element in annotation interface org.junit.jupiter.api.Timeout
-
The thread mode of this timeout.
- ThreadMode() - Constructor for enum class org.junit.jupiter.api.Timeout.ThreadMode
- threadNumber - Static variable in class org.junit.jupiter.api.AssertTimeoutPreemptively.TimeoutThreadFactory
- throwable - Variable in class org.junit.platform.engine.SelectorResolutionResult
- throwable - Variable in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
- throwable - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier.Failure
- throwable - Variable in class org.junit.platform.engine.TestExecutionResult
- throwable - Variable in class org.junit.platform.launcher.EngineDiscoveryResult
- throwable(Condition<? super Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- throwable(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Condition
that matches if and only if aTestExecutionResult
's throwable matches all supplied conditions. - throwableCollector - Variable in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
- throwableCollector - Variable in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
- throwableCollector - Variable in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.State
- throwableCollector - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask
- ThrowableCollector - Class in org.junit.platform.engine.support.hierarchical
-
Simple component that can be used to collect one or more instances of
Throwable
. - ThrowableCollector(Predicate<? super Throwable>) - Constructor for class org.junit.platform.engine.support.hierarchical.ThrowableCollector
- ThrowableCollector.Executable - Interface in org.junit.platform.engine.support.hierarchical
-
Functional interface for an executable block of code that may throw a
Throwable
. - ThrowableCollector.Factory - Interface in org.junit.platform.engine.support.hierarchical
-
Factory for
ThrowableCollector
instances. - throwableCollectorFactory - Variable in class org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor
- throwableCollectorFactory - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- throwAs(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
- throwAssumptionFailed(String) - Static method in class org.junit.jupiter.api.Assumptions
- throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
-
Throw the supplied
Throwable
, masked as an unchecked exception. - ThrowingConsumer<T> - Interface in org.junit.jupiter.api.function
-
ThrowingConsumer
is a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws aThrowable
. - ThrowingSupplier<T> - Interface in org.junit.jupiter.api.function
-
ThrowingSupplier
is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws aThrowable
. - TIME_ZONE - Static variable in class org.junit.jupiter.api.parallel.Resources
-
Represents the default time zone for the current instance of the JVM: "java.util.TimeZone.default"
- timeFinished - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- timeFinishedNanos - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- timeout - Variable in class org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation
- timeout - Variable in class org.junit.jupiter.engine.extension.SeparateThreadTimeoutInvocation
- timeout - Variable in class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- Timeout - Annotation Interface in org.junit.jupiter.api
-
@Timeout
is used to define a timeout for a method or all testable methods within one class and its@Nested
classes. - TIMEOUT_MODE_PROPERTY_NAME - Static variable in annotation interface org.junit.jupiter.api.Timeout
-
Property name used to configure whether timeouts are applied to tests: "junit.jupiter.execution.timeout.mode".
- 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".
- Timeout.ThreadMode - Enum Class in org.junit.jupiter.api
-
ThreadMode
is use to define whether the test code should be executed in the thread of the calling code or in a separated thread. - TimeoutConfiguration - Class in org.junit.jupiter.engine.extension
- TimeoutConfiguration(ExtensionContext) - Constructor for class org.junit.jupiter.engine.extension.TimeoutConfiguration
- TimeoutDuration - Class in org.junit.jupiter.engine.extension
- TimeoutDuration(long, TimeUnit) - Constructor for class org.junit.jupiter.engine.extension.TimeoutDuration
- TimeoutDurationParser - Class in org.junit.jupiter.engine.extension
- TimeoutDurationParser() - Constructor for class org.junit.jupiter.engine.extension.TimeoutDurationParser
- TimeoutExceptionFactory - Class in org.junit.jupiter.engine.extension
- TimeoutExceptionFactory() - Constructor for class org.junit.jupiter.engine.extension.TimeoutExceptionFactory
- TimeoutExtension - Class in org.junit.jupiter.engine.extension
- TimeoutExtension() - Constructor for class org.junit.jupiter.engine.extension.TimeoutExtension
- TimeoutExtension.TimeoutProvider - Interface in org.junit.jupiter.engine.extension
- TimeoutInvocationFactory - Class in org.junit.jupiter.engine.extension
- TimeoutInvocationFactory(ExtensionContext.Store) - Constructor for class org.junit.jupiter.engine.extension.TimeoutInvocationFactory
- TimeoutInvocationFactory.ExecutorResource - Class in org.junit.jupiter.engine.extension
- TimeoutInvocationFactory.SingleThreadExecutorResource - Class in org.junit.jupiter.engine.extension
- TimeoutInvocationFactory.TimeoutInvocationParameters<T> - Class in org.junit.jupiter.engine.extension
- TimeoutInvocationParameters(InvocationInterceptor.Invocation<T>, TimeoutDuration, Supplier<String>) - Constructor for class org.junit.jupiter.engine.extension.TimeoutInvocationFactory.TimeoutInvocationParameters
- TimeoutThreadFactory() - Constructor for class org.junit.jupiter.api.AssertTimeoutPreemptively.TimeoutThreadFactory
- timestamp - Variable in class org.junit.platform.engine.reporting.ReportEntry
- timestamp - Variable in class org.junit.platform.testkit.engine.Event
- timeStarted - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- timeStartedNanos - Variable in class org.junit.platform.launcher.listeners.MutableTestExecutionSummary
- toArguments(Object) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- 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
- toChronoUnit() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- toClassSelectors(Class<?>, SelectClasses) - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- toDuration() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- toDynamicDescriptor(int, DynamicNode) - Method in class org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
- toDynamicNodeStream(Object) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
- toExecutionMode(ExecutionMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- toFailure(TestExecutionResult, Description) - Method in class org.junit.platform.runner.JUnitPlatformRunnerListener
- toHash(Object) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- toJupiterExecutionMode(Node.ExecutionMode) - Method in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- token - Variable in class org.junit.platform.launcher.tagexpression.TokenWith
- Token - Class in org.junit.platform.launcher.tagexpression
- Token(int, String) - Constructor for class org.junit.platform.launcher.tagexpression.Token
- tokenize(String) - Method in class org.junit.platform.launcher.tagexpression.Tokenizer
- tokenizer - Variable in class org.junit.platform.launcher.tagexpression.Parser
- Tokenizer - Class in org.junit.platform.launcher.tagexpression
- Tokenizer() - Constructor for class org.junit.platform.launcher.tagexpression.Tokenizer
- tokens - Variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- tokensDerivedFrom(String) - Method in class org.junit.platform.launcher.tagexpression.Parser
- TokenWith<T> - Class in org.junit.platform.launcher.tagexpression
- TokenWith(Token, T) - Constructor for class org.junit.platform.launcher.tagexpression.TokenWith
- 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
- toLock(ExclusiveResource) - Method in class org.junit.platform.engine.support.hierarchical.LockManager
- toLockMode(ResourceAccessMode) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- toMethodFilter(MethodSelector) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- toMethodSelector(Class<?>, SelectMethod) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- toOptional() - Method in class org.junit.platform.commons.function.Try.Failure
- toOptional() - Method in class org.junit.platform.commons.function.Try.Success
- toOptional() - Method in class org.junit.platform.commons.function.Try
-
If this
Try
is a failure, return an emptyOptional
; if thisTry
is a success, wrap the contained value usingOptional.ofNullable(Object)
. - TOP_DOWN - Enum constant in enum class org.junit.platform.commons.support.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- TOP_DOWN - Enum constant in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Traverse the hierarchy using top-down semantics.
- toPath() - Method in class org.junit.platform.launcher.listeners.OutputDir
- toPredicate() - Method in class org.junit.platform.engine.CompositeFilter
- toPredicate() - Method in class org.junit.platform.engine.discovery.AbstractClassNameFilter
- toPredicate() - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- toPredicate() - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- toPredicate() - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
- toPredicate() - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- toPredicate() - Method in interface org.junit.platform.engine.Filter
- toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- toResolution(Optional<? extends ClassBasedTestDescriptor>) - Method in class org.junit.jupiter.engine.discovery.ClassSelectorResolver
- toResolution(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- toResourceLock(List<Lock>) - Method in class org.junit.platform.engine.support.hierarchical.LockManager
- toResult(AnnotatedElement, Ignore) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
- toResult(AnnotatedElement, Disabled) - Method in class org.junit.jupiter.engine.extension.DisabledCondition
- toSet(T[]) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Convert the supplied array of values to a
Set
. - toSkipResult(ConditionEvaluationResult) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
- toSortedMutableList(Field[]) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- toSortedMutableList(Method[]) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- toSortedSet(int[]) - Method in class org.junit.platform.engine.discovery.IterationSelector
- toStream(CsvParser, CsvFileSource) - Method in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider
- toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Convert an object of one of the following supported types into a
Stream
. - toString - Variable in class org.junit.platform.engine.UniqueId
- toString() - Method in class org.junit.jupiter.api.DynamicNode
- toString() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
- toString() - Method in class org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
- toString() - Method in class org.junit.jupiter.engine.discovery.DefaultClassDescriptor
- toString() - Method in class org.junit.jupiter.engine.discovery.DefaultMethodDescriptor
- toString() - Method in class org.junit.jupiter.engine.discovery.DefaultMethodOrdererContext
- toString() - Method in class org.junit.jupiter.engine.execution.DefaultParameterContext
- toString() - Method in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- toString() - Method in class org.junit.jupiter.engine.extension.TempDirectory.FieldContext
- toString() - Method in class org.junit.jupiter.engine.extension.TestInfoParameterResolver.DefaultTestInfo
- toString() - Method in class org.junit.jupiter.engine.extension.TimeoutDuration
- toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
- toString() - Method in class org.junit.platform.engine.CompositeFilter
- toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
- toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
- toString() - Method in class org.junit.platform.engine.discovery.ExcludeClassNameFilter
- toString() - Method in class org.junit.platform.engine.discovery.ExcludePackageNameFilter
- toString() - Method in class org.junit.platform.engine.discovery.FilePosition
- toString() - Method in class org.junit.platform.engine.discovery.FileSelector
- toString() - Method in class org.junit.platform.engine.discovery.IncludeClassNameFilter
- toString() - Method in class org.junit.platform.engine.discovery.IncludePackageNameFilter
- toString() - Method in class org.junit.platform.engine.discovery.IterationSelector
- toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
- toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
- toString() - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- toString() - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
- toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- toString() - Method in class org.junit.platform.engine.discovery.UriSelector
- toString() - Method in class org.junit.platform.engine.FilterResult
- toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
- toString() - Method in class org.junit.platform.engine.SelectorResolutionResult
- toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- toString() - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
- toString() - Method in class org.junit.platform.engine.TestExecutionResult
- toString() - Method in class org.junit.platform.engine.TestTag
- toString() - Method in class org.junit.platform.engine.UniqueId.Segment
- toString() - Method in class org.junit.platform.engine.UniqueId
-
Generate the unique, formatted string representation of this
UniqueId
using the configuredUniqueIdFormat
. - toString() - Method in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
- toString() - Method in class org.junit.platform.launcher.core.LauncherConfigurationParameters
- toString() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
- toString() - Method in class org.junit.platform.launcher.EngineFilter
- toString() - Method in class org.junit.platform.launcher.TestIdentifier
- toString() - Method in class org.junit.platform.testkit.engine.Event
- toString() - Method in class org.junit.platform.testkit.engine.Execution
- toString() - Method in class org.junit.platform.testkit.engine.TerminationInfo
- toString(Object) - Static method in class org.junit.jupiter.api.AssertionFailureBuilder
- toString(Object) - Method in class org.junit.platform.commons.util.ToStringBuilder
- ToStringBuilder - Class in org.junit.platform.commons.util
-
Simple builder for generating strings in custom implementations of
toString()
. - ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
- ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
- ToStringBuilder(String) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
- TOTAL_REPETITIONS_PLACEHOLDER - Static variable in annotation interface org.junit.jupiter.api.RepeatedTest
-
Placeholder for the total number of repetitions of a
@RepeatedTest
method:{totalRepetitions}
- totalRepetitions - Variable in class org.junit.jupiter.engine.extension.DefaultRepetitionInfo
- totalRepetitions(RepeatedTest, Method) - Method in class org.junit.jupiter.engine.extension.RepeatedTestExtension
- toTestExecutionResult() - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Convert the collected
Throwables
into aTestExecutionResult
. - toUniqueIdFilter(RunnerTestDescriptor, UniqueId) - Method in class org.junit.vintage.engine.discovery.MethodSelectorResolver
- toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
-
Return a
Collector
that accumulates the input elements into a new unmodifiable list, in encounter order. - toURL(String) - Static method in class org.junit.jupiter.params.converter.StringToCommonJavaTypesConverter
- toWrapperType(Class<?>) - Static method in class org.junit.jupiter.params.converter.DefaultArgumentConverter
- trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at trace level. - trace(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at trace level. - trace(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- trackTestUid(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- trimmed(String[]) - Static method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- trimmedTokenStartIndex() - Method in class org.junit.platform.launcher.tagexpression.Token
- truncateIfExceedsMaxLength(String) - Method in class org.junit.jupiter.params.ParameterizedTestNameFormatter
- Try<V> - Class in org.junit.platform.commons.function
-
A container object which may either contain a nullable value in case of success or an exception in case of failure.
- Try() - Constructor for class org.junit.platform.commons.function.Try
- Try.Failure<V> - Class in org.junit.platform.commons.function
- Try.Success<V> - Class in org.junit.platform.commons.function
- Try.Transformer<S,
T> - Interface in org.junit.platform.commons.function -
A transformer for values of type
S
to typeT
. - tryToDeleteOnExit(Path) - Method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- tryToExcludeFromRunner(Description) - Method in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- tryToFilterRunner(Description) - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- tryToGetMethod(Class<?>, String, Class<?>...) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Try to get the
Method
in the specified class with the specified name and parameter types. - tryToLoadClass(String) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Try to load a class by its primitive name or fully qualified name, using the default
ClassLoader
. - tryToLoadClass(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Try to load a class by its primitive name or fully qualified name, using the supplied
ClassLoader
. - tryToLoadClass(String, ClassLoader) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Try to load a class by its primitive name or fully qualified name, using the supplied
ClassLoader
. - tryToReadFieldValue(Class<T>, String, T) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Try to read the value of a potentially inaccessible or nonexistent field.
- tryToReadFieldValue(Field) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Try to read the value of a potentially inaccessible static field.
- tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.support.ReflectionSupport
-
Try to read the value of a potentially inaccessible field.
- tryToReadFieldValue(Field, Object) - Static method in class org.junit.platform.commons.util.ReflectionUtils
- tryToResetPermissions(Path) - Static method in class org.junit.jupiter.engine.extension.TempDirectory.CloseablePath
- type - Variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
- type - Variable in class org.junit.platform.engine.UniqueId.Segment
- type - Variable in class org.junit.platform.launcher.EngineFilter
- type - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- type - Variable in class org.junit.platform.launcher.TestIdentifier
- type - Variable in class org.junit.platform.testkit.engine.Event
- type() - Element in annotation interface 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
- Type() - Constructor for enum class org.junit.platform.engine.support.discovery.SelectorResolver.Match.Type
- Type() - Constructor for enum class org.junit.platform.engine.TestDescriptor.Type
- Type(String) - Constructor for enum class org.junit.platform.launcher.EngineFilter.Type
- TypeBasedParameterResolver<T> - Class in org.junit.jupiter.api.extension.support
-
ParameterResolver
adapter which resolves a parameter based on its exact type. - TypeBasedParameterResolver() - Constructor for class org.junit.jupiter.api.extension.support.TypeBasedParameterResolver
- TypedArgumentConverter<S,
T> - Class in org.junit.jupiter.params.converter -
TypedArgumentConverter
is an abstract base class forArgumentConverter
implementations that always convert objects of a given source type into a given target type. - TypedArgumentConverter(Class<S>, Class<T>) - Constructor for class org.junit.jupiter.params.converter.TypedArgumentConverter
-
Create a new
TypedArgumentConverter
. - typeName - Variable in class org.junit.platform.commons.util.ToStringBuilder
- typeName() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The fully qualified class name in which the method is declared, or a subclass thereof.
- typeValueSeparator - Variable in class org.junit.platform.engine.UniqueIdFormat
U
- unaryOperator(String, int, Operator.Associativity, Function<TagExpression, TagExpression>) - Static method in class org.junit.platform.launcher.tagexpression.Operator
- uncheckedCast() - Method in class org.junit.platform.commons.function.Try.Failure
- UNDER_INVESTIGATION - Enum constant in enum class org.junit.jupiter.api.AssertIterableEquals.Status
- unfinishedTasks - Variable in class org.junit.platform.engine.support.hierarchical.NodeTestTask.DefaultDynamicTestExecutor
- uniqueId - Variable in class org.junit.platform.engine.discovery.UniqueIdSelector
- uniqueId - Variable in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- uniqueId - Variable in class org.junit.platform.launcher.TestIdentifier.SerializedForm
- uniqueId - Variable in class org.junit.platform.launcher.TestIdentifier
- uniqueId - Variable in class org.junit.vintage.engine.discovery.UniqueIdFilter
- UniqueId - Class in org.junit.platform.engine
-
UniqueId
encapsulates the creation, parsing, and display of unique IDs forTestDescriptors
. - UniqueId(UniqueIdFormat, List<UniqueId.Segment>) - Constructor for class org.junit.platform.engine.UniqueId
-
Initialize a
UniqueId
instance. - UniqueId(UniqueIdFormat, UniqueId.Segment) - Constructor for class org.junit.platform.engine.UniqueId
- UniqueId.Segment - Class in org.junit.platform.engine
-
A segment of a
UniqueId
comprises a type and a value. - uniqueIdExtractor - Variable in class org.junit.vintage.engine.execution.RunListenerAdapter
- UniqueIdFilter - Class in org.junit.vintage.engine.discovery
- UniqueIdFilter(RunnerTestDescriptor, UniqueId) - Constructor for class org.junit.vintage.engine.discovery.UniqueIdFilter
- uniqueIdFormat - Variable in class org.junit.platform.engine.UniqueId
- UniqueIdFormat - Class in org.junit.platform.engine
-
Used to
UniqueIdFormat.parse(java.lang.String)
aUniqueId
from a string representation or toUniqueIdFormat.format(org.junit.platform.engine.UniqueId)
aUniqueId
into a string representation. - UniqueIdFormat(char, char, char, char) - Constructor for class org.junit.platform.engine.UniqueIdFormat
- uniqueIdReader - Variable in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- UniqueIdReader - Class in org.junit.vintage.engine.support
- UniqueIdReader() - Constructor for class org.junit.vintage.engine.support.UniqueIdReader
- UniqueIdReader(String) - Constructor for class org.junit.vintage.engine.support.UniqueIdReader
- uniqueIds - Variable in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- UniqueIdSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects aUniqueId
so thatTestEngines
can discover tests or containers based on unique IDs. - UniqueIdSelector(UniqueId) - Constructor for class org.junit.platform.engine.discovery.UniqueIdSelector
- uniqueIdStringifier - Variable in class org.junit.vintage.engine.discovery.RunnerTestDescriptorPostProcessor
- UniqueIdStringifier - Class in org.junit.vintage.engine.support
- UniqueIdStringifier() - Constructor for class org.junit.vintage.engine.support.UniqueIdStringifier
- uniqueIdSubstring(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if the unique id of anEvent
's test descriptor contains the suppliedString
. - uniqueIdSubstrings(String...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if the unique id of anEvent
's test descriptor contains all of the supplied strings. - uniqueIdSubstrings(List<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if the unique id of anEvent
's test descriptor contains all of the supplied strings. - UniqueIdTrackingListener - Class in org.junit.platform.launcher.listeners
-
UniqueIdTrackingListener
is aTestExecutionListener
that tracks the unique IDs of all tests that were executed during the execution of theTestPlan
and generates a file containing the unique IDs once execution of theTestPlan
has finished. - UniqueIdTrackingListener() - Constructor for class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- uniqueStreamOf(T[]) - Static method in class org.junit.platform.suite.commons.AdditionalDiscoverySelectors
- unit - Variable in class org.junit.jupiter.engine.extension.TimeoutDuration
- unit() - Element in annotation interface org.junit.jupiter.api.Timeout
-
The time unit of this timeout.
- UNITS_BY_ABBREVIATION - Static variable in class org.junit.jupiter.engine.extension.TimeoutDurationParser
- UnrecoverableExceptions - Class in org.junit.platform.commons.util
-
Internal utilities for working with unrecoverable exceptions.
- UnrecoverableExceptions() - Constructor for class org.junit.platform.commons.util.UnrecoverableExceptions
- unregister() - Method in class org.junit.platform.launcher.core.StreamInterceptingTestExecutionListener
- unregister() - Method in class org.junit.platform.launcher.core.StreamInterceptor
- unregisterAction - Variable in class org.junit.platform.launcher.core.StreamInterceptor
- unresolved() - Static method in class org.junit.platform.engine.SelectorResolutionResult
-
Create a
SelectorResolutionResult
for an unresolved selector. - unresolved() - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
-
Factory for creating unresolved resolutions.
- UNRESOLVED - Enum constant in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Indicates that the
TestEngine
was unable to resolve the selector. - UNRESOLVED - Static variable in class org.junit.platform.engine.support.discovery.SelectorResolver.Resolution
- UNRESOLVED_RESULT - Static variable in class org.junit.platform.engine.SelectorResolutionResult
- unscheduled() - Static method in interface org.junit.platform.engine.support.hierarchical.NodeTestTask.DynamicTaskState
- UNSCHEDULED - Static variable in interface org.junit.platform.engine.support.hierarchical.NodeTestTask.DynamicTaskState
- uri - Variable in class org.junit.platform.engine.discovery.UriSelector
- uri - Variable in class org.junit.platform.engine.support.descriptor.DefaultUriSource
- UriSelector - Class in org.junit.platform.engine.discovery
-
A
DiscoverySelector
that selects aURI
so thatTestEngines
can discover tests or containers based on URIs. - UriSelector(URI) - Constructor for class org.junit.platform.engine.discovery.UriSelector
- UriSource - Interface in org.junit.platform.engine.support.descriptor
-
A
TestSource
that can be represented as aURI
. - Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(Executable)
- Section
- Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(Executable, String)
- Section
- Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(Executable, Supplier<String>)
- Section
- Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(ThrowingSupplier<T>)
- Section
- Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(ThrowingSupplier<T>, String)
- Section
- Usage Note - Search tag in org.junit.jupiter.api.Assertions.assertDoesNotThrow(ThrowingSupplier<T>, Supplier<String>)
- Section
- Use Cases - Search tag in annotation interface org.junit.jupiter.api.TestInstance
- Section
- useHeadersInDisplayName - Variable in class org.junit.jupiter.params.provider.CsvFileArgumentsProvider.CsvParserIterator
- useHeadersInDisplayName() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
Configures whether the first CSV record should be treated as header names for columns.
- useHeadersInDisplayName() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
Configures whether the first CSV record should be treated as header names for columns.
- useResourceLock(TestDescriptor, ResourceLock) - Method in class org.junit.platform.engine.support.hierarchical.NodeExecutionAdvisor
- useTechnicalNames(Class<?>) - Static method in class org.junit.platform.runner.JUnitPlatformTestTree
- UseTechnicalNames - Annotation Interface in org.junit.platform.suite.api
-
Deprecated.since 1.8, in favor of the
@Suite
support provided by thejunit-platform-suite-engine
module; to be removed in JUnit Platform 2.0
V
- validate(Iterable<TestEngine>) - Static method in class org.junit.platform.launcher.core.EngineIdValidator
- validate(EnumSource, Set<? extends Enum<?>>, Set<String>) - Method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- validate(EnumSource, Set<? extends Enum<?>>, Set<String>) - Method in interface org.junit.jupiter.params.provider.EnumSource.Mode.Validator
- validate(TestEngine, TestDescriptor) - Method in class org.junit.platform.launcher.core.EngineDiscoveryResultValidator
-
Perform common validation checks.
- validateAndTrim(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
- validateFactoryMethod(Method, Object) - Static method in class org.junit.jupiter.params.provider.MethodArgumentsProvider
- validateNames(EnumSource, Set<? extends Enum<?>>, Set<String>) - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- validatePatterns(EnumSource, Set<? extends Enum<?>>, Set<String>) - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- validateProviders(ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- validateReservedIds(TestEngine) - Static method in class org.junit.platform.launcher.core.EngineIdValidator
- validateResolvedType(Parameter, Object, Executable, ParameterResolver) - Static method in class org.junit.jupiter.engine.execution.ParameterResolutionUtils
- validateWasAtLeastInvokedOnce(int, List<TestTemplateInvocationContextProvider>) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- validateWellKnownClassName(TestEngine, String) - Static method in class org.junit.platform.launcher.core.EngineIdValidator
- ValidatingInvocation(InvocationInterceptor.Invocation<T>, List<InvocationInterceptor>) - Constructor for class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- validator - Variable in enum class org.junit.jupiter.params.provider.EnumSource.Mode
- validOperators - Variable in class org.junit.platform.launcher.tagexpression.ShuntingYard
- value - Variable in class org.junit.jupiter.engine.extension.TimeoutDuration
- value - Variable in class org.junit.platform.commons.function.Try.Success
- value - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.EvaluatedValue
- value - Variable in class org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- value - Variable in class org.junit.platform.engine.UniqueId.Segment
- value() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIf
-
The name of a method within the test class or in an external class to use as a condition for the test's or container's execution.
- value() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfEnvironmentVariables
-
An array of one or more
@DisabledIfEnvironmentVariable
declarations. - value() - Element in annotation interface org.junit.jupiter.api.condition.DisabledIfSystemProperties
-
An array of one or more
@DisabledIfSystemProperty
declarations. - value() - Element in annotation interface org.junit.jupiter.api.condition.DisabledOnJre
-
Java Runtime Environment versions on which the annotated class or method should be disabled.
- value() - Element in annotation interface org.junit.jupiter.api.condition.DisabledOnOs
-
Operating systems on which the annotated class or method should be disabled.
- value() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIf
-
The name of a method within the test class or in an external class to use as a condition for the test's or container's execution.
- value() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfEnvironmentVariables
-
An array of one or more
@EnabledIfEnvironmentVariable
declarations. - value() - Element in annotation interface org.junit.jupiter.api.condition.EnabledIfSystemProperties
-
An array of one or more
@EnabledIfSystemProperty
declarations. - value() - Element in annotation interface org.junit.jupiter.api.condition.EnabledOnJre
-
Java Runtime Environment versions on which the annotated class or method should be enabled.
- value() - Element in annotation interface org.junit.jupiter.api.condition.EnabledOnOs
-
Operating systems on which the annotated class or method should be enabled.
- value() - Element in annotation interface org.junit.jupiter.api.Disabled
-
The reason this annotated test class or test method is disabled.
- value() - Element in annotation interface org.junit.jupiter.api.DisplayName
-
Custom display name for the annotated class or method.
- value() - Element in annotation interface org.junit.jupiter.api.DisplayNameGeneration
-
Custom display name generator.
- value() - Element in annotation interface org.junit.jupiter.api.extension.ExtendWith
-
An array of one or more
Extension
classes to register. - value() - Element in annotation interface org.junit.jupiter.api.extension.Extensions
-
An array of one or more
@ExtendWith
declarations. - value() - Element in annotation interface org.junit.jupiter.api.Order
-
The order value for the annotated element (i.e., field, method, or class).
- value() - Element in annotation interface org.junit.jupiter.api.parallel.Execution
-
The required/preferred execution mode.
- value() - Element in annotation interface org.junit.jupiter.api.parallel.Isolated
-
The reason this test class needs to run in isolation.
- value() - Element in annotation interface org.junit.jupiter.api.parallel.ResourceLock
-
The resource key.
- value() - Element in annotation interface org.junit.jupiter.api.parallel.ResourceLocks
-
An array of one or more @ResourceLock declarations.
- value() - Element in annotation interface org.junit.jupiter.api.RepeatedTest
-
The number of repetitions.
- value() - Element in annotation interface org.junit.jupiter.api.Tag
-
The tag.
- value() - Element in annotation interface org.junit.jupiter.api.Tags
-
An array of one or more
Tags
. - value() - Element in annotation interface org.junit.jupiter.api.TestClassOrder
-
The
ClassOrderer
to use. - value() - Element in annotation interface org.junit.jupiter.api.TestInstance
-
The test instance lifecycle mode to use.
- value() - Element in annotation interface org.junit.jupiter.api.TestMethodOrder
-
The
MethodOrderer
to use. - value() - Element in annotation interface org.junit.jupiter.api.Timeout
-
The duration of this timeout.
- value() - Element in annotation interface org.junit.jupiter.params.aggregator.AggregateWith
- value() - Element in annotation interface org.junit.jupiter.params.converter.ConvertWith
-
The type of
ArgumentConverter
to use. - value() - Element in annotation interface org.junit.jupiter.params.converter.JavaTimeConversionPattern
-
The date/time conversion pattern.
- value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSource
-
The type of
ArgumentsProvider
to be used. - value() - Element in annotation interface org.junit.jupiter.params.provider.ArgumentsSources
-
An array of one or more
@ArgumentsSource
annotations. - value() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The CSV records to use as the source of arguments; must not be empty.
- value() - Element in annotation interface org.junit.jupiter.params.provider.EnumSource
-
The enum type that serves as the source of the enum constants.
- value() - Element in annotation interface 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 interface org.junit.platform.suite.api.ConfigurationParameter
-
The value to add to the discovery request for the specified
key
. - value() - Element in annotation interface org.junit.platform.suite.api.ConfigurationParameters
-
An array of one or more
@ConfigurationParameter
declarations. - value() - Element in annotation interface org.junit.platform.suite.api.ExcludeClassNamePatterns
-
Regular expressions used to match against fully qualified class names.
- value() - Element in annotation interface org.junit.platform.suite.api.ExcludeEngines
-
One or more TestEngine IDs to be excluded from the test plan.
- value() - Element in annotation interface org.junit.platform.suite.api.ExcludePackages
-
One or more packages to exclude.
- value() - Element in annotation interface org.junit.platform.suite.api.ExcludeTags
-
One or more tags to exclude.
- value() - Element in annotation interface org.junit.platform.suite.api.IncludeClassNamePatterns
-
Regular expressions used to match against fully qualified class names.
- value() - Element in annotation interface org.junit.platform.suite.api.IncludeEngines
-
One or more TestEngine IDs to be included in the test plan.
- value() - Element in annotation interface org.junit.platform.suite.api.IncludePackages
-
One or more packages to include.
- value() - Element in annotation interface org.junit.platform.suite.api.IncludeTags
-
One or more tags to include.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectClasses
-
One or more classes to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectClasspathResource
-
The name of the classpath resource to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectClasspathResources
-
An array of one or more
@SelectClasspathResource
declarations. - value() - Element in annotation interface org.junit.platform.suite.api.SelectDirectories
-
One or more directories to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectFile
-
The file to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectFiles
-
An array of one or more
@SelectFile
declarations. - value() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The fully qualified method name of the method to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectMethods
-
An array of one or more
@SelectMethod
declarations. - value() - Element in annotation interface org.junit.platform.suite.api.SelectModules
-
One or more modules to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectPackages
-
One or more fully qualified package names to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SelectUris
-
One or more URIs to select.
- value() - Element in annotation interface org.junit.platform.suite.api.SuiteDisplayName
-
Custom display name for the annotated class.
- ValueArgumentsProvider - Class in org.junit.jupiter.params.provider
- ValueArgumentsProvider() - Constructor for class org.junit.jupiter.params.provider.ValueArgumentsProvider
- valueOf(String) - Static method in enum class org.junit.jupiter.api.AssertIterableEquals.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.condition.JRE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.condition.OS
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.io.CleanupMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.parallel.ExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.TestInstance.Lifecycle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.engine.extension.TempDirectory.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.jupiter.params.provider.NullEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.commons.support.HierarchyTraversalMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.commons.support.SearchOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.discovery.SelectorResolver.Match.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.TestDescriptor.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.core.IterationOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.EngineFilter.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.launcher.tagexpression.Operator.Associativity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.platform.testkit.engine.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.junit.vintage.engine.execution.EventType
-
Returns the enum constant of this class with the specified name.
- values - Variable in class org.junit.platform.commons.util.ToStringBuilder
- values() - Static method in enum class org.junit.jupiter.api.AssertIterableEquals.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.condition.JRE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.condition.OS
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.io.CleanupMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.parallel.ExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.parallel.ResourceAccessMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.TestInstance.Lifecycle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.api.Timeout.ThreadMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.engine.discovery.MethodSelectorResolver.MethodType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.engine.extension.TempDirectory.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.jupiter.params.provider.NullEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.commons.support.HierarchyTraversalMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.commons.support.SearchOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.SelectorResolutionResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.discovery.SelectorResolver.Match.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.DefaultParallelExecutionConfigurationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.ExclusiveResource.LockMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.support.hierarchical.Node.ExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.TestDescriptor.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.engine.TestExecutionResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.core.IterationOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.core.OutcomeDelayingEngineExecutionListener.Outcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.EngineDiscoveryResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.EngineFilter.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners.LauncherDiscoveryListenerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.launcher.tagexpression.Operator.Associativity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.platform.testkit.engine.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.junit.vintage.engine.execution.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueSource - Annotation Interface in org.junit.jupiter.params.provider
-
@ValueSource
is anArgumentsSource
which provides access to an array of literal values. - valuesStore - Variable in class org.junit.jupiter.engine.descriptor.AbstractExtensionContext
- valuesStore - Variable in class org.junit.jupiter.engine.execution.NamespaceAwareStore
- verb - Variable in enum class org.junit.platform.launcher.EngineFilter.Type
- VerifierAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- VerifierAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.VerifierAdapter
- VerifierSupport - Class in org.junit.jupiter.migrationsupport.rules
-
This
Extension
provides native support for subclasses of theVerifier
rule from JUnit 4. - VerifierSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.VerifierSupport
- verifyInvokedAtLeastOnce() - Method in class org.junit.jupiter.engine.execution.InvocationInterceptorChain.ValidatingInvocation
- versionPattern - Static variable in class org.junit.vintage.engine.JUnit4VersionCheck
- VintageDescriptors() - Constructor for class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- VintageDescriptors(List<VintageTestDescriptor>) - Constructor for class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- VintageDescriptors(VintageTestDescriptor) - Constructor for class org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- 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
- VintageTestDescriptor - Class in org.junit.vintage.engine.descriptor
- VintageTestDescriptor(UniqueId, Description, String, TestSource) - Constructor for class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- VintageTestDescriptor(UniqueId, Description, TestSource) - Constructor for class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- VintageTestEngine - Class in org.junit.vintage.engine
-
The JUnit Vintage
TestEngine
. - VintageTestEngine() - Constructor for class org.junit.vintage.engine.VintageTestEngine
- visit(TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.ClassOrderingVisitor
- visit(TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.MethodOrderingVisitor
- visit(TestDescriptor) - Method in interface org.junit.platform.engine.TestDescriptor.Visitor
-
Visit a
TestDescriptor
. - visit(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
-
Called for all test identifiers regardless of their type.
- visitFile(Path, BasicFileAttributes) - Method in class org.junit.platform.commons.util.ClassFileVisitor
- visitFileFailed(Path, IOException) - Method in class org.junit.platform.commons.util.ClassFileVisitor
- visitorCreators - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
- visitorCreators - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver
- visitors - Variable in class org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution
- VM_INTERNAL_OBJECT_ARRAY_PATTERN - Static variable in class org.junit.platform.commons.util.ReflectionUtils
- VM_INTERNAL_PRIMITIVE_ARRAY_PATTERN - Static variable in class org.junit.platform.commons.util.ReflectionUtils
-
Pattern: "[x", "[[[[x", etc., where x is Z, B, C, D, F, I, J, S, etc.
W
- walk(TestDescriptor) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- walk(TestDescriptor, TestDescriptor, NodeExecutionAdvisor) - Method in class org.junit.platform.engine.support.hierarchical.NodeTreeWalker
- warn(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at warning level. - warn(Throwable, Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- warn(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at warning level. - warn(Supplier<String>) - Method in class org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- warnAboutUnfilterableRunner() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- warnIfAllEnginesExcluded() - Method in class org.junit.platform.launcher.core.EngineFilterer
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.DisabledForJreRange
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.DisabledIf
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.DisabledOnJre
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.DisabledOnOs
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.EnabledForJreRange
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.EnabledIf
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.EnabledOnJre
- Section
- Warning - Search tag in annotation interface org.junit.jupiter.api.condition.EnabledOnOs
- Section
- Warning - Search tag in interface org.junit.jupiter.api.extension.TestInstanceFactory
- Section
- Warning - Search tag in org.junit.platform.commons.util.ExceptionUtils.throwAsUncheckedException(Throwable)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findAnnotation(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findAnnotation(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findAnnotation(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findRepeatableAnnotations(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findRepeatableAnnotations(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.findRepeatableAnnotations(Class<A>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.getAnnotatedElement()
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.getAnnotatedElement()
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.getAnnotatedElement()
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.isAnnotated(Class<? extends Annotation>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.isAnnotated(Class<? extends Annotation>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.AnnotatedElementContext.isAnnotated(Class<? extends Annotation>)
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.ParameterContext.getParameter()
- Section
- WARNING - Search tag in org.junit.jupiter.api.extension.ParameterContext.getParameter()
- Section
- WARNING - Search tag in org.junit.platform.commons.util.AnnotationUtils.getEffectiveAnnotatedParameter(Parameter, int)
- Section
- wasFiltered - Variable in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- wasSuccessful() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor.ExcludeDescriptionFilter
- where(Function<T, V>, Predicate<? super V>) - Static method in class org.junit.platform.commons.util.FunctionUtils
-
Return a predicate that first applies the specified function and then tests the specified predicate against the result of the function.
- WHITESPACE_PATTERN - Static variable in class org.junit.platform.commons.util.StringUtils
- WINDOWS - Enum constant in enum class org.junit.jupiter.api.condition.OS
-
Microsoft Windows operating system.
- withExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- withExtensionRegistry(MutableExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- withInterceptedStreams(ConfigurationParameters, ListenerRegistry<TestExecutionListener>, Consumer<TestExecutionListener>) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- withListener(EngineExecutionListener) - Method in class org.junit.platform.engine.support.hierarchical.NodeTestTaskContext
- withoutIndexFiltering() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- withoutIndexFiltering() - Method in class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.WithoutIndexFiltering
- WithoutIndexFiltering() - Constructor for class org.junit.jupiter.engine.descriptor.DynamicDescendantFilter.WithoutIndexFiltering
- withRetainedEngines(Predicate<? super TestDescriptor>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryResult
- withTestInstancesProvider(TestInstancesProvider) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- withThrowableCollector(ThrowableCollector) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
- Workaround - Search tag in org.junit.platform.commons.util.AnnotationUtils.getEffectiveAnnotatedParameter(Parameter, int)
- Section
- WorkerThread(ForkJoinPool, ClassLoader) - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.WorkerThread
- WorkerThreadFactory() - Constructor for class org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.AfterAllCallback
- Section
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.AfterEachCallback
- Section
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
- Section
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.BeforeAllCallback
- Section
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.BeforeEachCallback
- Section
- Wrapping Behavior - Search tag in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
- Section
- write(byte[]) - Method in class org.junit.platform.launcher.core.StreamInterceptor
- write(byte[], int, int) - Method in class org.junit.platform.launcher.core.StreamInterceptor
- write(int) - Method in class org.junit.platform.launcher.core.StreamInterceptor
- writeObject(ObjectOutputStream) - Method in class org.junit.platform.launcher.TestIdentifier
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form