Home | History | Annotate | Download | only in intltest

Lines Matching defs:expectedText

257     UText expectedText = UTEXT_INITIALIZER;
258 utext_openUTF8(&expectedText, expected, -1, &status);
263 if(utext_nativeLength(&expectedText)==0 && (strlen(expected)!=0)) {
264 errln("%s:%d: assertUText: expected is %d utf-8 bytes, but utext_nativeLength(expectedText) returned 0.", file, line, strlen(expected));
268 if (!testUTextEqual(&expectedText, actual)) {
272 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText);
273 errln("%s:%d: assertUText: Failure: expected \"%s\" (%d chars), got \"%s\" (%d chars)", file, line, expectedBuf, (int)utext_nativeLength(&expectedText), buf, (int)utext_nativeLength(actual));
275 utext_close(&expectedText);
283 UText expectedText = UTEXT_INITIALIZER;
284 regextst_openUTF8FromInvariant(&expectedText, expected, -1, &status);
290 if (!testUTextEqual(&expectedText, actual)) {
294 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText);
295 errln("%s:%d: assertUTextInvariant: Failure: expected \"%s\" (%d uchars), got \"%s\" (%d chars)", file, line, expectedBuf, (int)utext_nativeLength(&expectedText), buf, (int)utext_nativeLength(actual));
297 utext_close(&expectedText);