Class AndWait<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<Supplier<T>>
berlin.yuna.hamcrest.matcher.AndWait<T>
All Implemented Interfaces:
org.hamcrest.Matcher<Supplier<T>>, org.hamcrest.SelfDescribing

public class AndWait<T> extends org.hamcrest.TypeSafeDiagnosingMatcher<Supplier<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    AndWait(org.hamcrest.Matcher<T> expected)
     
    AndWait(org.hamcrest.Matcher<T> expected, int timeoutMs)
     
  • 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)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(Supplier<T> actual, org.hamcrest.Description description)
     

    Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AndWait

      public AndWait(org.hamcrest.Matcher<T> expected)
    • AndWait

      public AndWait(org.hamcrest.Matcher<T> expected, int timeoutMs)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(Supplier<T> actual, org.hamcrest.Description description)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<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)