Class ParameterizedInvocationNameFormatter.MessageFormatPartialFormatter
java.lang.Object
org.junit.jupiter.params.ParameterizedInvocationNameFormatter.MessageFormatPartialFormatter
- All Implemented Interfaces:
ParameterizedInvocationNameFormatter.PartialFormatter
- Enclosing class:
ParameterizedInvocationNameFormatter
private static class ParameterizedInvocationNameFormatter.MessageFormatPartialFormatter
extends Object
implements ParameterizedInvocationNameFormatter.PartialFormatter
- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final charprivate final MessageFormatFields inherited from interface ParameterizedInvocationNameFormatter.PartialFormatter
INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(ParameterizedInvocationNameFormatter.ArgumentsContext context, StringBuffer result) private Object[]makeReadable(Object[] arguments) private StringtruncateIfExceedsMaxLength(String argument)
-
Field Details
-
ELLIPSIS
private static final char ELLIPSIS- See Also:
-
messageFormat
-
argumentMaxLength
private final int argumentMaxLength
-
-
Constructor Details
-
MessageFormatPartialFormatter
MessageFormatPartialFormatter(String pattern, int argumentMaxLength)
-
-
Method Details
-
append
public void append(ParameterizedInvocationNameFormatter.ArgumentsContext context, StringBuffer result) - Specified by:
appendin interfaceParameterizedInvocationNameFormatter.PartialFormatter
-
makeReadable
-
truncateIfExceedsMaxLength
-