Package org.junit.jupiter.params
Class ParameterizedTestInvocationContext
- java.lang.Object
-
- org.junit.jupiter.params.ParameterizedInvocationContext<ParameterizedTestContext>
-
- org.junit.jupiter.params.ParameterizedTestInvocationContext
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.TestTemplateInvocationContext
class ParameterizedTestInvocationContext extends ParameterizedInvocationContext<ParameterizedTestContext> implements org.junit.jupiter.api.extension.TestTemplateInvocationContext
- Since:
- 5.0
-
-
Field Summary
-
Fields inherited from class org.junit.jupiter.params.ParameterizedInvocationContext
arguments, declarationContext, invocationIndex
-
-
Constructor Summary
Constructors Constructor Description ParameterizedTestInvocationContext(ParameterizedTestContext methodContext, ParameterizedInvocationNameFormatter formatter, Arguments arguments, int invocationIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.junit.jupiter.api.extension.Extension>getAdditionalExtensions()java.lang.StringgetDisplayName(int invocationIndex)voidprepareInvocation(org.junit.jupiter.api.extension.ExtensionContext context)
-
-
-
Constructor Detail
-
ParameterizedTestInvocationContext
ParameterizedTestInvocationContext(ParameterizedTestContext methodContext, ParameterizedInvocationNameFormatter formatter, Arguments arguments, int invocationIndex)
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName(int invocationIndex)
- Specified by:
getDisplayNamein interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContext- Overrides:
getDisplayNamein classParameterizedInvocationContext<ParameterizedTestContext>
-
getAdditionalExtensions
public java.util.List<org.junit.jupiter.api.extension.Extension> getAdditionalExtensions()
- Specified by:
getAdditionalExtensionsin interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContext
-
prepareInvocation
public void prepareInvocation(org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
prepareInvocationin interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContext- Overrides:
prepareInvocationin classParameterizedInvocationContext<ParameterizedTestContext>
-
-