Home | History | Annotate | Download | only in intltest

Lines Matching refs:truncate

337     test2.truncate(1); // change only the length, not the buffer
908 returnVal = test1.truncate(15);
911 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
913 returnVal = test2.truncate(15);
916 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
918 returnVal = test3.truncate(15);
921 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
1127 test1.truncate(36); // ensure length()<getCapacity()
1129 test1.truncate(5);
1131 errln("UnicodeString(shared buffer).truncate() failed");
1134 errln("UnicodeString(shared buffer).truncate().getTerminatedBuffer() "
1138 test1.truncate(36); // ensure length()<getCapacity()
1473 if(test3.truncate(1) || !test3.isBogus() || !test3.isEmpty()) {
1474 errln("bogus.truncate(1) revived bogus but must not");
1551 if(test3.truncate(0) || test3.isBogus() || !test3.isEmpty()) {
1552 errln("bogus.truncate(0) failed");
1915 alias.truncate(1);
1917 errln("UnicodeString(read-only-alias).truncate() did not preserve aliasing as expected.");
1920 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() "
1924 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() "
1928 errln("UnicodeString(read-only-alias).truncate().getTerminatedBuffer() "