Home | History | Annotate | Download | only in intltest

Lines Matching refs:bogus

1395     /* test hasMoreChar32Than() with a bogus string */
1418 // use other illegal arguments to make a bogus string
1421 errln("A bogus string returned FALSE for isBogus()!");
1427 errln("bogus.getBuffer()!=0");
1430 errln("bogus.indexOf() != -1");
1433 errln("bogus.lastIndexOf() != -1");
1436 errln("caseCompare() doesn't work with bogus strings");
1439 errln("compareCodePointOrder() doesn't work with bogus strings");
1442 // verify that non-assignment modifications fail and do not revive a bogus string
1446 errln("bogus.append('a') worked but must not");
1452 errln("bogus.findAndReplace() worked but must not");
1458 errln("bogus.trim() revived bogus but must not");
1464 errln("bogus.remove(1) revived bogus but must not");
1469 errln("bogus.setCharAt(0, 'b') worked but must not");
1474 errln("bogus.truncate(1) revived bogus but must not");
1477 // verify that assignments revive a bogus string
1480 errln("bogus.operator=() failed");
1485 errln("bogus.fastCopyFrom() failed");
1490 errln("bogus.setTo(UniStr) failed");
1495 errln("bogus.setTo(UniStr, 0) failed");
1500 errln("bogus.setTo(UniStr, 0, len) failed");
1505 errln("bogus.setTo(const UChar *, len) failed");
1510 errln("bogus.setTo(UChar) failed");
1515 errln("bogus.setTo(UChar32) failed");
1520 errln("bogus.setTo(readonly alias) failed");
1526 errln("bogus.setTo(writable alias) failed");
1529 // verify simple, documented ways to turn a bogus string into an empty one
1532 errln("bogus.operator=(UnicodeString()) failed");
1537 errln("bogus.setTo(UnicodeString()) failed");
1542 errln("bogus.remove() failed");
1547 errln("bogus.remove(0, INT32_MAX) failed");
1552 errln("bogus.truncate(0) failed");
1557 errln("bogus.setTo((UChar32)-1) failed");
1564 errln("bogus.setTo(&nul, 0) failed");
1569 errln("setToBogus() failed to make a string bogus");
1574 errln("normal=bogus failed to make the left string bogus");
1578 // empty strings, not errors (bogus)
1591 errln("a constructor set to bogus for a NULL input string, should be empty");
1598 errln("a setTo() set to bogus for a NULL input string, should be empty");
1601 // test that bogus==bogus<any
1603 errln("bogus==bogus failed");
1608 errln("bogus<empty failed");
1760 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1763 namespace bogus {
1782 using namespace bogus;