Class SoftTimeoutMatcher

  • All Implemented Interfaces:
    org.hamcrest.Matcher<io.atlassian.util.concurrent.Timeout>, org.hamcrest.SelfDescribing

    @Deprecated
    public class SoftTimeoutMatcher
    extends org.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
    Deprecated.
    since 7.20 no repalcement
    Matches only the value of timeouts by converting them to nanoseconds.
    Since:
    7.0.1
    • Constructor Detail

      • SoftTimeoutMatcher

        public SoftTimeoutMatcher​(io.atlassian.util.concurrent.Timeout expected)
        Deprecated.
    • Method Detail

      • describeMismatchSafely

        protected void describeMismatchSafely​(io.atlassian.util.concurrent.Timeout actual,
                                              org.hamcrest.Description description)
        Deprecated.
        Overrides:
        describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
      • matchesSafely

        protected boolean matchesSafely​(io.atlassian.util.concurrent.Timeout actual)
        Deprecated.
        Specified by:
        matchesSafely in class org.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)
        Deprecated.