A B C D E F G H I J L M N O P R S T U V W
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 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 Type 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. - 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.JOptSimpleCommandLineOptionsParser
- 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
. - PER_CLASS - org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created once per test class.
- PER_METHOD - org.junit.jupiter.api.TestInstance.Lifecycle
-
When using this mode, a new test instance will be created for each test method or test factory 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.
- 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.util
-
Thrown if a precondition is violated.
- PreconditionViolationException(String) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
- PreconditionViolationException(String, Throwable) - Constructor for exception org.junit.platform.commons.util.PreconditionViolationException
- 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.ClassTestDescriptor
- 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
. - printHelp(Writer) - Method in interface org.junit.platform.console.options.CommandLineOptionsParser
- printHelp(Writer) - Method in class org.junit.platform.console.options.JOptSimpleCommandLineOptionsParser
- printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
-
Print this summary to the supplied
PrintWriter
. - 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, 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, 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
. - 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
. - 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