Home | History | Annotate | Download | only in intltest

Lines Matching refs:expectedText

281     UText expectedText = UTEXT_INITIALIZER;
282 utext_openUTF8(&expectedText, expected, -1, &status);
287 if(utext_nativeLength(&expectedText)==0 && (strlen(expected)!=0)) {
288 errln("%s:%d: assertUText: expected is %d utf-8 bytes, but utext_nativeLength(expectedText) returned 0.", file, line, strlen(expected));
292 if (!testUTextEqual(&expectedText, actual)) {
296 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText);
297 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));
299 utext_close(&expectedText);
307 UText expectedText = UTEXT_INITIALIZER;
308 regextst_openUTF8FromInvariant(&expectedText, expected, -1, &status);
314 if (!testUTextEqual(&expectedText, actual)) {
318 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText);
319 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));
321 utext_close(&expectedText);