Class TestOutcomeResultsMatcher

java.lang.Object
org.hamcrest.BaseMatcher<TestOutcome>
org.hamcrest.TypeSafeMatcher<TestOutcome>
net.thucydides.model.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
     

    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

      public TestOutcomeResultsMatcher(TestResult... expectedTestResults)
  • Method Details

    • matchesSafely

      public boolean matchesSafely(TestOutcome testOutcome)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<TestOutcome>
    • describeTo

      public void describeTo(org.hamcrest.Description description)