Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- PackageNameFilter - Interface in org.junit.platform.engine.discovery
-
DiscoveryFilter
that is applied to the name of aPackage
. - 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.IdentifierParser - Class in org.junit.platform.engine.discovery
- PackageSource - Class in org.junit.platform.engine.support.descriptor
-
Package based
TestSource
. - PackageUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with packages.
- 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_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"
- Parallel Execution - Search tag in annotation interface org.junit.jupiter.api.TestInstance
- Section
- Parallel Execution - Search tag in annotation interface org.junit.jupiter.api.TestMethodOrder
- Section
- 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.
- ParameterContext - Interface in org.junit.jupiter.api.extension
-
ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. - ParameterizedTest - Annotation Interface in org.junit.jupiter.params
-
@ParameterizedTest
is used to signal that the annotated method is a parameterized test method. - 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. - parameterTypeNames() - Element in annotation interface org.junit.platform.suite.api.SelectMethod
-
The parameter types of the method to select.
- 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.
- parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Set the parent configuration parameters to use for the request.
- parentConfigurationParameters(ConfigurationParameters) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
-
Set the parent configuration parameters to use for the request.
- parse(String) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser.Context
-
Parse the supplied selector.
- parse(String) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied string representation of a
DiscoverySelectorIdentifier
. - parse(String) - Static method in class org.junit.platform.engine.DiscoverySelectorIdentifier
-
Parse the supplied string representation of a
DiscoverySelectorIdentifier
in the formatprefix:value
. - parse(String) - Static method in class org.junit.platform.engine.UniqueId
-
Parse a
UniqueId
from the supplied string representation using the default format. - parse(DiscoverySelectorIdentifier) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied
DiscoverySelectorIdentifier
. - parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ClassSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.DirectorySelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in interface org.junit.platform.engine.discovery.DiscoverySelectorIdentifierParser
-
Parse the supplied
DiscoverySelectorIdentifier
. - parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.FileSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.MethodSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.ModuleSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedClassSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.PackageSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector.IdentifierParser
- parse(DiscoverySelectorIdentifier, DiscoverySelectorIdentifierParser.Context) - Method in class org.junit.platform.engine.discovery.UriSelector.IdentifierParser
- parseAll(String...) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied string representations of
DiscoverySelectorIdentifiers
. - parseAll(Collection<DiscoverySelectorIdentifier>) - Static method in class org.junit.platform.engine.discovery.DiscoverySelectors
-
Parse the supplied
DiscoverySelectorIdentifiers
. - parseFrom(String) - Static method in interface org.junit.platform.launcher.tagexpression.TagExpression
-
Attempt to parse a
TagExpression
from the supplied tag expression string. - parseFullyQualifiedFieldName(String) - Static method in class org.junit.platform.commons.util.ReflectionUtils
-
Parse the supplied fully qualified field name into a 2-element
String[]
with the following content. - 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. - ParseResult - Interface in org.junit.platform.launcher.tagexpression
-
The result of attempting to parse a
TagExpression
. - partial(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match without any children.
- partial(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating a partial match with potential children.
- Pattern Matching Syntax - Search tag in org.junit.jupiter.engine.Constants.DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
- Section
- Pattern Matching Syntax - Search tag in org.junit.platform.launcher.LauncherConstants.DEACTIVATE_LISTENERS_PATTERN_PROPERTY_NAME
- Section
- 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_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.
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
- PostDiscoveryFilter - Interface in org.junit.platform.launcher
-
A
PostDiscoveryFilter
is applied toTestDescriptors
after test discovery. - 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.
- Preconditions - Class in org.junit.platform.commons.util
-
Collection of utilities for asserting preconditions for method and constructor arguments.
- 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 - Static variable in class org.junit.platform.engine.discovery.IterationSelector.IdentifierParser
- PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
-
View of
ConfigurationParameters
that applies a supplied prefix to all queries. - PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
-
Create a new view of the supplied
ConfigurationParameters
that applies the supplied prefix to all queries. - PreInterruptCallback - Interface in org.junit.jupiter.api.extension
-
PreInterruptCallback
defines the API forExtensions
that wish to be called prior to invocations ofThread.interrupt()
by theTimeout
extension. - PreInterruptContext - Interface in org.junit.jupiter.api.extension
-
PreInterruptContext
encapsulates the context in which anbeforeThreadInterrupt
method is called. - 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.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
- preVisitContainer(TestIdentifier) - Method in interface org.junit.platform.launcher.TestPlan.Visitor
-
Called before visiting a container.
- printFailuresTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print failed containers and tests, including sources and exception messages, to the supplied
PrintWriter
. - printFailuresTo(PrintWriter, int) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print failed containers and tests, including sources and exception messages, to the supplied
PrintWriter
. - printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print this summary to the supplied
PrintWriter
. - proceed() - Method in interface org.junit.jupiter.api.extension.InvocationInterceptor.Invocation
-
Proceed with this invocation.
- proceed() - Method in interface org.junit.platform.launcher.LauncherInterceptor.Invocation
- provideArguments(ExtensionContext) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
- provideArguments(ExtensionContext, A) - Method in class org.junit.jupiter.params.provider.AnnotationBasedArgumentsProvider
- provideForClass(Class<?>) - Method in interface org.junit.jupiter.api.parallel.ResourceLocksProvider
-
Add shared resources to a test class.
- provideForMethod(Class<?>, Method) - Method in interface org.junit.jupiter.api.parallel.ResourceLocksProvider
-
Add shared resources to a test method.
- provideForNestedClass(Class<?>) - Method in interface org.junit.jupiter.api.parallel.ResourceLocksProvider
-
Add shared resources to a nested test class.
- providers() - Element in annotation interface org.junit.jupiter.api.parallel.ResourceLock
-
An array of one or more classes implementing
ResourceLocksProvider
. - provideTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
Provide invocation contexts for the test template method represented by the supplied
context
. - prune() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this descriptor from the hierarchy unless it is a root or contains tests.
- prune() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- 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. - 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form