|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hamcrest.BaseMatcher<T> org.junit.internal.matchers.TypeSafeMatcher<String> org.junit.internal.matchers.SubstringMatcher org.junit.internal.matchers.StringContains
public class StringContains
Tests if the argument is a string that contains a substring.
Constructor Summary | |
---|---|
StringContains(String substring)
|
Method Summary | |
---|---|
static Matcher<String> |
containsString(String substring)
|
Methods inherited from class org.junit.internal.matchers.SubstringMatcher |
---|
describeTo, matchesSafely |
Methods inherited from class org.junit.internal.matchers.TypeSafeMatcher |
---|
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringContains(String substring)
Method Detail |
---|
public static Matcher<String> containsString(String substring)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |