Home | History | Annotate | Download | only in intltest

Lines Matching refs:test4

269     UnicodeString   test4("never say, \"this is a test\"!!");
279 if (test1 != test2 || test1 == test3 || test1 == test4)
283 if (test1 > test2 || test1 < test2 || !(test1 < test3) || !(test1 > test4) ||
290 if (!(test1 >= test2) || !(test1 <= test2) || !(test1 <= test3) || !(test1 >= test4))
294 if (test1.compare(test2) != 0 || test1.compare(test3) >= 0 || test1.compare(test4) <= 0)
300 test4.compare(12, 14, test2) != 0 ||
305 if (test2.compare(uniChars) != 0 || test3.compare(uniChars) <= 0 || test4.compare(uniChars) >= 0)
309 if (test2.compare(chars) != 0 || test3.compare(chars) <= 0 || test4.compare(chars) >= 0)
319 || test1.compare(0, 14, test4, 12, 14) != 0)
324 || test1.compare(10, 4, test4, 22, 4) != 0)
329 || test1.compareBetween(0, 14, test4, 12, 26) != 0)
333 || test1.compareBetween(10, 14, test4, 22, 26) != 0)
469 char test4[13] = {1, 2, 3, 4, 5, 6, 7, 8, 8, 10, 11, 12, 13};
475 if (test1.extract(11, 12, test4) != 12 || test4[12] != 0) {
493 // convert test4 back to Unicode for comparison
494 UnicodeString test4b(test4, 12);
527 test4[2] = (char)0xff;
528 if (test1.extract(0, 10, test4, 2, "") != 10) {
529 errln("UnicodeString.extract(0, 10, test4, 2, \"\") != 10");
531 if (test4[2] != (char)0xff) {
532 errln("UnicodeString.extract(0, 10, test4, 2, \"\") overwrote test4[2]");
657 char test4[] = "SPAM";
664 test1.replace(23, 4, test4);
715 UnicodeString test4(testChar32);
746 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0)
753 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0)
877 UnicodeString test4;
897 test4.setTo(test1).trim();
899 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue)
938 UnicodeString test4("count");
969 if (!test3.startsWith(test4)) {
970 errln("endsWith(test4) failed: \"" + test4 + "\" should be a prefix of \"" + test3 + "\".");
973 if (test4.startsWith(test3)) {
974 errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\".");
1623 test4((const UChar *)NULL),
1627 if(test4.isBogus() || test5.isBogus() || test6.isBogus() || test7.isBogus()) {
1631 test4.setTo(NULL, 3);
1634 if(test4.isBogus() || test5.isBogus() || test6.isBogus()) {