Lines Matching full:bogus
1430 /* test hasMoreChar32Than() with a bogus string */
1453 // use other illegal arguments to make a bogus string
1456 errln("A bogus string returned FALSE for isBogus()!");
1462 errln("bogus.getBuffer()!=0");
1465 errln("bogus.indexOf() != -1");
1468 errln("bogus.lastIndexOf() != -1");
1471 errln("caseCompare() doesn't work with bogus strings");
1474 errln("compareCodePointOrder() doesn't work with bogus strings");
1477 // verify that non-assignment modifications fail and do not revive a bogus string
1481 errln("bogus.append('a') worked but must not");
1487 errln("bogus.findAndReplace() worked but must not");
1493 errln("bogus.trim() revived bogus but must not");
1499 errln("bogus.remove(1) revived bogus but must not");
1504 errln("bogus.setCharAt(0, 'b') worked but must not");
1509 errln("bogus.truncate(1) revived bogus but must not");
1512 // verify that assignments revive a bogus string
1515 errln("bogus.operator=() failed");
1520 errln("bogus.fastCopyFrom() failed");
1525 errln("bogus.setTo(UniStr) failed");
1530 errln("bogus.setTo(UniStr, 0) failed");
1535 errln("bogus.setTo(UniStr, 0, len) failed");
1540 errln("bogus.setTo(const UChar *, len) failed");
1545 errln("bogus.setTo(UChar) failed");
1550 errln("bogus.setTo(UChar32) failed");
1555 errln("bogus.setTo(readonly alias) failed");
1561 errln("bogus.setTo(writable alias) failed");
1564 // verify simple, documented ways to turn a bogus string into an empty one
1567 errln("bogus.operator=(UnicodeString()) failed");
1572 errln("bogus.setTo(UnicodeString()) failed");
1577 errln("bogus.remove() failed");
1582 errln("bogus.remove(0, INT32_MAX) failed");
1587 errln("bogus.truncate(0) failed");
1592 errln("bogus.setTo((UChar32)-1) failed");
1599 errln("bogus.setTo(&nul, 0) failed");
1604 errln("setToBogus() failed to make a string bogus");
1609 errln("normal=bogus failed to make the left string bogus");
1613 // empty strings, not errors (bogus)
1626 errln("a constructor set to bogus for a NULL input string, should be empty");
1633 errln("a setTo() set to bogus for a NULL input string, should be empty");
1636 // test that bogus==bogus<any
1638 errln("bogus==bogus failed");
1643 errln("bogus<empty failed");
1785 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1787 namespace bogus {
1804 using namespace bogus;