| Modifier and Type | Field and Description |
|---|---|
protected int |
expectedSqlType |
protected String |
messagePrefix |
protected String |
messageSuffix |
static Map<Integer,String> |
typeNameByValue |
| Constructor and Description |
|---|
SqlTypeMatcher(int expectedSqlType) |
SqlTypeMatcher(int expectedSqlType,
String messagePrefix,
String messageSuffix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(Integer item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected String |
getMessage(Integer sqlType) |
protected boolean |
matchesSafely(Integer item) |
void |
setMessagePrefix(String messagePrefix) |
void |
setMessageSuffix(String messageSuffix) |
protected int expectedSqlType
protected String messagePrefix
protected String messageSuffix
protected boolean matchesSafely(Integer item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<Integer>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(Integer item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<Integer>public void setMessagePrefix(String messagePrefix)
public void setMessageSuffix(String messageSuffix)
Copyright © 2017. All rights reserved.