T
- type to matchpublic class AfterWait<T>
extends org.hamcrest.TypeSafeMatcher<T>
Constructor and Description |
---|
AfterWait(int seconds,
org.hamcrest.Matcher<T> matcher)
Wait on Matcher for seconds.
|
AfterWait(org.hamcrest.Matcher<T> matcher)
Wait for Matcher for 5 seconds.
|
Modifier and Type | Method and Description |
---|---|
static <T> org.hamcrest.Matcher<T> |
afterWait(int seconds,
org.hamcrest.Matcher<T> matcher)
Wait on Matcher for seconds.
|
static <T> org.hamcrest.Matcher<T> |
afterWait(org.hamcrest.Matcher<T> matcher)
Wait on Matcher for 5 seconds.
|
protected void |
describeMismatchSafely(T item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T item) |
public AfterWait(int seconds, org.hamcrest.Matcher<T> matcher)
seconds
- to waitmatcher
- to wait forpublic AfterWait(org.hamcrest.Matcher<T> matcher)
matcher
- to wait forpublic void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(T item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<T>
protected boolean matchesSafely(T item)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<T>
public static <T> org.hamcrest.Matcher<T> afterWait(int seconds, org.hamcrest.Matcher<T> matcher)
T
- a T object.seconds
- to waitmatcher
- to wait forMatcher
object.public static <T> org.hamcrest.Matcher<T> afterWait(org.hamcrest.Matcher<T> matcher)
T
- a T object.matcher
- to wait forMatcher
object.Copyright © 2017–2022 wcm.io QA. All rights reserved.