Package at.willhaben.willtest.matcher
Class PageContentMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<java.lang.Throwable>
-
- at.willhaben.willtest.matcher.PageContentMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<java.lang.Throwable>,org.hamcrest.SelfDescribing
@Deprecated public class PageContentMatcher extends org.hamcrest.TypeSafeMatcher<java.lang.Throwable>Deprecated.Matches aThrowableif it has any suppressedPageContentException, which contains a page content (seePageContentException.getPageContent(), which matches theMatcherpassed in as constructor argument. It can be used together withRetryandPageSourceto retry on a specific page content. Example: a "Gateway Timeout" page sent by Apache could mean that we want to retry a test.
-
-
Constructor Summary
Constructors Constructor Description PageContentMatcher(org.hamcrest.Matcher<java.lang.String> pageContentMatcher)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)Deprecated.protected booleanmatchesSafely(java.lang.Throwable testFailure)Deprecated.-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-