|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jayway.restassured.matcher.RestAssuredMatchers
public class RestAssuredMatchers
Providers Hamcrest matchers that may be useful when validating a response.
Constructor Summary | |
---|---|
RestAssuredMatchers()
|
Method Summary | |
---|---|
static org.hamcrest.Matcher<String> |
matchesDtd(File dtd)
Evaluates to true if an XML string matches the supplied DTD. |
static org.hamcrest.Matcher<String> |
matchesDtd(InputStream dtd)
Evaluates to true if an XML string matches the supplied DTD. |
static org.hamcrest.Matcher<String> |
matchesDtd(String dtd)
Evaluates to true if an XML string matches the supplied DTD. |
static org.hamcrest.Matcher<String> |
matchesDtd(URL url)
Evaluates to true if an XML string matches the supplied DTD. |
static org.hamcrest.Matcher<String> |
matchesXsd(File xsd)
Evaluates to true if an XML string matches the supplied XSD (Xml Schema). |
static org.hamcrest.Matcher<String> |
matchesXsd(InputStream xsd)
Evaluates to true if an XML string matches the supplied XSD (Xml Schema). |
static org.hamcrest.Matcher<String> |
matchesXsd(Reader xsd)
Evaluates to true if an XML string matches the supplied XSD (Xml Schema). |
static org.hamcrest.Matcher<String> |
matchesXsd(String xsd)
Evaluates to true if an XML string matches the supplied XSD (Xml Schema). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RestAssuredMatchers()
Method Detail |
---|
public static org.hamcrest.Matcher<String> matchesXsd(String xsd)
xsd
- The XSD to match
public static org.hamcrest.Matcher<String> matchesXsd(InputStream xsd)
xsd
- The XSD to match
public static org.hamcrest.Matcher<String> matchesXsd(Reader xsd)
xsd
- The XSD to match
public static org.hamcrest.Matcher<String> matchesXsd(File xsd)
xsd
- The XSD to match
public static org.hamcrest.Matcher<String> matchesDtd(String dtd)
dtd
- The DTD to match
public static org.hamcrest.Matcher<String> matchesDtd(InputStream dtd)
dtd
- The DTD to match
public static org.hamcrest.Matcher<String> matchesDtd(File dtd)
dtd
- The DTD to match
public static org.hamcrest.Matcher<String> matchesDtd(URL url)
url
- The DTD to match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |