public class StringContainsInOrder extends TypeSafeMatcher<String>
Constructor and Description |
---|
StringContainsInOrder(Iterable<String> substrings) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(String item,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matchesSafely(String s)
Subclasses should implement this.
|
static Matcher<String> |
stringContainsInOrder(Iterable<String> substrings) |
describeMismatch, matches
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public boolean matchesSafely(String s)
TypeSafeMatcher
matchesSafely
in class TypeSafeMatcher<String>
public void describeMismatchSafely(String item, Description mismatchDescription)
TypeSafeMatcher
describeMismatchSafely
in class TypeSafeMatcher<String>
public void describeTo(Description description)
SelfDescribing
description
- The description to be built or appended to.Copyright © 2016. All rights reserved.