Home | History | Annotate | Download | only in intltest

Lines Matching refs:bogus

1378     /* test hasMoreChar32Than() with a bogus string */
1401 // use other illegal arguments to make a bogus string
1404 errln("A bogus string returned FALSE for isBogus()!");
1410 errln("bogus.getBuffer()!=0");
1413 errln("bogus.indexOf() != -1");
1416 errln("bogus.lastIndexOf() != -1");
1419 errln("caseCompare() doesn't work with bogus strings");
1422 errln("compareCodePointOrder() doesn't work with bogus strings");
1425 // verify that non-assignment modifications fail and do not revive a bogus string
1429 errln("bogus.append('a') worked but must not");
1435 errln("bogus.findAndReplace() worked but must not");
1441 errln("bogus.trim() revived bogus but must not");
1447 errln("bogus.remove(1) revived bogus but must not");
1452 errln("bogus.setCharAt(0, 'b') worked but must not");
1457 errln("bogus.truncate(1) revived bogus but must not");
1460 // verify that assignments revive a bogus string
1463 errln("bogus.operator=() failed");
1468 errln("bogus.fastCopyFrom() failed");
1473 errln("bogus.setTo(UniStr) failed");
1478 errln("bogus.setTo(UniStr, 0) failed");
1483 errln("bogus.setTo(UniStr, 0, len) failed");
1488 errln("bogus.setTo(const UChar *, len) failed");
1493 errln("bogus.setTo(UChar) failed");
1498 errln("bogus.setTo(UChar32) failed");
1503 errln("bogus.setTo(readonly alias) failed");
1509 errln("bogus.setTo(writable alias) failed");
1512 // verify simple, documented ways to turn a bogus string into an empty one
1515 errln("bogus.operator=(UnicodeString()) failed");
1520 errln("bogus.setTo(UnicodeString()) failed");
1525 errln("bogus.remove() failed");
1530 errln("bogus.remove(0, INT32_MAX) failed");
1535 errln("bogus.truncate(0) failed");
1540 errln("bogus.setTo((UChar32)-1) failed");
1547 errln("bogus.setTo(&nul, 0) failed");
1552 errln("setToBogus() failed to make a string bogus");
1557 errln("normal=bogus failed to make the left string bogus");
1561 // empty strings, not errors (bogus)
1574 errln("a constructor set to bogus for a NULL input string, should be empty");
1581 errln("a setTo() set to bogus for a NULL input string, should be empty");
1584 // test that bogus==bogus<any
1586 errln("bogus==bogus failed");
1591 errln("bogus<empty failed");
1743 * Define a (bogus) UnicodeString class in another namespace and check for ambiguity.
1746 namespace bogus {
1765 using namespace bogus;