Index
All Classes|All Packages|Constant Field Values|Deprecated API|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. - 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_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_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.
- 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 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 org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolutionException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ParameterResolutionException
- ParameterResolver - Interface in org.junit.jupiter.api.extension
-
ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime. - 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
- 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 interface org.junit.platform.console.options.CommandLineOptionsParser
- parse(String...) - Method in class org.junit.platform.console.options.PicocliCommandLineOptionsParser
- 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. - 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.
- 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.
- PicocliCommandLineOptionsParser - Class in org.junit.platform.console.options
- PicocliCommandLineOptionsParser() - Constructor for class org.junit.platform.console.options.PicocliCommandLineOptionsParser
- 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.
- Preconditions - Class in org.junit.platform.commons.util
-
Collection of utilities for asserting preconditions for method and constructor arguments.
- PreconditionViolationException - Exception in org.junit.platform.commons
-
Thrown if a precondition is violated.
- PreconditionViolationException - Exception in org.junit.platform.commons.util
-
Deprecated.Use PreconditionViolationException instead.
- PreconditionViolationException(String) - Constructor for exception org.junit.platform.commons.PreconditionViolationException
- PreconditionViolationException(String) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
-
Deprecated.
- PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.platform.commons.PreconditionViolationException
- PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
-
Deprecated.
- 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. - PrefixedConfigurationParameters - Class in org.junit.platform.engine.support.config
-
View of
ConfigurationParameters
that applies a supplied prefix to all queries. - PrefixedConfigurationParameters(ConfigurationParameters, String) - Constructor for class org.junit.platform.engine.support.config.PrefixedConfigurationParameters
-
Create a new view of the supplied
ConfigurationParameters
that applies the supplied prefix to all queries. - prepare(C) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Prepare the supplied
context
prior to execution. - prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
- prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.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
- 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
. - printHelp(Writer, boolean) - Method in interface org.junit.platform.console.options.CommandLineOptionsParser
- printHelp(Writer, boolean) - Method in class org.junit.platform.console.options.PicocliCommandLineOptionsParser
- 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.
- provideArguments(ExtensionContext) - Method in interface org.junit.jupiter.params.provider.ArgumentsProvider
- 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
- 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
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form