Home | History | Annotate | Download | only in intltest

Lines Matching defs:bogus

1424     /* test hasMoreChar32Than() with a bogus string */
1447 // use other illegal arguments to make a bogus string
1450 errln("A bogus string returned FALSE for isBogus()!");
1456 errln("bogus.getBuffer()!=0");
1459 errln("bogus.indexOf() != -1");
1462 errln("bogus.lastIndexOf() != -1");
1465 errln("caseCompare() doesn't work with bogus strings");
1468 errln("compareCodePointOrder() doesn't work with bogus strings");
1471 // verify that non-assignment modifications fail and do not revive a bogus string
1475 errln("bogus.append('a') worked but must not");
1481 errln("bogus.findAndReplace() worked but must not");
1487 errln("bogus.trim() revived bogus but must not");
1493 errln("bogus.remove(1) revived bogus but must not");
1498 errln("bogus.setCharAt(0, 'b') worked but must not");
1503 errln("bogus.truncate(1) revived bogus but must not");
1506 // verify that assignments revive a bogus string
1509 errln("bogus.operator=() failed");
1514 errln("bogus.fastCopyFrom() failed");
1519 errln("bogus.setTo(UniStr) failed");
1524 errln("bogus.setTo(UniStr, 0) failed");
1529 errln("bogus.setTo(UniStr, 0, len) failed");
1534 errln("bogus.setTo(const UChar *, len) failed");
1539 errln("bogus.setTo(UChar) failed");
1544 errln("bogus.setTo(UChar32) failed");
1549 errln("bogus.setTo(readonly alias) failed");
1555 errln("bogus.setTo(writable alias) failed");
1558 // verify simple, documented ways to turn a bogus string into an empty one
1561 errln("bogus.operator=(UnicodeString()) failed");
1566 errln("bogus.setTo(UnicodeString()) failed");
1571 errln("bogus.remove() failed");
1576 errln("bogus.remove(0, INT32_MAX) failed");
1581 errln("bogus.truncate(0) failed");
1586 errln("bogus.setTo((UChar32)-1) failed");
1593 errln("bogus.setTo(&nul, 0) failed");
1598 errln("setToBogus() failed to make a string bogus");
1603 errln("normal=bogus failed to make the left string bogus");
1607 // empty strings, not errors (bogus)
1620 errln("a constructor set to bogus for a NULL input string, should be empty");
1627 errln("a setTo() set to bogus for a NULL input string, should be empty");
1630 // test that bogus==bogus<any
1632 errln("bogus==bogus failed");
1637 errln("bogus<empty failed");
1779 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1781 namespace bogus {
1798 using namespace bogus;