Package net.thucydides.core.matchers
Class TestOutcomeResultsMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<TestOutcome>
net.thucydides.core.matchers.TestOutcomeResultsMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<TestOutcome>
,org.hamcrest.SelfDescribing
public class TestOutcomeResultsMatcher extends org.hamcrest.TypeSafeMatcher<TestOutcome>
Does a test outcome contain a given list of results, in the specified order?
-
Constructor Summary
Constructors Constructor Description TestOutcomeResultsMatcher(TestResult... expectedTestResults)
-
Method Summary
Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matchesSafely(TestOutcome testOutcome)
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, 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
-
TestOutcomeResultsMatcher
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<TestOutcome>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-