Uses of Interface
org.junit.jupiter.api.extension.ParameterContext
Packages that use ParameterContext
Package
Description
JUnit Jupiter API for writing extensions.
JUnit Jupiter API support for writing extensions.
Internal classes for test execution within the JUnit Jupiter test engine.
Test extensions specific to the JUnit Jupiter test engine.
JUnit Jupiter extension for parameterized tests.
ArgumentConverter
implementations and the corresponding
@ConvertWith
annotation.-
Uses of ParameterContext in org.junit.jupiter.api.extension
Methods in org.junit.jupiter.api.extension with parameters of type ParameterContextModifier and TypeMethodDescriptionParameterResolver.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) Resolve an argument for theParameter
in the suppliedParameterContext
for the suppliedExtensionContext
.boolean
ParameterResolver.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) Determine if this resolver supports resolution of an argument for theParameter
in the suppliedParameterContext
for the suppliedExtensionContext
. -
Uses of ParameterContext in org.junit.jupiter.api.extension.support
Methods in org.junit.jupiter.api.extension.support with parameters of type ParameterContextModifier and TypeMethodDescriptionprivate Type
TypeBasedParameterResolver.getParameterType
(ParameterContext parameterContext) abstract T
TypeBasedParameterResolver.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) final boolean
TypeBasedParameterResolver.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) -
Uses of ParameterContext in org.junit.jupiter.engine.execution
Classes in org.junit.jupiter.engine.execution that implement ParameterContextMethods in org.junit.jupiter.engine.execution with parameters of type ParameterContextModifier and TypeMethodDescriptionprivate static Object
ParameterResolutionUtils.resolveParameter
(ParameterContext parameterContext, Executable executable, ExtensionContext extensionContext, ExtensionRegistry extensionRegistry) -
Uses of ParameterContext in org.junit.jupiter.engine.extension
Methods in org.junit.jupiter.engine.extension with parameters of type ParameterContextModifier and TypeMethodDescriptionprivate CleanupMode
TempDirectory.determineCleanupModeForParameter
(ParameterContext parameterContext) private TempDirFactory
TempDirectory.determineTempDirFactoryForParameter
(ParameterContext parameterContext, TempDirectory.Scope scope) RepetitionExtension.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) TempDirectory.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) Resolve the current temporary directory for theParameter
in the suppliedParameterContext
.TestInfoParameterResolver.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) TestReporterParameterResolver.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) boolean
RepetitionExtension.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) boolean
TempDirectory.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) boolean
TestInfoParameterResolver.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) boolean
TestReporterParameterResolver.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) -
Uses of ParameterContext in org.junit.jupiter.params
Methods in org.junit.jupiter.params with parameters of type ParameterContextModifier and TypeMethodDescription(package private) abstract ParameterizedTestMethodContext.Resolver
ParameterizedTestMethodContext.ResolverType.createResolver
(ParameterContext parameterContext) ParameterizedTestMethodContext.getResolver
(ParameterContext parameterContext) private static ParameterResolutionException
ParameterizedTestMethodContext.parameterResolutionException
(String message, Exception cause, ParameterContext parameterContext) ParameterizedTestMethodContext.Aggregator.resolve
(ParameterContext parameterContext, Object[] arguments, int invocationIndex) ParameterizedTestMethodContext.Converter.resolve
(ParameterContext parameterContext, Object[] arguments, int invocationIndex) (package private) Object
ParameterizedTestMethodContext.resolve
(ParameterContext parameterContext, Object[] arguments, int invocationIndex) Resolve the parameter for the supplied context using the supplied arguments.ParameterizedTestMethodContext.Resolver.resolve
(ParameterContext parameterContext, Object[] arguments, int invocationIndex) ParameterizedTestParameterResolver.resolveParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) boolean
ParameterizedTestParameterResolver.supportsParameter
(ParameterContext parameterContext, ExtensionContext extensionContext) -
Uses of ParameterContext in org.junit.jupiter.params.aggregator
Fields in org.junit.jupiter.params.aggregator declared as ParameterContextModifier and TypeFieldDescriptionprivate final ParameterContext
DefaultArgumentsAccessor.parameterContext
Methods in org.junit.jupiter.params.aggregator with parameters of type ParameterContextModifier and TypeMethodDescriptionArgumentsAggregator.aggregateArguments
(ArgumentsAccessor accessor, ParameterContext context) Aggregate the arguments contained in the suppliedaccessor
into a single object.Constructors in org.junit.jupiter.params.aggregator with parameters of type ParameterContextModifierConstructorDescriptionDefaultArgumentsAccessor
(ParameterContext parameterContext, int invocationIndex, Object... arguments) -
Uses of ParameterContext in org.junit.jupiter.params.converter
Methods in org.junit.jupiter.params.converter with parameters of type ParameterContextModifier and TypeMethodDescriptionfinal Object
AnnotationBasedArgumentConverter.convert
(Object source, ParameterContext context) ArgumentConverter.convert
(Object source, ParameterContext context) Convert the suppliedsource
object according to the suppliedcontext
.final Object
DefaultArgumentConverter.convert
(Object source, Class<?> targetType, ParameterContext context) final Object
DefaultArgumentConverter.convert
(Object source, ParameterContext context) final Object
SimpleArgumentConverter.convert
(Object source, ParameterContext context) final Object
TypedArgumentConverter.convert
(Object source, ParameterContext context)