public class ValidationMatcher
extends org.hamcrest.BaseMatcher
JAXPValidator
.Constructor and Description |
---|
ValidationMatcher(Object... schemaSource) |
ValidationMatcher(Schema schema) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Object instance) |
static ValidationMatcher |
valid(Object schemaSource) |
static ValidationMatcher |
valid(Schema schema) |
public ValidationMatcher(Object... schemaSource)
public ValidationMatcher(Schema schema)
public boolean matches(Object instance)
public void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object item, org.hamcrest.Description mismatchDescription)
describeMismatch
in interface org.hamcrest.Matcher
describeMismatch
in class org.hamcrest.BaseMatcher
public static ValidationMatcher valid(Object schemaSource)
public static ValidationMatcher valid(Schema schema)
Copyright © 2001–2017 XMLUnit. All rights reserved.