Package org.junit.jupiter.params
Class ParameterizedInvocationNameFormatter.CachingByArgumentsLengthPartialFormatter
- java.lang.Object
-
- org.junit.jupiter.params.ParameterizedInvocationNameFormatter.CachingByArgumentsLengthPartialFormatter
-
- All Implemented Interfaces:
ParameterizedInvocationNameFormatter.PartialFormatter
- Enclosing class:
- ParameterizedInvocationNameFormatter
private static class ParameterizedInvocationNameFormatter.CachingByArgumentsLengthPartialFormatter extends java.lang.Object implements ParameterizedInvocationNameFormatter.PartialFormatter
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter>cacheprivate java.util.function.Function<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter>factory-
Fields inherited from interface org.junit.jupiter.params.ParameterizedInvocationNameFormatter.PartialFormatter
INDEX
-
-
Constructor Summary
Constructors Constructor Description CachingByArgumentsLengthPartialFormatter(java.util.function.Function<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(ParameterizedInvocationNameFormatter.ArgumentsContext context, java.lang.StringBuffer result)
-
-
-
Field Detail
-
cache
private final java.util.concurrent.ConcurrentMap<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter> cache
-
factory
private final java.util.function.Function<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter> factory
-
-
Constructor Detail
-
CachingByArgumentsLengthPartialFormatter
CachingByArgumentsLengthPartialFormatter(java.util.function.Function<java.lang.Integer,ParameterizedInvocationNameFormatter.PartialFormatter> factory)
-
-
Method Detail
-
append
public void append(ParameterizedInvocationNameFormatter.ArgumentsContext context, java.lang.StringBuffer result)
- Specified by:
appendin interfaceParameterizedInvocationNameFormatter.PartialFormatter
-
-