Lines Matching refs:str2
371 String str2, int p2, int len2, int expRes) { in testSubstring() argument
377 res = oObj.compareSubstring(str1, p1, len1, str2, p2, len2); in testSubstring()
390 str2 + "', " + p2 + ", " + len2 + ")"); in testSubstring()
394 res = oObj.compareSubstring(str2, p2, len2, str1, p1, len1); in testSubstring()
406 System.out.println("('" + str2 + "', " + p2 + ", " + len2 + ", '" + in testSubstring()
452 protected boolean testString(String str1, String str2, int expRes) { in testString() argument
453 if (expRes == 0) return testString(str1, str2, expRes, false) ; in testString()
454 return testString(str1, str2, expRes, true) ; in testString()
457 private boolean testString(String str1, String str2, int expRes, in testString() argument
464 res = oObj.compareString(str1, str2); in testString()
470 System.out.println("Comparing of '" + str1 + "' and '" + str2 + "' OK" ); in testString()
472 System.out.println("Comparing of '" + str1 + "' and '" + str2 + in testString()
481 res = oObj.compareString(str2, str1); in testString()
487 System.out.println("Comparing of '" + str2 + "' and '" + str1 + "' OK" ); in testString()
489 System.out.println("Comparing of '" + str2 + "' and '" + str1 + in testString()