Class SoftTimeoutMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
-
- com.atlassian.confluence.util.test.matchers.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 repalcementMatches only the value of timeouts by converting them to nanoseconds.- Since:
- 7.0.1
-
-
Constructor Summary
Constructors Constructor Description SoftTimeoutMatcher(io.atlassian.util.concurrent.Timeout expected)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
describeMismatchSafely(io.atlassian.util.concurrent.Timeout actual, org.hamcrest.Description description)
Deprecated.void
describeTo(org.hamcrest.Description description)
Deprecated.protected boolean
matchesSafely(io.atlassian.util.concurrent.Timeout actual)
Deprecated.
-
-
-
Method Detail
-
describeMismatchSafely
protected void describeMismatchSafely(io.atlassian.util.concurrent.Timeout actual, org.hamcrest.Description description)
Deprecated.- Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
-
matchesSafely
protected boolean matchesSafely(io.atlassian.util.concurrent.Timeout actual)
Deprecated.- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<io.atlassian.util.concurrent.Timeout>
-
describeTo
public void describeTo(org.hamcrest.Description description)
Deprecated.
-
-