Lines Matching full:errln
81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
85 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
97 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
106 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
111 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
114 errln("length() failed: expected 70, got " + test1.length());
116 errln("length() failed: expected 30, got " + test2.length());
121 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3));
124 errln("append or length failed for UChar32, expected 2, got " + test3.length());
128 errln((UnicodeString)"append failed for UChar32, expected \"\\\\uD841\\\\uDC02t\", got " + prettify(test3));
131 errln((UnicodeString)"append or length failed for UChar32, expected 2, got " + test3.length());
140 errln((UnicodeString)"simple UChar32 overloads for replace, insert, setTo or = failed");
155 errln("UnicodeString::moveIndex32() failed");
159 errln("UnicodeString::getChar32Start() failed");
163 errln("UnicodeString::getChar32Limit() failed");
172 errln("UnicodeString(const UnicodeString&, int32_t) failed");
176 errln("UnicodeString(const UnicodeString&, int32_t, int32_t) failed");
179 errln("UnicodeString::setTo(const UnicodeString&, int32_t) failed");
187 errln("operator+(UniStr, UniStr) failed");
196 errln("UnicodeString(codepageData, dataLength, codepage) does not work with dataLength==-1");
203 errln("UnicodeString.setTo(buffer, length, capacity) does not work with length==-1");
206 errln("UnicodeString(buffer, length, capacity) does not work with length==-1");
210 errln("UnicodeString.caseCompare(const UChar *, length, options) does not work with length==-1");
213 errln("UnicodeString.caseCompare(start, _length, const UChar *, options) does not work");
219 errln("UnicodeString.setTo(buffer without NUL, length, capacity) does not work with length==-1");
222 errln("UnicodeString(buffer without NUL, length, capacity) does not work with length==-1");
233 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1");
246 errln("UnicodeString(const char * U_CHARSET_IS_UTF8) failed");
251 errln("UnicodeString::extract(char * U_CHARSET_IS_UTF8) failed");
255 errln("UnicodeString::extract(substring to char * U_CHARSET_IS_UTF8) failed");
278 errln("operator== or operator!= failed");
284 errln("operator> or operator< failed");
289 errln("operator>= or operator<= failed");
293 errln("compare(UnicodeString) failed");
300 errln("compare(offset, length, UnicodeString) failes");
304 errln("compare(UChar*) failed");
308 errln("compare(char*) failed");
312 errln("compare(UChar*, length) failed");
318 errln("1. compare(thisOffset, thisLength, that, thatOffset, thatLength) failed");
323 errln("2. compare(thisOffset, thisLength, that, thatOffset, thatLength) failed");
328 errln("compareBetween failed");
332 errln("compareBetween failed");
345 errln("UnicodeStrings that share a buffer but have different lengths compare as equal");
372 errln("error: UnicodeString::compareCodePointOrder() fails for string %d and the following one\n", i);
396 errln("error: mixed.caseCompare(other, default)=%ld instead of 0\n", result);
400 errln("error: mixed.caseCompare(otherExcludeSpecialI, U_FOLD_CASE_EXCLUDE_SPECIAL_I)=%ld instead of 0\n", result);
404 errln("error: mixed.caseCompare(other, U_FOLD_CASE_EXCLUDE_SPECIAL_I)=0 instead of !=0\n");
410 errln("error: mixed.caseCompare(different, default)=%ld instead of positive\n", result);
416 errln("error: mixed.caseCompare(mixed, 1, 4, different, 1, 5, default)=%ld instead of 0\n", result);
422 errln("error: mixed.caseCompare(1, 4, different, 1, 4, default)=%ld instead of positive\n", result);
433 errln("error UnicodeString::compare(..., const UChar *, srcLength=-1) does not work");
437 errln("error UnicodeString::compareCodePointOrder(..., const UChar *, srcLength=-1, ...) does not work");
441 errln("error UnicodeString::caseCompare(..., const UChar *, srcLength=-1, ...) does not work");
445 errln("error UnicodeString::indexOf(const UChar *, srcLength=-1, ...) does not work");
449 errln("error UnicodeString::lastIndexOf(const UChar *, srcLength=-1, ...) does not work");
456 errln("error UnicodeString::replace(..., const UChar *, srcLength=-1, ...) does not work");
474 errln("UnicodeString.extract(char *) failed to return the correct size of destination buffer.");
480 errln("UnicodeString.extractBetween(-3, 7) did not pin properly.");
485 errln("UnicodeString.extract() failed to return the correct size of destination buffer for end of buffer.");
488 errln("UnicodeString.extract() failed to return the correct size of destination buffer.");
495 errln("UnicodeString.extract(NULL) failed to return the correct size of destination buffer.");
498 errln("UnicodeString.extract(-1) failed to stop reading the string.");
503 errln(UnicodeString("extracting into a UnicodeString failed at position ") + i);
507 errln(UnicodeString("extracting into an array of UChar failed at position ") + i);
511 errln(UnicodeString("extracting into an array of char failed at position ") + i);
515 errln(UnicodeString("extracting with extractBetween failed at position ") + i);
522 errln("UnicodeString.extract(0, 10, (char *)NULL, \"\") != 10");
527 errln("UnicodeString.extract(0, 10, test4, 2, \"\") != 10");
530 errln("UnicodeString.extract(0, 10, test4, 2, \"\") overwrote test4[2]");
546 errln("UnicodeString.extract(NULL, 0)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", length, s.length(), u_errorName(errorCode));
552 errln("UnicodeString.extract(dest too short)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)",
559 errln("UnicodeString.extract(dest just right without NUL)==%d (%s) expected %d (U_STRING_NOT_TERMINATED_WARNING)",
563 errln("UnicodeString.extract(dest just right without NUL) did not extract the string correctly");
569 errln("UnicodeString.extract(dest large enough)==%d (%s) expected %d (U_ZERO_ERROR)",
573 errln("UnicodeString.extract(dest large enough) did not extract the string correctly");
596 errln("UnicodeString::extract(NULL, UConverter) preflighting failed (length=%ld, %s)",
603 errln("UnicodeString::extract(too small, UConverter) preflighting failed (length=%ld, %s)",
610 errln("UnicodeString::extract(UConverter) succeeded with an illegal destination");
614 errln("UnicodeString::extract(UConverter) succeeded with a previous error code");
624 errln("UnicodeString::extract(UConverter) conversion failed (length=%ld, %s)",
633 errln("UnicodeString::extract(\"UTF-8\") conversion failed (length=%ld, %s)",
640 errln("UnicodeString(UConverter) conversion failed (%s)",
666 errln("One of the replace methods failed:\n"
674 errln("One of the remove methods failed:\n"
685 errln("One of the remove methods failed:\n"
691 errln("Remove() failed: expected empty string, got \"" + test1 + "\"");
722 errln("indexOf failed: expected to find 6 occurrences, found " + occurrences);
729 errln("indexOf with starting offset failed: expected to find 4 occurrences, found " + occurrences);
737 errln("indexOf with starting and ending offsets failed: expected to find 4 occurrences, found " + occurrences);
745 errln((UnicodeString)"indexOf failed: expected to find 4 occurrences, found " + occurrences);
752 errln("indexOf failed: expected to find 2 occurrences, found " + occurrences);
760 errln("indexOf with character failed: expected to find 16 occurrences, found " + occurrences);
767 errln("indexOf with character & start offset failed: expected to find 12 occurrences, found " + occurrences);
774 errln("indexOf with character & start & end offsets failed: expected to find 10 occurrences, found " + occurrences);
786 errln((UnicodeString)"indexOf failed: expected to find 14 occurrences, found " + occurrences);
793 errln((UnicodeString)"indexOf failed: expected to find 4 occurrences, found " + occurrences);
801 errln((UnicodeString)"indexOf with character & start & end offsets failed: expected to find 2 occurrences, found " + occurrences);
805 errln("test1.lastIndexOf(test2)!=29");
809 errln("test1.lastIndexOf(test2, start) failed");
817 errln("lastIndexOf with starting and ending offsets failed: expected to find 4 occurrences, found " + occurrences);
824 errln("lastIndexOf with character & start & end offsets failed: expected to find 11 occurrences, found " + occurrences);
833 errln((UnicodeString)"lastIndexOf with character & start & end offsets failed: expected to find 3 occurrences, found " + occurrences);
844 errln((UnicodeString)"indexOf failed: expected to find 18 occurrences, found " + occurrences);
852 errln("error: UnicodeString::indexOf(UChar32 surrogate) finds a partial supplementary code point");
858 errln("error: UnicodeString::lastIndexOf(UChar32 surrogate) finds a partial supplementary code point");
875 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
880 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
885 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
891 errln("trim(UnicodeString&) failed");
895 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
900 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
905 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
910 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
915 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
920 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
932 errln("startsWith() failed: \"" + test2 + "\" should be a prefix of \"" + test1 + "\".");
939 errln("startsWith() failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test1 + "\".");
943 errln("endsWith() failed: \"" + test2 + "\" shouldn't be a suffix of \"" + test1 + "\".");
947 errln("endsWith(test3) failed: \"" + test3 + "\" should be a suffix of \"" + test1 + "\".");
950 errln("endsWith(test3, 0, INT32_MAX) failed: \"" + test3 + "\" should be a suffix of \"" + test1 + "\".");
954 errln("endsWith(test3.getBuffer(), test3.length()) failed: \"" + test3 + "\" should be a suffix of \"" + test1 + "\".");
957 errln("endsWith(test3.getTerminatedBuffer(), 0, -1) failed: \"" + test3 + "\" should be a suffix of \"" + test1 + "\".");
961 errln("endsWith(test4) failed: \"" + test4 + "\" should be a prefix of \"" + test3 + "\".");
965 errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\".");
981 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
985 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
1001 errln("reverse() failed: Expected \"I used to say words backwards\",\n got \""
1007 errln("reverse() failed with supplementary characters");
1022 errln("UnicodeString::getBuffer(20).getCapacity()<20");
1032 errln("UnicodeString::getBuffer(minCapacity) allows read or write access to the UnicodeString");
1042 errln("UnicodeString::releaseBuffer(newLength) does not properly reallow access to the UnicodeString");
1048 errln("UnicodeString::releaseBuffer(newLength) without getBuffer(minCapacity) changed the UnicodeString");
1057 errln("UnicodeString::getBuffer(const) does not return a usable buffer pointer");
1064 errln("UnicodeString::releaseBuffer(-1) does not properly set the length of the UnicodeString");
1074 errln("UnicodeString::releaseBuffer(-1 but no NUL) does not properly set the length of the UnicodeString");
1082 errln("getTerminatedBuffer()[length]!=0");
1089 errln("UnicodeString(u[3]).getTerminatedBuffer() returns a bad buffer");
1098 errln("UnicodeString(u[-1]).getTerminatedBuffer() returns a bad buffer");
1103 errln("UnicodeString(u[-1]).getTerminatedBuffer() returns a bad buffer");
1109 errln("UnicodeString::append(const UChar *, start, length) failed");
1114 errln("UnicodeString::insert(start, const UniStr &, start, length) failed");
1120 errln("UnicodeString::insert(start, const UChar *, length) failed");
1125 errln("UnicodeString::replace(start, length, UChar) failed");
1129 errln("UnicodeString::hasMetaData() returns TRUE");
1143 errln("Test string failed to initialize properly.");
1145 errln("Test string initialization overwrote guard word!");
1150 errln("Manipulation of test string failed to work right.");
1152 errln("Manipulation of test string overwrote guard word!");
1168 errln("Stack-allocated backing store failed to initialize correctly.");
1170 errln("Stack-allocated backing store overwrote guard word!");
1174 errln("insert() on stack-allocated UnicodeString didn't work right");
1176 errln("insert() on stack-allocated UnicodeString overwrote guard word!");
1179 errln("insert() on stack-allocated UnicodeString didn't affect backing store");
1183 errln("Stack-allocated UnicodeString overflow didn't work");
1185 errln("Stack-allocated UnicodeString overflow overwrote guard word!");
1189 errln("Assignment to stack-allocated UnicodeString didn't work");
1191 errln("Change to UnicodeString after overflow are still affecting original buffer");
1193 errln("Change to UnicodeString after overflow overwrote guard word!");
1201 errln("UnicodeString.setTo(readonly alias) does not alias correctly");
1208 errln("UnicodeString.setTo(readonly alias) made a copy: did not see change in buffer");
1212 errln("clone(alias) did not copy the buffer");
1218 errln("UnicodeString.setTo(readonly alias, length -1) does not alias correctly");
1223 errln("UnicodeString.setTo(unterminated readonly alias, length -1) does not result in isBogus()");
1233 errln((UnicodeString)"UnicodeString.setTo(UChar*, length, capacity) does not work correctly\n" + prettify(*test));
1243 errln("The UnicodeString(UChar32) constructor does not work with a 0x10ff2a filler");
1252 errln("The UnicodeString capacity constructor does not work with an ASCII filler");
1260 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler");
1265 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler");
1285 errln("FAIL: " + prettify(IN) + ".unescape() -> " +
1292 errln("FAIL: unescaping of a string with an illegal escape sequence did not return an empty string");
1309 errln("hasMoreChar32Than(%d, %d, %d)=%hd is wrong\n",
1328 errln("UnicodeString::countChar32() failed");
1342 errln("u_countChar32(length=-1) failed");
1347 errln("u_countChar32(bad input) failed (returned non-zero counts)");
1397 errln("A string returned TRUE for isBogus()!");
1404 errln("A bogus string returned FALSE for isBogus()!");
1407 errln("hashCode() failed");
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");
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");
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");
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");
1564 errln("UniStr.insert(...NULL...) should not modify the string but does");
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");
1586 errln("bogus==bogus failed");
1591 errln("bogus<empty failed");
1660 errln("StringEnumeration.next(%d) failed", i);
1665 errln("StringEnumeration.next(done)!=NULL");
1675 errln("StringEnumeration.unext(%d) failed", i);
1680 errln("StringEnumeration.unext(done)!=NULL");
1685 errln("StringEnumeration.clone()!=NULL");
1694 errln("fail at file %s, line %d, UErrorCode is %s\n", __FILE__, __LINE__, u_errorName(status));
1703 errln("File %s, line %d, StringEnumeration.next(%d) failed", __FILE__, __LINE__, i);
1708 errln("File %s, line %d, uenum_next(done)!=NULL");
1718 errln("File %s, Line %d, uenum_unext(%d) failed", __FILE__, __LINE__, i);
1723 errln("File %s, Line %d, uenum_unext(done)!=NULL" __FILE__, __LINE__);
1735 errln("CharString doesn't work with large strings.");
1775 errln("Something wrong with UnicodeString::operator+().");
1795 errln("UnicodeString::fromUTF32() did not create the expected string.");
1813 errln("UnicodeString::toUTF32() did not create the expected string.");
1846 errln("UnicodeString::fromUTF8(StringPiece) did not create the expected string.");
1852 errln("UnicodeString::fromUTF8(std::string) did not create the expected string.");
1871 errln("UnicodeString::toUTF8() did not create the expected string.");
1880 errln("UnicodeString::toUTF8String() did not create the expected string.");