net.thucydides.core.matchers
Class TestOutcomeResultsMatcher

Package class diagram package TestOutcomeResultsMatcher
java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<TestOutcome>
          extended by 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
TestOutcomeResultsMatcher(TestResult... expectedTestResults)
           
 
Method Summary
 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_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOutcomeResultsMatcher

public TestOutcomeResultsMatcher(TestResult... expectedTestResults)
Method Detail

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.