Class ResponseMatchers.ResponseCodeIs
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<com.meterware.httpunit.WebResponse>
com.atlassian.jira.functest.framework.util.ResponseMatchers.ResponseCodeIs
- All Implemented Interfaces:
org.hamcrest.Matcher<com.meterware.httpunit.WebResponse>,org.hamcrest.SelfDescribing
- Enclosing class:
- ResponseMatchers
public static class ResponseMatchers.ResponseCodeIs
extends org.hamcrest.TypeSafeMatcher<com.meterware.httpunit.WebResponse>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(com.meterware.httpunit.WebResponse item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Constructor Details
-
ResponseCodeIs
public ResponseCodeIs(int expectedResponseCode)
-
-
Method Details
-
matchesSafely
protected boolean matchesSafely(com.meterware.httpunit.WebResponse item) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<com.meterware.httpunit.WebResponse>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-