Lines Matching refs:bogus

1417     /* test hasMoreChar32Than() with a bogus string */
1440 // use other illegal arguments to make a bogus string
1443 errln("A bogus string returned FALSE for isBogus()!");
1449 errln("bogus.getBuffer()!=0");
1452 errln("bogus.indexOf() != -1");
1455 errln("bogus.lastIndexOf() != -1");
1458 errln("caseCompare() doesn't work with bogus strings");
1461 errln("compareCodePointOrder() doesn't work with bogus strings");
1464 // verify that non-assignment modifications fail and do not revive a bogus string
1468 errln("bogus.append('a') worked but must not");
1474 errln("bogus.findAndReplace() worked but must not");
1480 errln("bogus.trim() revived bogus but must not");
1486 errln("bogus.remove(1) revived bogus but must not");
1491 errln("bogus.setCharAt(0, 'b') worked but must not");
1496 errln("bogus.truncate(1) revived bogus but must not");
1499 // verify that assignments revive a bogus string
1502 errln("bogus.operator=() failed");
1507 errln("bogus.fastCopyFrom() failed");
1512 errln("bogus.setTo(UniStr) failed");
1517 errln("bogus.setTo(UniStr, 0) failed");
1522 errln("bogus.setTo(UniStr, 0, len) failed");
1527 errln("bogus.setTo(const UChar *, len) failed");
1532 errln("bogus.setTo(UChar) failed");
1537 errln("bogus.setTo(UChar32) failed");
1542 errln("bogus.setTo(readonly alias) failed");
1548 errln("bogus.setTo(writable alias) failed");
1551 // verify simple, documented ways to turn a bogus string into an empty one
1554 errln("bogus.operator=(UnicodeString()) failed");
1559 errln("bogus.setTo(UnicodeString()) failed");
1564 errln("bogus.remove() failed");
1569 errln("bogus.remove(0, INT32_MAX) failed");
1574 errln("bogus.truncate(0) failed");
1579 errln("bogus.setTo((UChar32)-1) failed");
1586 errln("bogus.setTo(&nul, 0) failed");
1591 errln("setToBogus() failed to make a string bogus");
1596 errln("normal=bogus failed to make the left string bogus");
1600 // empty strings, not errors (bogus)
1613 errln("a constructor set to bogus for a NULL input string, should be empty");
1620 errln("a setTo() set to bogus for a NULL input string, should be empty");
1623 // test that bogus==bogus<any
1625 errln("bogus==bogus failed");
1630 errln("bogus<empty failed");
1772 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1774 namespace bogus {
1791 using namespace bogus;