Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Class and Description |
---|---|
private static class |
TypeMatcher.BigDecimalTypeMatcher |
private static class |
TypeMatcher.BooleanTypeMatcher |
private static class |
TypeMatcher.DoubleTypeMatcher |
private static class |
TypeMatcher.IntegerTypeMatcher |
Modifier and Type | Method and Description |
---|---|
static TypeMatcher<java.math.BigDecimal> |
TypeMatcher.asBigDecimal(org.hamcrest.Matcher<? extends java.math.BigDecimal> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
BigDecimal
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<java.lang.Boolean> |
TypeMatcher.asBoolean(org.hamcrest.Matcher<? extends java.lang.Boolean> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Boolean
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<java.lang.Double> |
TypeMatcher.asDouble(org.hamcrest.Matcher<? extends java.lang.Double> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Double
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<java.lang.Integer> |
TypeMatcher.asInt(org.hamcrest.Matcher<? extends java.lang.Integer> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Integer
and converted value satisfies the specified valueMatcher . |