Top Inners Fields Constructors Methods
org.junit.jupiter.params

pack-priv Class ParameterizedClassContext

extends Object
implements ParameterizedDeclarationContext<ParameterizedClassInvocationContext>
Class Inheritance
All Implemented Interfaces
org.junit.jupiter.params.ParameterizedDeclarationContext
Static Imports
java.util.Collections.emptyList, .Collections.reverse, org.junit.platform.commons.support.AnnotationSupport.findAnnotatedMethods, .AnnotationSupport.findAnnotation, .AnnotationSupport.isAnnotated, .HierarchyTraversalMode.BOTTOM_UP, .HierarchyTraversalMode.TOP_DOWN, .ReflectionSupport.findFields, org.junit.platform.commons.util.ReflectionUtils.isRecordClass

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private final List<ArgumentSetLifecycleMethod>
private final ParameterizedClass
private final List<ArgumentSetLifecycleMethod>
private final ParameterizedClassContext.InjectionType
private final ResolverFacade
private final Class<?>
private final TestInstance.Lifecycle

Constructor Summary

AccessConstructor and Description
pack-priv
ParameterizedClassContext(Class<?> testClass, ParameterizedClass annotation, TestInstance.Lifecycle testInstanceLifecycle)

Method Summary

Modifier and TypeMethod and Description
public ParameterizedClassInvocationContext
private static <A extends Annotation> List<ArgumentSetLifecycleMethod>
findLifecycleMethodsAndAssertStaticAndNonPrivate(Class<?> testClass, HierarchyTraversalMode traversalMode, Class<A> annotationType, Predicate<A> injectArgumentsPredicate, ResolverFacade resolverFacade)

private static List<Field>
pack-priv List<ArgumentSetLifecycleMethod>
public Class<?>
public ParameterizedClass
private static <A extends Annotation> A
getAnnotation(Method method, Class<A> annotationType)

public ArgumentCountValidationMode
pack-priv List<ArgumentSetLifecycleMethod>
public String
pack-priv ParameterizedClassContext.InjectionType
public ResolverFacade
public Class<?>
pack-priv TestInstance.Lifecycle
public boolean
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

afterMethodsback to summary
private final List<ArgumentSetLifecycleMethod> afterMethods
annotationback to summary
private final ParameterizedClass annotation
beforeMethodsback to summary
private final List<ArgumentSetLifecycleMethod> beforeMethods
injectionTypeback to summary
private final ParameterizedClassContext.InjectionType injectionType
resolverFacadeback to summary
private final ResolverFacade resolverFacade
testClassback to summary
private final Class<?> testClass
testInstanceLifecycleback to summary
private final TestInstance.Lifecycle testInstanceLifecycle

Constructor Detail

ParameterizedClassContextback to summary
pack-priv ParameterizedClassContext(Class<?> testClass, ParameterizedClass annotation, TestInstance.Lifecycle testInstanceLifecycle)

Method Detail

createInvocationContextback to summary
public ParameterizedClassInvocationContext createInvocationContext(ParameterizedInvocationNameFormatter formatter, Arguments arguments, int invocationIndex)

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.createInvocationContext.

Annotations
@Override
findLifecycleMethodsAndAssertStaticAndNonPrivateback to summary
private static <A extends Annotation> List<ArgumentSetLifecycleMethod> findLifecycleMethodsAndAssertStaticAndNonPrivate(Class<?> testClass, HierarchyTraversalMode traversalMode, Class<A> annotationType, Predicate<A> injectArgumentsPredicate, ResolverFacade resolverFacade)
findParameterAnnotatedFieldsback to summary
private static List<Field> findParameterAnnotatedFields(Class<?> clazz)
getAfterMethodsback to summary
pack-priv List<ArgumentSetLifecycleMethod> getAfterMethods()
getAnnotatedElementback to summary
public Class<?> getAnnotatedElement()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getAnnotatedElement.

Annotations
@Override
getAnnotationback to summary
public ParameterizedClass getAnnotation()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getAnnotation.

Annotations
@Override
getAnnotationback to summary
private static <A extends Annotation> A getAnnotation(Method method, Class<A> annotationType)
getArgumentCountValidationModeback to summary
public ArgumentCountValidationMode getArgumentCountValidationMode()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getArgumentCountValidationMode.

Annotations
@Override
getBeforeMethodsback to summary
pack-priv List<ArgumentSetLifecycleMethod> getBeforeMethods()
getDisplayNamePatternback to summary
public String getDisplayNamePattern()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getDisplayNamePattern.

Annotations
@Override
getInjectionTypeback to summary
pack-priv ParameterizedClassContext.InjectionType getInjectionType()
getResolverFacadeback to summary
public ResolverFacade getResolverFacade()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getResolverFacade.

Annotations
@Override
getTestClassback to summary
public Class<?> getTestClass()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.getTestClass.

Annotations
@Override
getTestInstanceLifecycleback to summary
pack-priv TestInstance.Lifecycle getTestInstanceLifecycle()
isAllowingZeroInvocationsback to summary
public boolean isAllowingZeroInvocations()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.isAllowingZeroInvocations.

Annotations
@Override
isAutoClosingArgumentsback to summary
public boolean isAutoClosingArguments()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.isAutoClosingArguments.

Annotations
@Override
quoteTextArgumentsback to summary
public boolean quoteTextArguments()

Implements org.junit.jupiter.params.ParameterizedDeclarationContext.quoteTextArguments.

Annotations
@Override
org.junit.jupiter.params back to summary

pack-priv final Enum ParameterizedClassContext.InjectionType

extends Enum<ParameterizedClassContext.InjectionType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ParameterizedClassContext.InjectionType
public static final ParameterizedClassContext.InjectionType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ParameterizedClassContext.InjectionType
public static ParameterizedClassContext.InjectionType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONSTRUCTORback to summary
public static final ParameterizedClassContext.InjectionType CONSTRUCTOR
FIELDSback to summary
public static final ParameterizedClassContext.InjectionType FIELDS

Constructor Detail

InjectionTypeback to summary
private InjectionType()

Method Detail

valueOfback to summary
public static ParameterizedClassContext.InjectionType valueOf(String name)
valuesback to summary
public static ParameterizedClassContext.InjectionType[] values()