Hamcrest matchers for common data types.
Type Params | Return Type | Name and description |
---|---|---|
|
static org.hamcrest.Matcher<java.util.Collection> |
aCollectionWithSize(int size) |
|
static org.hamcrest.Matcher<java.lang.Object> |
aNumber() |
|
static org.hamcrest.Matcher<java.lang.Object> |
anEmptyArray() |
|
static org.hamcrest.Matcher<java.util.Collection> |
anEmptyCollection() |
|
static org.hamcrest.Matcher<java.util.Map> |
anEmptyMap() |
|
static org.hamcrest.Matcher<java.lang.String> |
anEmptyString() |
|
static org.hamcrest.Matcher<org.w3c.dom.Node> |
compliantWithSchema(java.lang.String schemaPath) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
void |
describeTo(org.hamcrest.Description description) |
|
static org.hamcrest.Matcher<java.lang.String> |
endsWith(java.lang.String suffix) |
|
static org.hamcrest.Matcher<java.io.File> |
exists() |
|
boolean |
matchesSafely(java.lang.String s) |
|
boolean |
matchesSafely(java.lang.String s) |
|
boolean |
matchesSafely(java.lang.String s) |
|
boolean |
matchesSafely(java.lang.Object[] objects) |
|
boolean |
matchesSafely(java.util.Collection collection) |
|
boolean |
matchesSafely(java.util.Map collection) |
|
boolean |
matchesSafely(java.util.Collection collection) |
|
boolean |
matchesSafely(org.w3c.dom.Node node) |
|
boolean |
matchesSafely(ContentType item) |
|
boolean |
matchesSafely(java.io.File file) |
|
static org.hamcrest.Matcher<ContentType> |
sameBaseContentType(java.lang.String contentType) |
|
static org.hamcrest.Matcher<java.lang.String> |
startsWith(java.lang.String prefix) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |