Lines Matching refs:errln
82 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
86 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
93 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
98 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
107 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
112 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
115 errln(UnicodeString("length() failed: expected 70, got ") + test1.length()); in TestBasicManipulation()
117 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
122 …errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify… in TestBasicManipulation()
125 … errln(UnicodeString("append or length failed for UChar32, expected 2, got ") + test3.length()); in TestBasicManipulation()
129 …errln((UnicodeString)"append failed for UChar32, expected \"\\\\uD841\\\\uDC02t\", got " + prettif… in TestBasicManipulation()
132 … errln((UnicodeString)"append or length failed for UChar32, expected 2, got " + test3.length()); in TestBasicManipulation()
141 errln((UnicodeString)"simple UChar32 overloads for replace, insert, setTo or = failed"); in TestBasicManipulation()
156 errln("UnicodeString::moveIndex32() failed"); in TestBasicManipulation()
160 errln("UnicodeString::getChar32Start() failed"); in TestBasicManipulation()
164 errln("UnicodeString::getChar32Limit() failed"); in TestBasicManipulation()
173 errln("UnicodeString(const UnicodeString&, int32_t) failed"); in TestBasicManipulation()
177 errln("UnicodeString(const UnicodeString&, int32_t, int32_t) failed"); in TestBasicManipulation()
180 errln("UnicodeString::setTo(const UnicodeString&, int32_t) failed"); in TestBasicManipulation()
188 errln("operator+(UniStr, UniStr) failed"); in TestBasicManipulation()
197 … errln("UnicodeString(codepageData, dataLength, codepage) does not work with dataLength==-1"); in TestBasicManipulation()
204 errln("UnicodeString.setTo(buffer, length, capacity) does not work with length==-1"); in TestBasicManipulation()
207 errln("UnicodeString(buffer, length, capacity) does not work with length==-1"); in TestBasicManipulation()
211 … errln("UnicodeString.caseCompare(const UChar *, length, options) does not work with length==-1"); in TestBasicManipulation()
214 … errln("UnicodeString.caseCompare(start, _length, const UChar *, options) does not work"); in TestBasicManipulation()
220 … errln("UnicodeString.setTo(buffer without NUL, length, capacity) does not work with length==-1"); in TestBasicManipulation()
223 … errln("UnicodeString(buffer without NUL, length, capacity) does not work with length==-1"); in TestBasicManipulation()
234 … errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1"); in TestBasicManipulation()
247 errln("UnicodeString(const char * U_CHARSET_IS_UTF8) failed"); in TestBasicManipulation()
252 errln("UnicodeString::extract(char * U_CHARSET_IS_UTF8) failed"); in TestBasicManipulation()
256 errln("UnicodeString::extract(substring to char * U_CHARSET_IS_UTF8) failed"); in TestBasicManipulation()
279 errln("operator== or operator!= failed"); in TestCompare()
285 errln("operator> or operator< failed"); in TestCompare()
290 errln("operator>= or operator<= failed"); in TestCompare()
294 errln("compare(UnicodeString) failed"); in TestCompare()
301 errln("compare(offset, length, UnicodeString) failes"); in TestCompare()
305 errln("compare(UChar*) failed"); in TestCompare()
309 errln("compare(char*) failed"); in TestCompare()
313 errln("compare(UChar*, length) failed"); in TestCompare()
319 errln("1. compare(thisOffset, thisLength, that, thatOffset, thatLength) failed"); in TestCompare()
324 errln("2. compare(thisOffset, thisLength, that, thatOffset, thatLength) failed"); in TestCompare()
329 errln("compareBetween failed"); in TestCompare()
333 errln("compareBetween failed"); in TestCompare()
346 errln("UnicodeStrings that share a buffer but have different lengths compare as equal"); in TestCompare()
373 …errln("error: UnicodeString::compareCodePointOrder() fails for string %d and the following one\n",… in TestCompare()
397 errln("error: mixed.caseCompare(other, default)=%ld instead of 0\n", result); in TestCompare()
401 …errln("error: mixed.caseCompare(otherExcludeSpecialI, U_FOLD_CASE_EXCLUDE_SPECIAL_I)=%ld instead o… in TestCompare()
405 … errln("error: mixed.caseCompare(other, U_FOLD_CASE_EXCLUDE_SPECIAL_I)=0 instead of !=0\n"); in TestCompare()
411 errln("error: mixed.caseCompare(different, default)=%ld instead of positive\n", result); in TestCompare()
417 …errln("error: mixed.caseCompare(mixed, 1, 4, different, 1, 5, default)=%ld instead of 0\n", result… in TestCompare()
423 …errln("error: mixed.caseCompare(1, 4, different, 1, 4, default)=%ld instead of positive\n", result… in TestCompare()
434 errln("error UnicodeString::compare(..., const UChar *, srcLength=-1) does not work"); in TestCompare()
438 …errln("error UnicodeString::compareCodePointOrder(..., const UChar *, srcLength=-1, ...) does not … in TestCompare()
442 … errln("error UnicodeString::caseCompare(..., const UChar *, srcLength=-1, ...) does not work"); in TestCompare()
446 errln("error UnicodeString::indexOf(const UChar *, srcLength=-1, ...) does not work"); in TestCompare()
450 … errln("error UnicodeString::lastIndexOf(const UChar *, srcLength=-1, ...) does not work"); in TestCompare()
457 … errln("error UnicodeString::replace(..., const UChar *, srcLength=-1, ...) does not work"); in TestCompare()
475 … errln("UnicodeString.extract(char *) failed to return the correct size of destination buffer."); in TestExtract()
481 errln("UnicodeString.extractBetween(-3, 7) did not pin properly."); in TestExtract()
486 …errln("UnicodeString.extract() failed to return the correct size of destination buffer for end of … in TestExtract()
489 errln("UnicodeString.extract() failed to return the correct size of destination buffer."); in TestExtract()
496 … errln("UnicodeString.extract(NULL) failed to return the correct size of destination buffer."); in TestExtract()
499 errln("UnicodeString.extract(-1) failed to stop reading the string."); in TestExtract()
504 errln(UnicodeString("extracting into a UnicodeString failed at position ") + i); in TestExtract()
508 errln(UnicodeString("extracting into an array of UChar failed at position ") + i); in TestExtract()
512 errln(UnicodeString("extracting into an array of char failed at position ") + i); in TestExtract()
516 errln(UnicodeString("extracting with extractBetween failed at position ") + i); in TestExtract()
523 errln("UnicodeString.extract(0, 10, (char *)NULL, \"\") != 10"); in TestExtract()
528 errln("UnicodeString.extract(0, 10, test4, 2, \"\") != 10"); in TestExtract()
531 errln("UnicodeString.extract(0, 10, test4, 2, \"\") overwrote test4[2]"); in TestExtract()
547 …errln("UnicodeString.extract(NULL, 0)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", length, s.l… in TestExtract()
553 … errln("UnicodeString.extract(dest too short)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", in TestExtract()
560 …errln("UnicodeString.extract(dest just right without NUL)==%d (%s) expected %d (U_STRING_NOT_TERMI… in TestExtract()
564 … errln("UnicodeString.extract(dest just right without NUL) did not extract the string correctly"); in TestExtract()
570 errln("UnicodeString.extract(dest large enough)==%d (%s) expected %d (U_ZERO_ERROR)", in TestExtract()
574 errln("UnicodeString.extract(dest large enough) did not extract the string correctly"); in TestExtract()
597 … errln("UnicodeString::extract(NULL, UConverter) preflighting failed (length=%ld, %s)", in TestExtract()
604 … errln("UnicodeString::extract(too small, UConverter) preflighting failed (length=%ld, %s)", in TestExtract()
611 errln("UnicodeString::extract(UConverter) succeeded with an illegal destination"); in TestExtract()
615 errln("UnicodeString::extract(UConverter) succeeded with a previous error code"); in TestExtract()
625 errln("UnicodeString::extract(UConverter) conversion failed (length=%ld, %s)", in TestExtract()
634 errln("UnicodeString::extract(\"UTF-8\") conversion failed (length=%ld, %s)", in TestExtract()
641 errln("UnicodeString(UConverter) conversion failed (%s)", in TestExtract()
667 errln("One of the replace methods failed:\n" in TestRemoveReplace()
675 errln("One of the remove methods failed:\n" in TestRemoveReplace()
686 errln("One of the remove methods failed:\n" in TestRemoveReplace()
692 errln("Remove() failed: expected empty string, got \"" + test1 + "\""); in TestRemoveReplace()
723 … errln(UnicodeString("indexOf failed: expected to find 6 occurrences, found ") + occurrences); in TestSearching()
730 errln(UnicodeString("indexOf with starting offset failed: " in TestSearching()
739 errln(UnicodeString("indexOf with starting and ending offsets failed: " in TestSearching()
748 … errln((UnicodeString)"indexOf failed: expected to find 4 occurrences, found " + occurrences); in TestSearching()
755 … errln(UnicodeString("indexOf failed: expected to find 2 occurrences, found ") + occurrences); in TestSearching()
763 errln(UnicodeString("indexOf with character failed: " in TestSearching()
771 errln(UnicodeString("indexOf with character & start offset failed: " in TestSearching()
779 errln(UnicodeString("indexOf with character & start & end offsets failed: " in TestSearching()
792 … errln((UnicodeString)"indexOf failed: expected to find 14 occurrences, found " + occurrences); in TestSearching()
799 … errln((UnicodeString)"indexOf failed: expected to find 4 occurrences, found " + occurrences); in TestSearching()
807 …errln((UnicodeString)"indexOf with character & start & end offsets failed: expected to find 2 occu… in TestSearching()
811 errln("test1.lastIndexOf(test2)!=29"); in TestSearching()
815 errln("test1.lastIndexOf(test2, start) failed"); in TestSearching()
823 errln(UnicodeString("lastIndexOf with starting and ending offsets failed: " in TestSearching()
831 errln(UnicodeString("lastIndexOf with character & start & end offsets failed: " in TestSearching()
841 …errln((UnicodeString)"lastIndexOf with character & start & end offsets failed: expected to find 3 … in TestSearching()
852 … errln((UnicodeString)"indexOf failed: expected to find 18 occurrences, found " + occurrences); in TestSearching()
860 …errln("error: UnicodeString::indexOf(UChar32 surrogate) finds a partial supplementary code point"); in TestSearching()
866 …errln("error: UnicodeString::lastIndexOf(UChar32 surrogate) finds a partial supplementary code poi… in TestSearching()
883 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
888 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
893 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
899 errln("trim(UnicodeString&) failed"); in TestSpacePadding()
903 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
908 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
913 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
918 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
923 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
928 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
940 errln("startsWith() failed: \"" + test2 + "\" should be a prefix of \"" + test1 + "\"."); in TestPrefixAndSuffix()
947 errln("startsWith() failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test1 + "\"."); in TestPrefixAndSuffix()
951 errln("endsWith() failed: \"" + test2 + "\" shouldn't be a suffix of \"" + test1 + "\"."); in TestPrefixAndSuffix()
955 errln("endsWith(test3) failed: \"" + test3 + "\" should be a suffix of \"" + test1 + "\"."); in TestPrefixAndSuffix()
958 …errln("endsWith(test3, 0, INT32_MAX) failed: \"" + test3 + "\" should be a suffix of \"" + test1 +… in TestPrefixAndSuffix()
962 …errln("endsWith(test3.getBuffer(), test3.length()) failed: \"" + test3 + "\" should be a suffix of… in TestPrefixAndSuffix()
965 …errln("endsWith(test3.getTerminatedBuffer(), 0, -1) failed: \"" + test3 + "\" should be a suffix o… in TestPrefixAndSuffix()
969 errln("endsWith(test4) failed: \"" + test4 + "\" should be a prefix of \"" + test3 + "\"."); in TestPrefixAndSuffix()
973 … errln("startsWith(test3) failed: \"" + test3 + "\" shouldn't be a prefix of \"" + test4 + "\"."); in TestPrefixAndSuffix()
1000 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
1004 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
1020 errln("reverse() failed: Expected \"I used to say words backwards\",\n got \"" in TestReverse()
1026 errln("reverse() failed with supplementary characters"); in TestReverse()
1036 errln("reverse() failed with only lead surrogate in the middle"); in TestReverse()
1051 errln("UnicodeString::getBuffer(20).getCapacity()<20"); in TestMiscellaneous()
1061 … errln("UnicodeString::getBuffer(minCapacity) allows read or write access to the UnicodeString"); in TestMiscellaneous()
1071 …errln("UnicodeString::releaseBuffer(newLength) does not properly reallow access to the UnicodeStri… in TestMiscellaneous()
1077 …errln("UnicodeString::releaseBuffer(newLength) without getBuffer(minCapacity) changed the UnicodeS… in TestMiscellaneous()
1086 errln("UnicodeString::getBuffer(const) does not return a usable buffer pointer"); in TestMiscellaneous()
1093 … errln("UnicodeString::releaseBuffer(-1) does not properly set the length of the UnicodeString"); in TestMiscellaneous()
1103 …errln("UnicodeString::releaseBuffer(-1 but no NUL) does not properly set the length of the Unicode… in TestMiscellaneous()
1111 errln("getTerminatedBuffer()[length]!=0"); in TestMiscellaneous()
1118 errln("UnicodeString(u[3]).getTerminatedBuffer() returns a bad buffer"); in TestMiscellaneous()
1124 errln("UnicodeString(u[-1]).getTerminatedBuffer() returns a bad buffer"); in TestMiscellaneous()
1148 errln("UnicodeString::hasMetaData() returns TRUE"); in TestMiscellaneous()
1157 errln("UnicodeString(shared buffer).truncate() failed"); in TestMiscellaneous()
1160 errln("UnicodeString(shared buffer).truncate().getTerminatedBuffer() " in TestMiscellaneous()
1168 errln("UnicodeString(shared buffer).remove() failed"); in TestMiscellaneous()
1171 errln("UnicodeString(shared buffer).remove().getTerminatedBuffer() " in TestMiscellaneous()
1194 errln("Test string failed to initialize properly."); in TestStackAllocation()
1196 errln("Test string initialization overwrote guard word!"); in TestStackAllocation()
1201 errln("Manipulation of test string failed to work right."); in TestStackAllocation()
1203 errln("Manipulation of test string overwrote guard word!"); in TestStackAllocation()
1219 errln("Stack-allocated backing store failed to initialize correctly."); in TestStackAllocation()
1221 errln("Stack-allocated backing store overwrote guard word!"); in TestStackAllocation()
1225 errln("insert() on stack-allocated UnicodeString didn't work right"); in TestStackAllocation()
1227 errln("insert() on stack-allocated UnicodeString overwrote guard word!"); in TestStackAllocation()
1230 errln("insert() on stack-allocated UnicodeString didn't affect backing store"); in TestStackAllocation()
1234 errln("Stack-allocated UnicodeString overflow didn't work"); in TestStackAllocation()
1236 errln("Stack-allocated UnicodeString overflow overwrote guard word!"); in TestStackAllocation()
1240 errln("Assignment to stack-allocated UnicodeString didn't work"); in TestStackAllocation()
1242 errln("Change to UnicodeString after overflow are still affecting original buffer"); in TestStackAllocation()
1244 errln("Change to UnicodeString after overflow overwrote guard word!"); in TestStackAllocation()
1252 errln("UnicodeString.setTo(readonly alias) does not alias correctly"); in TestStackAllocation()
1259 errln("UnicodeString.setTo(readonly alias) made a copy: did not see change in buffer"); in TestStackAllocation()
1263 errln("clone(alias) did not copy the buffer"); in TestStackAllocation()
1269 errln("UnicodeString.setTo(readonly alias, length -1) does not alias correctly"); in TestStackAllocation()
1274 … errln("UnicodeString.setTo(unterminated readonly alias, length -1) does not result in isBogus()"); in TestStackAllocation()
1284 …errln((UnicodeString)"UnicodeString.setTo(UChar*, length, capacity) does not work correctly\n" + p… in TestStackAllocation()
1294 errln("The UnicodeString(UChar32) constructor does not work with a 0x10ff2a filler"); in TestStackAllocation()
1303 errln("The UnicodeString capacity constructor does not work with an ASCII filler"); in TestStackAllocation()
1311 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler"); in TestStackAllocation()
1316 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler"); in TestStackAllocation()
1336 errln("FAIL: " + prettify(IN) + ".unescape() -> " + in TestUnescape()
1343 …errln("FAIL: unescaping of a string with an illegal escape sequence did not return an empty string… in TestUnescape()
1360 errln("hasMoreChar32Than(%d, %d, %d)=%hd is wrong\n", in _testUnicodeStringHasMoreChar32Than()
1379 errln("UnicodeString::countChar32() failed"); in TestCountChar32()
1393 errln("u_countChar32(length=-1) failed"); in TestCountChar32()
1398 errln("u_countChar32(bad input) failed (returned non-zero counts)"); in TestCountChar32()
1448 errln("A string returned TRUE for isBogus()!"); in TestBogus()
1455 errln("A bogus string returned FALSE for isBogus()!"); in TestBogus()
1458 errln("hashCode() failed"); in TestBogus()
1461 errln("bogus.getBuffer()!=0"); in TestBogus()
1464 errln("bogus.indexOf() != -1"); in TestBogus()
1467 errln("bogus.lastIndexOf() != -1"); in TestBogus()
1470 errln("caseCompare() doesn't work with bogus strings"); in TestBogus()
1473 errln("compareCodePointOrder() doesn't work with bogus strings"); in TestBogus()
1480 errln("bogus.append('a') worked but must not"); in TestBogus()
1486 errln("bogus.findAndReplace() worked but must not"); in TestBogus()
1492 errln("bogus.trim() revived bogus but must not"); in TestBogus()
1498 errln("bogus.remove(1) revived bogus but must not"); in TestBogus()
1503 errln("bogus.setCharAt(0, 'b') worked but must not"); in TestBogus()
1508 errln("bogus.truncate(1) revived bogus but must not"); in TestBogus()
1514 errln("bogus.operator=() failed"); in TestBogus()
1519 errln("bogus.fastCopyFrom() failed"); in TestBogus()
1524 errln("bogus.setTo(UniStr) failed"); in TestBogus()
1529 errln("bogus.setTo(UniStr, 0) failed"); in TestBogus()
1534 errln("bogus.setTo(UniStr, 0, len) failed"); in TestBogus()
1539 errln("bogus.setTo(const UChar *, len) failed"); in TestBogus()
1544 errln("bogus.setTo(UChar) failed"); in TestBogus()
1549 errln("bogus.setTo(UChar32) failed"); in TestBogus()
1554 errln("bogus.setTo(readonly alias) failed"); in TestBogus()
1563 errln("bogus.setTo(writable alias) failed"); in TestBogus()
1569 errln("bogus.operator=(UnicodeString()) failed"); in TestBogus()
1574 errln("bogus.setTo(UnicodeString()) failed"); in TestBogus()
1579 errln("bogus.remove() failed"); in TestBogus()
1584 errln("bogus.remove(0, INT32_MAX) failed"); in TestBogus()
1589 errln("bogus.truncate(0) failed"); in TestBogus()
1594 errln("bogus.setTo((UChar32)-1) failed"); in TestBogus()
1601 errln("bogus.setTo(&nul, 0) failed"); in TestBogus()
1606 errln("setToBogus() failed to make a string bogus"); in TestBogus()
1611 errln("normal=bogus failed to make the left string bogus"); in TestBogus()
1618 errln("UniStr.insert(...nullptr...) should not modify the string but does"); in TestBogus()
1628 errln("a constructor set to bogus for a NULL input string, should be empty"); in TestBogus()
1635 errln("a setTo() set to bogus for a NULL input string, should be empty"); in TestBogus()
1640 errln("bogus==bogus failed"); in TestBogus()
1645 errln("bogus<empty failed"); in TestBogus()
1714 errln("StringEnumeration.next(%d) failed", i); in TestStringEnumeration()
1719 errln("StringEnumeration.next(done)!=NULL"); in TestStringEnumeration()
1729 errln("StringEnumeration.unext(%d) failed", i); in TestStringEnumeration()
1734 errln("StringEnumeration.unext(done)!=NULL"); in TestStringEnumeration()
1739 errln("StringEnumeration.clone()!=NULL"); in TestStringEnumeration()
1748 … errln("fail at file %s, line %d, UErrorCode is %s\n", __FILE__, __LINE__, u_errorName(status)); in TestStringEnumeration()
1757 errln("File %s, line %d, StringEnumeration.next(%d) failed", __FILE__, __LINE__, i); in TestStringEnumeration()
1762 errln("File %s, line %d, uenum_next(done)!=NULL"); in TestStringEnumeration()
1772 errln("File %s, Line %d, uenum_unext(%d) failed", __FILE__, __LINE__, i); in TestStringEnumeration()
1777 errln("File %s, Line %d, uenum_unext(done)!=NULL" __FILE__, __LINE__); in TestStringEnumeration()
1816 errln("Something wrong with UnicodeString::operator+()."); in TestNameSpace()
1835 errln("UnicodeString::fromUTF32() did not create the expected string."); in TestUTF32()
1853 errln("UnicodeString::toUTF32() did not create the expected string."); in TestUTF32()
1894 errln("UnicodeString::fromUTF8(StringPiece) did not create the expected string."); in TestUTF8()
1899 errln("UnicodeString::fromUTF8(std::string) did not create the expected string."); in TestUTF8()
1917 errln("UnicodeString::toUTF8() did not create the expected string."); in TestUTF8()
1920 errln("UnicodeString::toUTF8(sink) did not sink.Flush()."); in TestUTF8()
1928 errln("UnicodeString::toUTF8String() did not create the expected string."); in TestUTF8()
1942 errln("UnicodeString read-only-aliasing constructor does not behave as expected."); in TestReadOnlyAlias()
1947 errln("UnicodeString(read-only-alias).truncate() did not preserve aliasing as expected."); in TestReadOnlyAlias()
1950 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() " in TestReadOnlyAlias()
1954 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() " in TestReadOnlyAlias()
1958 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() " in TestReadOnlyAlias()
1964 errln("UnicodeString read-only-aliasing setTo() does not behave as expected."); in TestReadOnlyAlias()
1969 errln("UnicodeString(read-only-alias).remove() did not work."); in TestReadOnlyAlias()
1972 errln("UnicodeString(read-only-alias).remove().getTerminatedBuffer() " in TestReadOnlyAlias()
1976 errln("UnicodeString(read-only-alias).remove().getTerminatedBuffer() " in TestReadOnlyAlias()
1980 errln("UnicodeString.setTo(read-only-alias).remove().getTerminatedBuffer() " in TestReadOnlyAlias()
1988 …errln("UnicodeString.setTo(read-only-alias).remove(0, 10) did not preserve aliasing as expected."); in TestReadOnlyAlias()
1993 …errln("UnicodeString.setTo(read-only-alias).remove(27, 99) did not preserve aliasing as expected."… in TestReadOnlyAlias()
1998 …errln("UnicodeString.setTo(read-only-alias).retainBetween(6, 30) did not preserve aliasing as expe… in TestReadOnlyAlias()
2007 errln("UnicodeString.tempSubString() failed"); in TestReadOnlyAlias()
2011 errln("UnicodeString.tempSubString(-3, 5) failed"); in TestReadOnlyAlias()
2015 errln("UnicodeString.tempSubString(17) failed"); in TestReadOnlyAlias()
2019 errln("UnicodeString.tempSubString(99) failed"); in TestReadOnlyAlias()
2023 errln("UnicodeString.tempSubStringBetween(6) failed"); in TestReadOnlyAlias()
2027 errln("UnicodeString.tempSubStringBetween(8, 18) failed"); in TestReadOnlyAlias()
2033 errln("UnicodeString.setToBogus().tempSubStringBetween(8, 18) failed"); in TestReadOnlyAlias()
2042 errln("Appendable.reserve(12) failed"); in doTestAppendable()
2053 errln("Appendable.getAppendBuffer(min=3) returned capacity=%d<3", (int)capacity); in doTestAppendable()
2060 errln("Appendable.append(...) failed"); in doTestAppendable()
2064 errln("Appendable.getAppendBuffer(min=0) failed"); in doTestAppendable()
2069 errln("Appendable.getAppendBuffer(scratch<min) failed"); in doTestAppendable()
2105 errln("sizeof(UnicodeString)=%d, expected UNISTR_OBJECT_SIZE=%d", in TestSizeofUnicodeString()
2109 errln("sizeof(UnicodeString)=%d < 32, probably too small", (int)sizeofUniStr); in TestSizeofUnicodeString()
2122 errln("unexpected reallocation when filling with assumed stack buffer size of %d", in TestSizeofUnicodeString()
2127 errln("unexpected keeping stack buffer when overfilling assumed stack buffer size of %d", in TestSizeofUnicodeString()
2141 errln("UnicodeString.swap() did not swap"); in TestMoveSwap()
2145 errln("swap(UnicodeString) did not swap back"); in TestMoveSwap()
2150 errln("UnicodeString.moveFrom(heap) did not move"); in TestMoveSwap()
2155 errln("UnicodeString.moveFrom(stack) did not move"); in TestMoveSwap()
2160 errln("UnicodeString.moveFrom(alias) did not move"); in TestMoveSwap()
2165 errln("UnicodeString move assignment operator did not move"); in TestMoveSwap()
2169 errln("UnicodeString move constructor did not move"); in TestMoveSwap()
2186 errln("UnicodeString copy after self-move did not work"); in TestMoveSwap()