|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<String>
org.hamcrest.text.SubstringMatcher
org.hamcrest.text.StringEndsWith
public class StringEndsWith
Tests if the argument is a string that contains a substring.
| Field Summary |
|---|
| Fields inherited from class org.hamcrest.text.SubstringMatcher |
|---|
substring |
| Constructor Summary | |
|---|---|
StringEndsWith(String substring)
|
|
| Method Summary | |
|---|---|
static Matcher<String> |
endsWith(String substring)
|
protected boolean |
evalSubstringOf(String s)
|
protected String |
relationship()
|
| Methods inherited from class org.hamcrest.text.SubstringMatcher |
|---|
describeTo, matchesSafely |
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
|---|
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 |
|---|
public StringEndsWith(String substring)
| Method Detail |
|---|
protected boolean evalSubstringOf(String s)
evalSubstringOf in class SubstringMatcherprotected String relationship()
relationship in class SubstringMatcherpublic static Matcher<String> endsWith(String substring)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||