• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ICU-531.30/icuSources/test/intltest/

Lines Matching refs:bogus

1432     /* test hasMoreChar32Than() with a bogus string */
1455 // use other illegal arguments to make a bogus string
1458 errln("A bogus string returned FALSE for isBogus()!");
1464 errln("bogus.getBuffer()!=0");
1467 errln("bogus.indexOf() != -1");
1470 errln("bogus.lastIndexOf() != -1");
1473 errln("caseCompare() doesn't work with bogus strings");
1476 errln("compareCodePointOrder() doesn't work with bogus strings");
1479 // verify that non-assignment modifications fail and do not revive a bogus string
1483 errln("bogus.append('a') worked but must not");
1489 errln("bogus.findAndReplace() worked but must not");
1495 errln("bogus.trim() revived bogus but must not");
1501 errln("bogus.remove(1) revived bogus but must not");
1506 errln("bogus.setCharAt(0, 'b') worked but must not");
1511 errln("bogus.truncate(1) revived bogus but must not");
1514 // verify that assignments revive a bogus string
1517 errln("bogus.operator=() failed");
1522 errln("bogus.fastCopyFrom() failed");
1527 errln("bogus.setTo(UniStr) failed");
1532 errln("bogus.setTo(UniStr, 0) failed");
1537 errln("bogus.setTo(UniStr, 0, len) failed");
1542 errln("bogus.setTo(const UChar *, len) failed");
1547 errln("bogus.setTo(UChar) failed");
1552 errln("bogus.setTo(UChar32) failed");
1557 errln("bogus.setTo(readonly alias) failed");
1563 errln("bogus.setTo(writable alias) failed");
1566 // verify simple, documented ways to turn a bogus string into an empty one
1569 errln("bogus.operator=(UnicodeString()) failed");
1574 errln("bogus.setTo(UnicodeString()) failed");
1579 errln("bogus.remove() failed");
1584 errln("bogus.remove(0, INT32_MAX) failed");
1589 errln("bogus.truncate(0) failed");
1594 errln("bogus.setTo((UChar32)-1) failed");
1601 errln("bogus.setTo(&nul, 0) failed");
1606 errln("setToBogus() failed to make a string bogus");
1611 errln("normal=bogus failed to make the left string bogus");
1615 // empty strings, not errors (bogus)
1628 errln("a constructor set to bogus for a NULL input string, should be empty");
1635 errln("a setTo() set to bogus for a NULL input string, should be empty");
1638 // test that bogus==bogus<any
1640 errln("bogus==bogus failed");
1645 errln("bogus<empty failed");
1787 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1789 namespace bogus {
1806 using namespace bogus;