Package berlin.yuna.hamcrest.matcher
Class AndWait<T>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeDiagnosingMatcher<java.util.function.Supplier<T>>
-
- berlin.yuna.hamcrest.matcher.AndWait<T>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<java.util.function.Supplier<T>>,org.hamcrest.SelfDescribing
public class AndWait<T> extends org.hamcrest.TypeSafeDiagnosingMatcher<java.util.function.Supplier<T>>
-
-
Method Summary
Modifier and Type Method Description static <T> AndWait<T>andWait(org.hamcrest.Matcher<T> expected)static <T> AndWait<T>andWait(org.hamcrest.Matcher<T> expected, int timeoutMs)voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(java.util.function.Supplier<T> actual, org.hamcrest.Description description)
-
-
-
Method Detail
-
matchesSafely
protected boolean matchesSafely(java.util.function.Supplier<T> actual, org.hamcrest.Description description)
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeDiagnosingMatcher<java.util.function.Supplier<T>>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
andWait
public static <T> AndWait<T> andWait(org.hamcrest.Matcher<T> expected)
-
andWait
public static <T> AndWait<T> andWait(org.hamcrest.Matcher<T> expected, int timeoutMs)
-
-