• Home
  • Raw
  • Download

Lines Matching refs:test4

271     UnicodeString   test4("never say, \"this is a test\"!!");  in TestCompare()  local
281 if (test1 != test2 || test1 == test3 || test1 == test4) in TestCompare()
285 if (test1 > test2 || test1 < test2 || !(test1 < test3) || !(test1 > test4) || in TestCompare()
292 if (!(test1 >= test2) || !(test1 <= test2) || !(test1 <= test3) || !(test1 >= test4)) in TestCompare()
296 if (test1.compare(test2) != 0 || test1.compare(test3) >= 0 || test1.compare(test4) <= 0) in TestCompare()
302 test4.compare(12, 14, test2) != 0 || in TestCompare()
307 … if (test2.compare(uniChars) != 0 || test3.compare(uniChars) <= 0 || test4.compare(uniChars) >= 0) in TestCompare()
311 if (test2.compare(chars) != 0 || test3.compare(chars) <= 0 || test4.compare(chars) >= 0) in TestCompare()
321 || test1.compare(0, 14, test4, 12, 14) != 0) in TestCompare()
326 || test1.compare(10, 4, test4, 22, 4) != 0) in TestCompare()
331 || test1.compareBetween(0, 14, test4, 12, 26) != 0) in TestCompare()
335 || test1.compareBetween(10, 14, test4, 22, 26) != 0) in TestCompare()
471 char test4[13] = {1, 2, 3, 4, 5, 6, 7, 8, 8, 10, 11, 12, 13}; in TestExtract() local
477 if (test1.extract(11, 12, test4) != 12 || test4[12] != 0) { in TestExtract()
496 UnicodeString test4b(test4, 12); in TestExtract()
529 test4[2] = (char)0xff; in TestExtract()
530 if (test1.extract(0, 10, test4, 2, "") != 10) { in TestExtract()
533 if (test4[2] != (char)0xff) { in TestExtract()
659 char test4[] = "SPAM"; in TestRemoveReplace() local
666 test1.replace(23, 4, test4); in TestRemoveReplace()
717 UnicodeString test4(testChar32); in TestSearching() local
748 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
755 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
879 UnicodeString test4; in TestSpacePadding() local
899 test4.setTo(test1).trim(); in TestSpacePadding()
901 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
940 UnicodeString test4("count"); in TestPrefixAndSuffix() local
971 if (!test3.startsWith(test4)) { in TestPrefixAndSuffix()
972 errln("endsWith(test4) failed: \"" + test4 + "\" should be a prefix of \"" + test3 + "\"."); in TestPrefixAndSuffix()
975 if (test4.startsWith(test3)) { in TestPrefixAndSuffix()
976 … errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\"."); in TestPrefixAndSuffix()
1632 test4((const UChar *)NULL), in TestBogus() local
1636 if(test4.isBogus() || test5.isBogus() || test6.isBogus() || test7.isBogus()) { in TestBogus()
1640 test4.setTo(NULL, 3); in TestBogus()
1643 if(test4.isBogus() || test5.isBogus() || test6.isBogus()) { in TestBogus()