- PackageNameFilter - Interface in org.junit.platform.engine.discovery
-
- PackageSelector - Class in org.junit.platform.engine.discovery
-
- PackageSource - Class in org.junit.platform.engine.support.descriptor
-
- PackageUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with packages.
- ParameterContext - Interface in org.junit.jupiter.api.extension
-
ParameterContext
encapsulates the
context in which an
Executable
will be invoked for a given
Parameter
.
- 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 for
Extensions
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
-
- 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
-
- populateNewExtensionRegistryFromExtendWith(AnnotatedElement, ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
-
- PostDiscoveryFilter - Interface in org.junit.platform.launcher
-
- 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
-
- 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.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
-
Provide a
Stream
of
Arguments
to be passed to a
@ParameterizedTest
method.
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
- prune() - Method in interface org.junit.platform.engine.TestDescriptor
-
Remove this descriptor from the hierarchy unless it is a root or contains
tests.
- publishEntry(String, String) - Method in interface org.junit.jupiter.api.TestReporter
-
- publishEntry(Map<String, String>) - Method in interface org.junit.jupiter.api.TestReporter
-
Publish the supplied values 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 supplied key
.
- put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
-