Lines Matching refs:test4
259 UnicodeString test4("never say, \"this is a test\"!!"); in TestCompare() local
269 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
273 if (test1 > test2 || test1 < test2 || !(test1 < test3) || !(test1 > test4) || in TestCompare()
280 if (!(test1 >= test2) || !(test1 <= test2) || !(test1 <= test3) || !(test1 >= test4)) in TestCompare()
284 if (test1.compare(test2) != 0 || test1.compare(test3) >= 0 || test1.compare(test4) <= 0) in TestCompare()
290 test4.compare(12, 14, test2) != 0 || in TestCompare()
295 … if (test2.compare(uniChars) != 0 || test3.compare(uniChars) <= 0 || test4.compare(uniChars) >= 0) in TestCompare()
299 if (test2.compare(chars) != 0 || test3.compare(chars) <= 0 || test4.compare(chars) >= 0) in TestCompare()
309 || test1.compare(0, 14, test4, 12, 14) != 0) in TestCompare()
314 || test1.compare(10, 4, test4, 22, 4) != 0) in TestCompare()
319 || test1.compareBetween(0, 14, test4, 12, 26) != 0) in TestCompare()
323 || test1.compareBetween(10, 14, test4, 22, 26) != 0) in TestCompare()
459 char test4[13] = {1, 2, 3, 4, 5, 6, 7, 8, 8, 10, 11, 12, 13}; in TestExtract() local
465 if (test1.extract(11, 12, test4) != 12 || test4[12] != 0) { in TestExtract()
484 UnicodeString test4b(test4, 12); in TestExtract()
517 test4[2] = (char)0xff; in TestExtract()
518 if (test1.extract(0, 10, test4, 2, "") != 10) { in TestExtract()
521 if (test4[2] != (char)0xff) { in TestExtract()
647 char test4[] = "SPAM"; in TestRemoveReplace() local
654 test1.replace(23, 4, test4); in TestRemoveReplace()
705 UnicodeString test4(testChar32); in TestSearching() local
736 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
743 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
867 UnicodeString test4; in TestSpacePadding() local
887 test4.setTo(test1).trim(); in TestSpacePadding()
889 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
928 UnicodeString test4("count"); in TestPrefixAndSuffix() local
959 if (!test3.startsWith(test4)) { in TestPrefixAndSuffix()
960 errln("endsWith(test4) failed: \"" + test4 + "\" should be a prefix of \"" + test3 + "\"."); in TestPrefixAndSuffix()
963 if (test4.startsWith(test3)) { in TestPrefixAndSuffix()
964 … errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\"."); in TestPrefixAndSuffix()
1613 test4((const UChar *)NULL), in TestBogus() local
1617 if(test4.isBogus() || test5.isBogus() || test6.isBogus() || test7.isBogus()) { in TestBogus()
1621 test4.setTo(NULL, 3); in TestBogus()
1624 if(test4.isBogus() || test5.isBogus() || test6.isBogus()) { in TestBogus()