Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
static TypeMatcher<BigDecimal> |
TypeMatcher.asBigDecimal(org.hamcrest.Matcher<? extends BigDecimal> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
BigDecimal
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<Boolean> |
TypeMatcher.asBoolean(org.hamcrest.Matcher<? extends Boolean> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Boolean
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<Double> |
TypeMatcher.asDouble(org.hamcrest.Matcher<? extends Double> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Double
and converted value satisfies the specified valueMatcher . |
static TypeMatcher<Integer> |
TypeMatcher.asInt(org.hamcrest.Matcher<? extends Integer> valueMatcher)
Creates a matcher that matches when the examined string is convertible to
Integer
and converted value satisfies the specified valueMatcher . |
Copyright © 2001–2018 XMLUnit. All rights reserved.