org.sonatype.sisu.litmus.testsupport.hamcrest
Class URLRespondsWithStatusMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<URL>
org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<URL>, org.hamcrest.SelfDescribing
public class URLRespondsWithStatusMatcher
- extends org.hamcrest.TypeSafeMatcher<URL>
Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
URLRespondsWithStatusMatcher
public URLRespondsWithStatusMatcher(int statusCode)
URLRespondsWithStatusMatcher
public URLRespondsWithStatusMatcher(int statusCode,
int timeout)
describeTo
public void describeTo(org.hamcrest.Description description)
describeMismatchSafely
protected void describeMismatchSafely(URL item,
org.hamcrest.Description mismatchDescription)
- Overrides:
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<URL>
matchesSafely
protected boolean matchesSafely(URL item)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<URL>
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.