Lines Matching full:startswith
931 if (!test1.startsWith(test2) || !test1.startsWith(test2, 0, test2.length())) {
932 errln("startsWith() failed: \"" + test2 + "\" should be a prefix of \"" + test1 + "\".");
935 if (test1.startsWith(test3) ||
936 test1.startsWith(test3.getBuffer(), test3.length()) ||
937 test1.startsWith(test3.getTerminatedBuffer(), 0, -1)
939 errln("startsWith() failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test1 + "\".");
960 if (!test3.startsWith(test4)) {
964 if (test4.startsWith(test3)) {
965 errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\".");