Home | History | Annotate | Download | only in core

Lines Matching refs:substring

6  * Tests if the argument is a string that contains a substring.
9 public StringContains(boolean ignoringCase, String substring) {
10 super("containing", ignoringCase, substring);
15 return converted(s).contains(converted(substring));
24 * @param substring
25 * the substring that the returned matcher will expect to find within any examined string
28 public static Matcher<String> containsString(String substring) {
29 return new StringContains(false, substring);
38 * @param substring
39 * the substring that the returned matcher will expect to find within any examined string
42 public static Matcher<String> containsStringIgnoringCase(String substring) {
43 return new StringContains(true, substring);