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?
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
TestOutcomeResultsMatcher
public TestOutcomeResultsMatcher(TestResult... expectedTestResults)
matchesSafely
public boolean matchesSafely(TestOutcome testOutcome)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<TestOutcome>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.