Home
last modified time | relevance | path

Searched refs:errIfFailureAndReset (Results 1 – 25 of 37) sorted by relevance

12

/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp152 if (status.errIfFailureAndReset("source MeasureUnitImpl::forIdentifier(\"%s\", ...)", in testExtractConvertibility()
157 if (status.errIfFailureAndReset("target MeasureUnitImpl::forIdentifier(\"%s\", ...)", in testExtractConvertibility()
163 if (status.errIfFailureAndReset("conversionRates(status)")) { in testExtractConvertibility()
167 if (status.errIfFailureAndReset("extractConvertibility(<%s>, <%s>, ...)", testCase.source, in testExtractConvertibility()
239 if (status.errIfFailureAndReset()) { in testConversionInfo()
332 if (status.errIfFailureAndReset("source MeasureUnitImpl::forIdentifier(\"%s\", ...)", in testConverter()
337 if (status.errIfFailureAndReset("target MeasureUnitImpl::forIdentifier(\"%s\", ...)", in testConverter()
343 if (status.errIfFailureAndReset("conversionRates(status)")) { in testConverter()
347 if (status.errIfFailureAndReset("UnitsConverter(<%s>, <%s>, ...)", testCase.source, in testConverter()
371 if (status.errIfFailureAndReset("UnitsConverter(<%s>, <%s>, ...)", testCase.source, in testConverter()
[all …]
Dloctest.cpp1675 status.errIfFailureAndReset("\"%s\"", min.getName()); in TestAddLikelySubtags()
1689 status.errIfFailureAndReset("\"%s\"", max.getName()); in TestMinimizeSubtags()
3835 status.errIfFailureAndReset("\"%s\"", org); in TestAddLikelyAndMinimizeSubtags()
3848 status.errIfFailureAndReset("\"%s\"", org); in TestAddLikelyAndMinimizeSubtags()
3973 status.errIfFailureAndReset("\"%s\"", l.getName()); in TestCreateUnicodeKeywords()
3979 status.errIfFailureAndReset("key #1"); in TestCreateUnicodeKeywords()
3987 status.errIfFailureAndReset("key #2"); in TestCreateUnicodeKeywords()
3995 status.errIfFailureAndReset("end of keys"); in TestCreateUnicodeKeywords()
4003 status.errIfFailureAndReset("skey #1"); in TestCreateUnicodeKeywords()
4010 status.errIfFailureAndReset("skey #2"); in TestCreateUnicodeKeywords()
[all …]
Dbidiconf.cpp263 if(errorCode.errIfFailureAndReset("unable to find the source/test/testdata " in TestBidiTest()
278 if(errorCode.errIfFailureAndReset("ubidi_setClassCallback()")) { in TestBidiTest()
336 if(errorCode.errIfFailureAndReset("ubidi_setPara() or ubidi_getLevels()")) { in TestBidiTest()
432 if(errorCode.errIfFailureAndReset("unable to find the source/test/testdata " in TestBidiCharacterTest()
466 if(errorCode.errIfFailureAndReset("Invalid string in field 0")) { in TestBidiCharacterTest()
545 if(errorCode.errIfFailureAndReset("ubidi_setPara() or ubidi_getLevels()")) { in TestBidiCharacterTest()
636 if(errorCode.errIfFailureAndReset("ubidi_getLogicalIndex()")) { in checkOrdering()
Dunits_data_test.cpp57 if (!status.errIfFailureAndReset("getUnitCategory(%s)", t.unit)) { in testGetUnitCategory()
142 if (status.errIfFailureAndReset("getPreferencesFor(\"%s\", \"%s\", \"%s\", ...", t.category, in testGetPreferencesFor()
154 status.errIfFailureAndReset("testCase '%s'", t.name); in testGetPreferencesFor()
Dnumbertest_skeletons.cpp154 status.errIfFailureAndReset(); in validTokens()
316 status.errIfFailureAndReset(); in defaultTokens()
341 status.errIfFailureAndReset(); in flexibleSeparators()
366 status.errIfFailureAndReset(); in wildcardCharacters()
448 status.errIfFailureAndReset(); in perUnitInArabic()
484 if (status.errIfFailureAndReset()) { in perUnitToSkeleton()
Ditutil.cpp262 testStatus.errIfFailureAndReset(); in TestIcuTestErrorCode()
267 testStatus.errIfFailureAndReset("%6.4f", 5.43); in TestIcuTestErrorCode()
597 if(errorCode.errIfFailureAndReset("ucnvsel_open()")) { in TestLocalXyzPointer()
625 if(errorCode.errIfFailureAndReset("uldn_open()")) { in TestLocalXyzPointer()
636 if(errorCode.errIfFailureAndReset("umsg_open()")) { in TestLocalXyzPointer()
649 if(errorCode.errIfFailureAndReset("unorm2_openFiltered()")) { in TestLocalXyzPointer()
660 if(errorCode.errIfFailureAndReset("uidna_openUTS46()")) { in TestLocalXyzPointer()
673 if(errorCode.errIfFailureAndReset("uregex_open()")) { in TestLocalXyzPointer()
686 if(errorCode.errIfFailureAndReset("utrans_open()")) { in TestLocalXyzPointer()
703 if(errorCode.errIfFailureAndReset("unorm2_getNF[CD]Instance()")) { in TestLocalXyzPointerMoveSwap()
[all …]
Dincaltst.cpp999 if (status.errIfFailureAndReset("Cannot create calendar %s", locale)) { in checkConsistency()
1008 status.errIfFailureAndReset(); in checkConsistency()
1010 if (status.errIfFailureAndReset("Cannot set time")) { in checkConsistency()
1015 if (status.errIfFailureAndReset("Cannot set time")) { in checkConsistency()
1023 if (status.errIfFailureAndReset( in checkConsistency()
1055 status.errIfFailureAndReset(); in checkConsistency()
1074 status.errIfFailureAndReset(); in checkConsistency()
1084 if (status.errIfFailureAndReset("Cannot get time %s", locale)) { in checkConsistency()
1095 status.errIfFailureAndReset(); in checkConsistency()
1099 status.errIfFailureAndReset(); in checkConsistency()
[all …]
Dbytestrietest.cpp408 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestIteratorFromBranch()
459 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestIteratorFromLinearMatch()
481 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromRoot()
536 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchShort()
565 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchLong()
687 if(!errorCode.errIfFailureAndReset("add()/build()")) { in buildTrie()
949 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in checkIterator()
964 … if(errorCode.errIfFailureAndReset("trie iterator next() for item %d: %s", (int)i, data[i].s)) { in checkIterator()
986 errorCode.errIfFailureAndReset("trie iterator next() after all items"); in checkIterator()
Ducharstrietest.cpp563 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trie) constructor")) { in TestIteratorFromBranch()
614 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trie) constructor")) { in TestIteratorFromLinearMatch()
636 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromRoot()
691 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchShort()
720 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchLong()
797 if(!errorCode.errIfFailureAndReset("add()/build()")) { in buildTrie()
1071 if(errorCode.errIfFailureAndReset("UCharsTrie::Iterator(trieUChars) constructor")) { in checkIterator()
1086 … if(errorCode.errIfFailureAndReset("trie iterator next() for item %d: %s", (int)i, data[i].s)) { in checkIterator()
1112 errorCode.errIfFailureAndReset("trie iterator next() after all items"); in checkIterator()
Ddtifmtts.cpp1852 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1854 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1928 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1930 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1963 if (status.errIfFailureAndReset()) { break; } in testCreateInstanceForAllLocales()
1970 if (status.errIfFailureAndReset(locales[i].getName())) { in testCreateInstanceForAllLocales()
1984 status.errIfFailureAndReset(locales[i].getName()); in testCreateInstanceForAllLocales()
2066 if (status.errIfFailureAndReset()) { return; } in testFormatMillisecond()
2071 if (status.errIfFailureAndReset()) { continue; } in testFormatMillisecond()
2077 if (status.errIfFailureAndReset()) { continue; } in testFormatMillisecond()
[all …]
Dplurfmts.cpp631 if (!errorCode.errIfFailureAndReset("PluralFormat.format(321) failed") && in ordinalFormatTest()
636 if (!errorCode.errIfFailureAndReset("PluralFormat.format(22) failed") && in ordinalFormatTest()
641 if (!errorCode.errIfFailureAndReset("PluralFormat.format(3) failed") && in ordinalFormatTest()
649 if (errorCode.errIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) { in ordinalFormatTest()
653 if (!errorCode.errIfFailureAndReset("PluralFormat.format(456) failed") && in ordinalFormatTest()
658 if (!errorCode.errIfFailureAndReset("PluralFormat.format(111) failed") && in ordinalFormatTest()
Dlistformattertest.cpp504 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
533 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
560 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
677 if (status.errIfFailureAndReset()) { in TestCreateStyled()
760 if (status.errIfFailureAndReset()) { in TestContextual()
799 if (status.errIfFailureAndReset()) { in TestNextPosition()
Duts46test.cpp729 if(errorCode.errIfFailureAndReset("first-level processing [%d/%s] %s", in TestSomeCases()
806 if(errorCode.errIfFailureAndReset("second-level processing [%d/%s] %s", in TestSomeCases()
850 if(errorCode.errIfFailureAndReset("labelToXYZ processing [%d/%s] %s", in TestSomeCases()
970 if(errorCode.errIfFailureAndReset("UTF-8 processing [%d/%s] %s", in TestSomeCases()
1140 if (errorCode.errIfFailureAndReset("unable to find the source/test/testdata " in IdnaTest()
1157 if (errorCode.errIfFailureAndReset("error parsing IdnaTest.txt")) { in IdnaTest()
Dplurults.cpp899 …if (errorCode.errIfFailureAndReset("PluralRules::getPluralKeyword(<PluralRules>, <locale>, %d, %s)… in getPluralKeyword()
905 if (errorCode.errIfFailureAndReset("NumberFormatter::formatDouble(%d) failed", number)) { in getPluralKeyword()
910 … if (errorCode.errIfFailureAndReset("PluralRules->select(FormattedNumber of %d) failed", number)) { in getPluralKeyword()
919 if (errorCode.errIfFailureAndReset("PluralRules::forLocale(en, UPLURAL_TYPE_ORDINAL) failed")) { in testOrdinal()
1172 if (status.errIfFailureAndReset()) { in testSelectRange()
1194 if (status.errIfFailureAndReset()) { return; } in testSelectRange()
1403 status.errIfFailureAndReset(); in testSelectTrailingZeros()
1429 if (errorCode.errIfFailureAndReset("PluralRules::forLocale()")) { return; } in testLocaleExtension()
Dcollationtest.cpp226 if(errorCode.errIfFailureAndReset("UnicodeSet")) { in TestImplicits()
241 if(errorCode.errIfFailureAndReset("CollationIterator.nextCE()")) { in TestImplicits()
278 if(errorCode.errIfFailureAndReset("CollationIterator.nextCE()")) { in TestNulTerminated()
479 if(errorCode.errIfFailureAndReset("FCDUTF16CollationIterator constructor")) { in TestFCD()
490 if(errorCode.errIfFailureAndReset("FCDUTF8CollationIterator constructor")) { in TestFCD()
499 if(errorCode.errIfFailureAndReset("FCDUIterCollationIterator constructor")) { in TestFCD()
874 if(errorCode.errIfFailureAndReset("failed to create a hash table")) { in TestTailoredElements()
902 if(errorCode.errIfFailureAndReset("Collator::createInstance(%s)", in TestTailoredElements()
1822 if(errorCode.errIfFailureAndReset("ucbuf_open(collationtest.txt)")) { in TestDataDriven()
Dmeasfmttest.cpp3908 if (errorCode.errIfFailureAndReset("MeasureFormat mf(...) failed.")) { in TestIndividualPluralFallback()
3913 if (errorCode.errIfFailureAndReset("Creating twoDeg failed.")) { in TestIndividualPluralFallback()
3920 if (errorCode.errIfFailureAndReset("mf.format(...) failed.")) { in TestIndividualPluralFallback()
3924 errorCode.errIfFailureAndReset("mf.format failed"); in TestIndividualPluralFallback()
3950 if (status.errIfFailureAndReset()) { return; } in Test20332_PersonUnits()
3952 if (status.errIfFailureAndReset()) { return; } in Test20332_PersonUnits()
4102 status.errIfFailureAndReset(); in TestIdentifiers()
4105 status.errIfFailureAndReset(); in TestIdentifiers()
4407 status.errIfFailureAndReset(); in TestCompoundUnitOperations()
4436 status.errIfFailureAndReset("Dimensionless MeasureUnit."); in TestCompoundUnitOperations()
[all …]
Dlocalematchertest.cpp587 if (errorCode.errIfFailureAndReset("LocaleMatcher::Builder::build()")) { in dataDriven()
650 if(errorCode.errIfFailureAndReset("ucbuf_open(localeMatcherTest.txt)")) { in testDataDriven()
662 if (errorCode.errIfFailureAndReset( in testDataDriven()
669 if (errorCode.errIfFailureAndReset("test error on line %d", (int)test.lineNr)) { in testDataDriven()
Dnumbertest_api.cpp1316 if (status.errIfFailureAndReset("NumberFormatter::forSkeleton failed")) { in unitSkeletons()
1323 status.errIfFailureAndReset("NumberFormatter::toSkeleton failed"); in unitSkeletons()
1418 status.errIfFailureAndReset("unitUsage() en-ZA road formatDouble"); in unitUsage()
1452 status.errIfFailureAndReset("unitUsage() en-GB road, formatDouble(...)"); in unitUsage()
1456 status.errIfFailureAndReset("unitUsage() en-GB road, getOutputUnit(...)"); in unitUsage()
1458 status.errIfFailureAndReset("unitUsage() en-GB road, toString(...)"); in unitUsage()
1488 status.errIfFailureAndReset("unitUsage() en-US road, formatDouble(...)"); in unitUsage()
1492 status.errIfFailureAndReset("unitUsage() en-US road, getOutputUnit(...)"); in unitUsage()
1494 status.errIfFailureAndReset("unitUsage() en-US road, toString(...)"); in unitUsage()
1526 status.errIfFailureAndReset("unitUsage() en-GB person formatDouble"); in unitUsage()
[all …]
Dnumfmtst.cpp2167 status.errIfFailureAndReset(); in TestCurrencyVariants()
9083 status.errIfFailureAndReset(); in TestSignAlwaysShown()
9099 status.errIfFailureAndReset(); in TestMinimumGroupingDigits()
9102 status.errIfFailureAndReset(); in TestMinimumGroupingDigits()
9134 if (status.errIfFailureAndReset()) { continue; } in TestMinimumGroupingDigits()
9138 if (status.errIfFailureAndReset()) { continue; } in TestMinimumGroupingDigits()
9217 errorCode.errIfFailureAndReset("DecimalFormat.format(NAN, FieldPositionIterator) failed"); in Test10354()
9502 if (status.errIfFailureAndReset()) { in Test13804_EmptyStringsWhenParsing()
9533 if (status.errIfFailureAndReset()) { in Test13804_EmptyStringsWhenParsing()
9561 status.errIfFailureAndReset(); in Test13804_EmptyStringsWhenParsing()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/unicode/
Dtestlog.h40 UBool errIfFailureAndReset();
41 UBool errIfFailureAndReset(const char *fmt, ...);
/third_party/icu/icu4c/source/tools/ctestfw/unicode/
Dtestlog.h40 UBool errIfFailureAndReset();
41 UBool errIfFailureAndReset(const char *fmt, ...);
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/unicode/
Dtestlog.h40 UBool errIfFailureAndReset();
41 UBool errIfFailureAndReset(const char *fmt, ...);
/third_party/icu/icu4c/source/tools/ctestfw/
Dtstdtmod.cpp28 UBool IcuTestErrorCode::errIfFailureAndReset() { in errIfFailureAndReset() function in IcuTestErrorCode
39 UBool IcuTestErrorCode::errIfFailureAndReset(const char *fmt, ...) { in errIfFailureAndReset() function in IcuTestErrorCode
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/
Dtstdtmod.cpp28 UBool IcuTestErrorCode::errIfFailureAndReset() { in errIfFailureAndReset() function in IcuTestErrorCode
39 UBool IcuTestErrorCode::errIfFailureAndReset(const char *fmt, ...) { in errIfFailureAndReset() function in IcuTestErrorCode
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/
Dtstdtmod.cpp28 UBool IcuTestErrorCode::errIfFailureAndReset() { in errIfFailureAndReset() function in IcuTestErrorCode
39 UBool IcuTestErrorCode::errIfFailureAndReset(const char *fmt, ...) { in errIfFailureAndReset() function in IcuTestErrorCode

12