public class PrintSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_LINE_LENGTH |
Constructor and Description |
---|
PrintSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
extraTypeInfoFor(int argumentIndex) |
boolean |
isMultiline() |
java.lang.String |
print(Invocation invocation) |
java.lang.String |
print(InvocationMatcher invocationMatcher) |
java.lang.String |
print(java.util.List<org.hamcrest.Matcher> matchers,
Invocation invocation) |
void |
setMatchersToBeDescribedWithExtraTypeInfo(java.lang.Integer[] indexesOfMatchers) |
void |
setMultiline(boolean multiline) |
static PrintSettings |
verboseMatchers(java.lang.Integer... indexesOfMatchers) |
public static final int MAX_LINE_LENGTH
public void setMultiline(boolean multiline)
public boolean isMultiline()
public static PrintSettings verboseMatchers(java.lang.Integer... indexesOfMatchers)
public boolean extraTypeInfoFor(int argumentIndex)
public void setMatchersToBeDescribedWithExtraTypeInfo(java.lang.Integer[] indexesOfMatchers)
public java.lang.String print(java.util.List<org.hamcrest.Matcher> matchers, Invocation invocation)
public java.lang.String print(Invocation invocation)
public java.lang.String print(InvocationMatcher invocationMatcher)