Lines Matching refs:log_err
213 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
218 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
224 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
230 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
236 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
242 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
265 log_err("Error: NULL break iterator is valid for opening search\n"); in TestOpenClose()
290 log_err("Error: Break iterator is valid for opening search\n"); in TestOpenClose()
320 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization()
332 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization()
352 log_err("Error setting USEARCH_ELEMENT_COMPARISON attribute %s\n", u_errorName(status)); in assertEqualWithUStringSearch()
358 log_err("Error with the initialization of match start and length\n"); in assertEqualWithUStringSearch()
367 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
369 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
370 log_err("Error next match found at idx %d (len:%d); expected %d (len:%d)\n", in assertEqualWithUStringSearch()
382 log_err("Error getting next matched text\n"); in assertEqualWithUStringSearch()
391 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
393 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
394 log_err("Error next match found at %d (len:%d); expected <NO MATCH>\n", in assertEqualWithUStringSearch()
409 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
411 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
412 log_err("Error previous match found at %d (len:%d); expected %d (len:%d)\n", in assertEqualWithUStringSearch()
423 log_err("Error getting previous matched text\n"); in assertEqualWithUStringSearch()
433 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
435 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
436 log_err("Error previous match found at %d (len:%d); expected <NO MATCH>\n", in assertEqualWithUStringSearch()
456 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
458 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
459 …log_err("Error following match starting at %d (overlap:%d) found at %d (len:%d); expected <NO MATC… in assertEqualWithUStringSearch()
474 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
476 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
477 …log_err("Error following match starting at %d (overlap: %d) found at %d (len:%d); expected %d (len… in assertEqualWithUStringSearch()
507 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
509 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
510 …log_err("Error preceding match starting at %d (overlap: %d) found at %d (len:%d); expected <NO MAT… in assertEqualWithUStringSearch()
526 log_err("Text: %s\n", str); in assertEqualWithUStringSearch()
528 log_err("Pattern: %s\n", str); in assertEqualWithUStringSearch()
529 …log_err("Error preceding match starting at %d (overlap: %d) found at %d (len:%d); expected %d (len… in assertEqualWithUStringSearch()
561 log_err("Error opening string search %s\n", u_errorName(status)); in assertEqual()
595 log_err("Error opening string search %s\n", u_errorName(status)); in assertCanonicalEqual()
636 log_err("Error opening string search %s\n", u_errorName(status)); in assertEqualWithAttribute()
661 log_err("Error at test number %d\n", count); in TestBasic()
679 log_err("Error setting collation normalization %s\n", in TestNormExact()
684 log_err("Error at test number %d\n", count); in TestNormExact()
691 log_err("Error at test number %d\n", count); in TestNormExact()
699 log_err("Error at test number %d\n", count); in TestNormExact()
717 log_err("Error at test number %d\n", count); in TestStrength()
740 log_err("Expected NULL breakiterator from NULL string search\n"); in TestBreakIterator()
747 log_err("Error opening string search %s\n", u_errorName(status)); in TestBreakIterator()
753 log_err("Error usearch_getBreakIterator returned wrong object"); in TestBreakIterator()
760 log_err("Error usearch_getBreakIterator returned wrong object"); in TestBreakIterator()
767 log_err("Error usearch_getBreakIterator returned wrong object"); in TestBreakIterator()
788 log_err("Error setting break iterator\n"); in TestBreakIterator()
802 log_err("Error setting break iterator\n"); in TestBreakIterator()
808 log_err("Error at test number %d\n", count); in TestBreakIterator()
818 log_err("Error at test number %d\n", count); in TestBreakIterator()
840 log_err("Error setting collation alternate attribute %s\n", in TestVariable()
846 log_err("Error at test number %d\n", count); in TestVariable()
867 log_err("Error at overlap test number %d\n", count); in TestOverlap()
874 log_err("Error at non overlap test number %d\n", count); in TestOverlap()
896 log_err("Error opening searcher\n"); in TestOverlap()
902 log_err("Error setting overlap option\n"); in TestOverlap()
912 log_err("Error setting overlap option\n"); in TestOverlap()
917 log_err("Error at test number %d\n", count); in TestOverlap()
948 log_err("Error opening searcher\n"); in TestCollator()
953 log_err("Error: Found case insensitive match, when we shouldn't\n"); in TestCollator()
958 log_err("Error: Found case insensitive match not found\n"); in TestCollator()
965 log_err("Expected NULL collator from NULL string search\n"); in TestCollator()
973 log_err("Error opening string search %s\n", u_errorName(status)); in TestCollator()
983 log_err("Error opening rule based collator %s\n", u_errorName(status)); in TestCollator()
988 log_err("Error setting rule based collator\n"); in TestCollator()
998 log_err("Error setting rule based collator\n"); in TestCollator()
1028 log_err("Error NULL string search expected returning NULL pattern\n"); in TestPattern()
1032 log_err("Error expected setting pattern in NULL strings search\n"); in TestPattern()
1045 log_err("Error opening searcher\n"); in TestPattern()
1052 log_err("Error expected setting NULL pattern in strings search\n"); in TestPattern()
1057 log_err("Error expected setting pattern with length 0 in strings search\n"); in TestPattern()
1061 log_err("Error opening string search %s\n", u_errorName(status)); in TestPattern()
1066 log_err("Error setting pattern\n"); in TestPattern()
1076 log_err("Error setting pattern\n"); in TestPattern()
1081 log_err("Error setting pattern %s\n", u_errorName(status)); in TestPattern()
1091 log_err("Error setting pattern\n"); in TestPattern()
1096 log_err("Error setting pattern %s\n", u_errorName(status)); in TestPattern()
1108 log_err("Error setting pattern with size 512, %s \n", in TestPattern()
1138 log_err("Error NULL string search should return NULL text\n"); in TestText()
1143 log_err("Error NULL string search should have an error when setting text\n"); in TestText()
1151 log_err("Error opening string search %s\n", u_errorName(status)); in TestText()
1156 log_err("Error setting text\n"); in TestText()
1166 log_err("Error setting text\n"); in TestText()
1170 log_err("Error setting text %s\n", u_errorName(status)); in TestText()
1180 log_err("Error setting text\n"); in TestText()
1184 log_err("Error setting pattern %s\n", u_errorName(status)); in TestText()
1208 log_err("Error at test number %d\n", count); in TestCompositeBoundaries()
1231 log_err("usearch_getOffset(NULL) expected USEARCH_DONE\n"); in TestGetSetOffset()
1238 log_err("Error expecting set offset error\n"); in TestGetSetOffset()
1242 log_err("Error expecting set offset error\n"); in TestGetSetOffset()
1264 log_err("Text: %s\n", str); in TestGetSetOffset()
1266 log_err("Pattern: %s\n", str); in TestGetSetOffset()
1267 log_err("Error match found at %d %d\n", in TestGetSetOffset()
1278 log_err("Text: %s\n", str); in TestGetSetOffset()
1280 log_err("Pattern: %s\n", str); in TestGetSetOffset()
1281 log_err("Error match found at %d %d\n", in TestGetSetOffset()
1293 log_err("Error setting offset\n"); in TestGetSetOffset()
1303 log_err("Text: %s\n", str); in TestGetSetOffset()
1305 log_err("Pattern: %s\n", str); in TestGetSetOffset()
1306 log_err("Error match found at %d %d\n", in TestGetSetOffset()
1335 log_err( in TestGetSetAttribute()
1341 log_err("Error opening search %s\n", u_errorName(status)); in TestGetSetAttribute()
1348 log_err("Error setting overlap to the default\n"); in TestGetSetAttribute()
1353 log_err("Error setting overlap true\n"); in TestGetSetAttribute()
1358 log_err("Error setting overlap false\n"); in TestGetSetAttribute()
1363 log_err("Error setting overlap to illegal value\n"); in TestGetSetAttribute()
1371 log_err("Error setting canonical match to the default\n"); in TestGetSetAttribute()
1378 log_err("Error setting canonical match true\n"); in TestGetSetAttribute()
1385 log_err("Error setting canonical match false\n"); in TestGetSetAttribute()
1390 log_err("Error setting canonical match to illegal value\n"); in TestGetSetAttribute()
1396 log_err("Error setting illegal attribute success\n"); in TestGetSetAttribute()
1423 log_err( in TestGetMatch()
1432 log_err("Error opening string search %s\n", u_errorName(status)); in TestGetMatch()
1445 log_err("Text: %s\n", str); in TestGetMatch()
1447 log_err("Pattern: %s\n", str); in TestGetMatch()
1448 log_err("Error match found at %d %d\n", in TestGetMatch()
1458 log_err("Error expecting errors with NULL string search\n"); in TestGetMatch()
1463 log_err("Error pre-flighting match length\n"); in TestGetMatch()
1468 log_err("Error getting match text with buffer size 0\n"); in TestGetMatch()
1474 log_err("Error getting match text with exact size\n"); in TestGetMatch()
1483 log_err("Error getting matched text\n"); in TestGetMatch()
1492 log_err("Error end of match not found\n"); in TestGetMatch()
1497 log_err("Error getting null matches\n"); in TestGetMatch()
1523 log_err("Error getting the first and last match of a NULL string search\n"); in TestSetMatch()
1530 log_err("Error opening string search %s\n", u_errorName(status)); in TestSetMatch()
1544 log_err("Error getting first match\n"); in TestSetMatch()
1548 log_err("Error getting last match\n"); in TestSetMatch()
1556 log_err("Error getting following match at index %d\n", in TestSetMatch()
1565 log_err("Error getting preceeding match at index %d\n", in TestSetMatch()
1574 log_err("Error expecting out of bounds match\n"); in TestSetMatch()
1577 log_err("Error expecting out of bounds match\n"); in TestSetMatch()
1601 log_err("Error opening string search %s\n", u_errorName(status)); in TestReset()
1612 log_err("Error setting attributes and offsets\n"); in TestReset()
1622 log_err("Error resetting string search\n"); in TestReset()
1627 log_err("Error resetting string search\n"); in TestReset()
1645 log_err("Error at test number %d\n", count); in TestSupplementary()
1672 log_err("Error opening collator %s\n", u_errorName(status)); in TestContraction()
1678 log_err("Error opening string search %s\n", u_errorName(status)); in TestContraction()
1687 log_err("Error at test number %d\n", count); in TestContraction()
1716 log_err("Error opening collator %s\n", u_errorName(status)); in TestIgnorable()
1722 log_err("Error opening string search %s\n", u_errorName(status)); in TestIgnorable()
1731 log_err("Error at test number %d\n", count); in TestIgnorable()
1768 …log_err("Error opening string search collator(\"%s\") %s\n", search.collator, u_errorName(status)); in TestDiacriticMatch()
1774 log_err("Error setting string search collator %s\n", u_errorName(status)); in TestDiacriticMatch()
1783 log_err("Error at test number %d\n", count); in TestDiacriticMatch()
1803 log_err("Error at test number %d\n", count); in TestCanonical()
1823 log_err("Error at test number %d\n", count); in TestNormCanonical()
1842 log_err("Error at test number %d\n", count); in TestStrengthCanonical()
1881 log_err("Error opening searcher\n"); in TestBreakIteratorCanonical()
1888 log_err("Error setting break iterator\n"); in TestBreakIteratorCanonical()
1901 log_err("Error setting break iterator\n"); in TestBreakIteratorCanonical()
1909 log_err("Error at test number %d\n", count); in TestBreakIteratorCanonical()
1919 log_err("Error at test number %d\n", count); in TestBreakIteratorCanonical()
1941 log_err("Error setting collation alternate attribute %s\n", in TestVariableCanonical()
1947 log_err("Error at test number %d\n", count); in TestVariableCanonical()
1968 log_err("Error at overlap test number %d\n", count); in TestOverlapCanonical()
1975 log_err("Error at non overlap test number %d\n", count); in TestOverlapCanonical()
1997 log_err("Error opening searcher\n"); in TestOverlapCanonical()
2005 log_err("Error setting overlap option\n"); in TestOverlapCanonical()
2015 log_err("Error setting overlap option\n"); in TestOverlapCanonical()
2020 log_err("Error at test number %d\n", count); in TestOverlapCanonical()
2053 log_err("Error opening searcher\n"); in TestCollatorCanonical()
2059 log_err("Error opening string search %s\n", u_errorName(status)); in TestCollatorCanonical()
2069 log_err("Error opening rule based collator %s\n", u_errorName(status)); in TestCollatorCanonical()
2074 log_err("Error setting rule based collator\n"); in TestCollatorCanonical()
2088 log_err("Error setting rule based collator\n"); in TestCollatorCanonical()
2125 log_err("Error opening string search %s\n", u_errorName(status)); in TestPatternCanonical()
2130 log_err("Error setting pattern\n"); in TestPatternCanonical()
2140 log_err("Error setting pattern\n"); in TestPatternCanonical()
2147 log_err("Error setting pattern %s\n", u_errorName(status)); in TestPatternCanonical()
2157 log_err("Error setting pattern\n"); in TestPatternCanonical()
2164 log_err("Error setting pattern %s\n", u_errorName(status)); in TestPatternCanonical()
2200 log_err("Error opening string search %s\n", u_errorName(status)); in TestTextCanonical()
2205 log_err("Error setting text\n"); in TestTextCanonical()
2215 log_err("Error setting text\n"); in TestTextCanonical()
2219 log_err("Error setting text %s\n", u_errorName(status)); in TestTextCanonical()
2229 log_err("Error setting text\n"); in TestTextCanonical()
2233 log_err("Error setting pattern %s\n", u_errorName(status)); in TestTextCanonical()
2257 log_err("Error at test number %d\n", count); in TestCompositeBoundariesCanonical()
2293 log_err("Error expecting set offset error\n"); in TestGetSetOffsetCanonical()
2297 log_err("Error expecting set offset error\n"); in TestGetSetOffsetCanonical()
2322 log_err("Text: %s\n", str); in TestGetSetOffsetCanonical()
2324 log_err("Pattern: %s\n", str); in TestGetSetOffsetCanonical()
2325 log_err("Error match found at %d %d\n", in TestGetSetOffsetCanonical()
2336 log_err("Error setting offset\n"); in TestGetSetOffsetCanonical()
2346 log_err("Text: %s\n", str); in TestGetSetOffsetCanonical()
2348 log_err("Pattern: %s\n", str); in TestGetSetOffsetCanonical()
2349 log_err("Error match found at %d %d\n", in TestGetSetOffsetCanonical()
2373 log_err("Error at test number %d\n", count); in TestSupplementaryCanonical()
2400 log_err("Error opening collator %s\n", u_errorName(status)); in TestContractionCanonical()
2408 log_err("Error opening string search %s\n", u_errorName(status)); in TestContractionCanonical()
2418 log_err("Error at test number %d\n", count); in TestContractionCanonical()
2447 …log_err("Expected U_UNSUPPORTED_ERROR when trying to instantiate a search object from a CODAN coll… in TestNumeric()
2480 log_err("usearch_openFromCollator failed: %s\n", u_errorName(status)); in TestForwardBackward()
2488 log_err("Expected search result: %d; Got instead: %d\n", expectedPos, pos); in TestForwardBackward()
2497 log_err("Expected search result: %d; Got instead: %d\n", expectedPos, pos); in TestForwardBackward()
2577 log_err("Expected search result: %d; Got instead: %d\n", expectedPos, in TestSearchForNull()
2582 log_err("Expected search result length: %d; Got instead: %d\n", in TestSearchForNull()
2593 log_err("Expected %d search hits, found %d\n", expectedNum, count); in TestSearchForNull()
2634 log_err("Expected search result: %d; Got instead: %d\n", expectedPos, pos); in TestStrengthIdentical()
2638 log_err("Expected search result length: %d; Got instead: %d\n", expectedLen, len); in TestStrengthIdentical()
2649 log_err("Expected failure for strentgh = UCOL_IDENTICAL: got %d instead.\n", pos); in TestStrengthIdentical()
2762 …log_err("error, locale %s, expected usearch_next %d, got %d\n", tuscItemPtr->locale, *nextOffsetPt… in TestUsingSearchCollator()
2768 …log_err("error, locale %s, usearch_next returned more matches than expected\n", tuscItemPtr->local… in TestUsingSearchCollator()
2772 … log_err("error, locale %s, usearch_next failed: %s\n", tuscItemPtr->locale, u_errorName(status) ); in TestUsingSearchCollator()
2774 …log_err("error, locale %s, usearch_next returned fewer matches than expected\n", tuscItemPtr->loca… in TestUsingSearchCollator()
2789 …log_err("error, locale %s, expected usearch_previous %d, got %d\n", tuscItemPtr->locale, *nextOffs… in TestUsingSearchCollator()
2794 …log_err("error, locale %s, usearch_previous returned more matches than expected\n", tuscItemPtr->l… in TestUsingSearchCollator()
2798 …log_err("error, locale %s, usearch_previous failed: %s\n", tuscItemPtr->locale, u_errorName(status… in TestUsingSearchCollator()
2800 …log_err("error, locale %s, usearch_previous returned fewer matches than expected\n", tuscItemPtr->… in TestUsingSearchCollator()
2804 …log_err("error, locale %s, usearch_setPattern failed: %s\n", tuscItemPtr->locale, u_errorName(stat… in TestUsingSearchCollator()
2809 …log_err("error, locale %s, usearch_openFromCollator failed: %s\n", tuscItemPtr->locale, u_errorNam… in TestUsingSearchCollator()
2843 log_err( "ucol_getLocaleByType error %s\n", u_errorName(icuStatus) ); in TestPCEBuffer_with()
2856 log_err( "ubrk_open error %s\n", u_errorName(icuStatus) ); in TestPCEBuffer_with()
2869 log_err( "usearch_openFromCollator error %s\n", u_errorName(icuStatus) ); in TestPCEBuffer_with()
2877 log_err( "usearch_first error %s\n", u_errorName(icuStatus) ); in TestPCEBuffer_with()
2884 log_err("Err: match expected 0 got %d\n", match); in TestPCEBuffer_with()
2981 log_err("Error: matchLength=%d, expected=%d\n", matchLength, expectedMatchLength); in TestMatchFollowedByIgnorables()
3001 log_err("Error at test number %d\n", count); in TestIndicPrefixMatch()