Lines Matching refs:expRes
327 String str2, int p2, int len2, int expRes) { in testSubstring() argument
338 if (res != expRes) { in testSubstring()
340 expRes + " "); in testSubstring()
355 if (res != -expRes) { in testSubstring()
357 -expRes + " "); in testSubstring()
407 protected boolean testString(String str1, String str2, int expRes) { in testString() argument
408 if (expRes == 0) return testString(str1, str2, expRes, false) ; in testString()
409 return testString(str1, str2, expRes, true) ; in testString()
412 private boolean testString(String str1, String str2, int expRes, in testString() argument
424 if (res == expRes) { in testString()
428 "' FAILED; return: " + res + ", expected: " + expRes); in testString()
441 if (res == -expRes) { in testString()
445 "' FAILED; return: " + res + ", expected: " + -expRes); in testString()