Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dloctest.cpp1675 status.errIfFailureAndReset("\"%s\"", min.getName()); in TestAddLikelySubtags()
1689 status.errIfFailureAndReset("\"%s\"", max.getName()); in TestMinimizeSubtags()
3831 status.errIfFailureAndReset("\"%s\"", org); in TestAddLikelyAndMinimizeSubtags()
3844 status.errIfFailureAndReset("\"%s\"", org); in TestAddLikelyAndMinimizeSubtags()
3969 status.errIfFailureAndReset("\"%s\"", l.getName()); in TestCreateUnicodeKeywords()
3975 status.errIfFailureAndReset("key #1"); in TestCreateUnicodeKeywords()
3983 status.errIfFailureAndReset("key #2"); in TestCreateUnicodeKeywords()
3991 status.errIfFailureAndReset("end of keys"); in TestCreateUnicodeKeywords()
3999 status.errIfFailureAndReset("skey #1"); in TestCreateUnicodeKeywords()
4006 status.errIfFailureAndReset("skey #2"); in TestCreateUnicodeKeywords()
[all …]
Dunits_test.cpp357 if (status.errIfFailureAndReset("unum_open failed")) { in unitsTestDataLineFn()
363 if (status.errIfFailureAndReset("unum_parseDouble(\"%s\") failed", utf8Expected)) { in unitsTestDataLineFn()
369 if (status.errIfFailureAndReset("forIdentifier(\"%.*s\")", x.length(), x.data())) { in unitsTestDataLineFn()
375 if (status.errIfFailureAndReset("forIdentifier(\"%.*s\")", y.length(), y.data())) { in unitsTestDataLineFn()
387 if (status.errIfFailureAndReset("extractConvertibility(<%s>, <%s>, ...)", in unitsTestDataLineFn()
396 if (status.errIfFailureAndReset("msg construction")) { in unitsTestDataLineFn()
403 if (status.errIfFailureAndReset("constructor: UnitConverter(<%s>, <%s>, status)", in unitsTestDataLineFn()
428 if (errorCode.errIfFailureAndReset("unable to find the source/test/testdata " in testConversions()
440 …if (errorCode.errIfFailureAndReset("error parsing %s: %s\n", path.data(), u_errorName(errorCode)))… in testConversions()
703 …if (status.errIfFailureAndReset("parsing unitPreferencesTestData.txt test case: %s", fields[0][0])… in unitPreferencesTestDataLineFn()
[all …]
Dunits_data_test.cpp52 status.errIfFailureAndReset("getUnitCategory(%s)", t.unit); in testGetUnitCategory()
137 if (status.errIfFailureAndReset("getPreferencesFor(\"%s\", \"%s\", \"%s\", ...", t.category, in testGetPreferencesFor()
149 status.errIfFailureAndReset("testCase '%s'", t.name); in testGetPreferencesFor()
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()
Dnumbertest_skeletons.cpp144 status.errIfFailureAndReset(); in validTokens()
302 status.errIfFailureAndReset(); in defaultTokens()
327 status.errIfFailureAndReset(); in flexibleSeparators()
353 status.errIfFailureAndReset(); in wildcardCharacters()
435 status.errIfFailureAndReset(); in perUnitInArabic()
471 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 …]
Dbytestrietest.cpp406 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestIteratorFromBranch()
457 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestIteratorFromLinearMatch()
479 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromRoot()
534 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchShort()
563 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in TestTruncatingIteratorFromLinearMatchLong()
646 if(!errorCode.errIfFailureAndReset("add()/build()")) { in buildTrie()
908 if(errorCode.errIfFailureAndReset("BytesTrie::Iterator(trie) constructor")) { in checkIterator()
923 … if(errorCode.errIfFailureAndReset("trie iterator next() for item %d: %s", (int)i, data[i].s)) { in checkIterator()
945 errorCode.errIfFailureAndReset("trie iterator next() after all items"); in checkIterator()
Ddtifmtts.cpp1856 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1858 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1932 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1934 if (status.errIfFailureAndReset()) { return; } in testFormattedDateInterval()
1967 if (status.errIfFailureAndReset()) { break; } in testCreateInstanceForAllLocales()
1974 if (status.errIfFailureAndReset(locales[i].getName())) { in testCreateInstanceForAllLocales()
1988 status.errIfFailureAndReset(locales[i].getName()); in testCreateInstanceForAllLocales()
2070 if (status.errIfFailureAndReset()) { return; } in testFormatMillisecond()
2075 if (status.errIfFailureAndReset()) { continue; } in testFormatMillisecond()
2081 if (status.errIfFailureAndReset()) { continue; } in testFormatMillisecond()
[all …]
Dincaltst.cpp1001 if (status.errIfFailureAndReset("Cannot create calendar %s", locale)) { in checkConsistency()
1010 status.errIfFailureAndReset(); in checkConsistency()
1012 if (status.errIfFailureAndReset("Cannot set time")) { in checkConsistency()
1017 if (status.errIfFailureAndReset("Cannot set time")) { in checkConsistency()
1025 if (status.errIfFailureAndReset( in checkConsistency()
1057 status.errIfFailureAndReset(); in checkConsistency()
1076 status.errIfFailureAndReset(); in checkConsistency()
1086 if (status.errIfFailureAndReset("Cannot get time %s", locale)) { in checkConsistency()
1097 status.errIfFailureAndReset(); in checkConsistency()
1101 status.errIfFailureAndReset(); in checkConsistency()
[all …]
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()
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()
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()
Dlistformattertest.cpp502 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
531 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
558 if (status.errIfFailureAndReset()) { return; } in TestFormattedValue()
682 if (status.errIfFailureAndReset()) { in TestCreateStyled()
765 if (status.errIfFailureAndReset()) { in TestContextual()
804 if (status.errIfFailureAndReset()) { in TestNextPosition()
Dplurults.cpp795 …if (errorCode.errIfFailureAndReset("PluralRules::getPluralKeyword(<PluralRules>, <locale>, %d, %s)… in getPluralKeyword()
801 if (errorCode.errIfFailureAndReset("NumberFormatter::formatDouble(%d) failed", number)) { in getPluralKeyword()
806 … if (errorCode.errIfFailureAndReset("PluralRules->select(FormattedNumber of %d) failed", number)) { in getPluralKeyword()
815 if (errorCode.errIfFailureAndReset("PluralRules::forLocale(en, UPLURAL_TYPE_ORDINAL) failed")) { in testOrdinal()
1068 if (status.errIfFailureAndReset()) { in testSelectRange()
1090 if (status.errIfFailureAndReset()) { return; } in testSelectRange()
1299 status.errIfFailureAndReset(); in testSelectTrailingZeros()
1325 if (errorCode.errIfFailureAndReset("PluralRules::forLocale()")) { return; } in testLocaleExtension()
Dmeasfmttest.cpp3522 if (errorCode.errIfFailureAndReset("MeasureFormat mf(...) failed.")) { in TestIndividualPluralFallback()
3527 if (errorCode.errIfFailureAndReset("Creating twoDeg failed.")) { in TestIndividualPluralFallback()
3534 if (errorCode.errIfFailureAndReset("mf.format(...) failed.")) { in TestIndividualPluralFallback()
3538 errorCode.errIfFailureAndReset("mf.format failed"); in TestIndividualPluralFallback()
3564 if (status.errIfFailureAndReset()) { return; } in Test20332_PersonUnits()
3566 if (status.errIfFailureAndReset()) { return; } in Test20332_PersonUnits()
3671 status.errIfFailureAndReset(); in TestIdentifiers()
3674 status.errIfFailureAndReset(); in TestIdentifiers()
3874 status.errIfFailureAndReset(); in TestCompoundUnitOperations()
3903 status.errIfFailureAndReset("Dimensionless MeasureUnit."); in TestCompoundUnitOperations()
[all …]
Dcollationtest.cpp224 if(errorCode.errIfFailureAndReset("UnicodeSet")) { in TestImplicits()
239 if(errorCode.errIfFailureAndReset("CollationIterator.nextCE()")) { in TestImplicits()
276 if(errorCode.errIfFailureAndReset("CollationIterator.nextCE()")) { in TestNulTerminated()
477 if(errorCode.errIfFailureAndReset("FCDUTF16CollationIterator constructor")) { in TestFCD()
488 if(errorCode.errIfFailureAndReset("FCDUTF8CollationIterator constructor")) { in TestFCD()
497 if(errorCode.errIfFailureAndReset("FCDUIterCollationIterator constructor")) { in TestFCD()
872 if(errorCode.errIfFailureAndReset("failed to create a hash table")) { in TestTailoredElements()
900 if(errorCode.errIfFailureAndReset("Collator::createInstance(%s)", in TestTailoredElements()
1820 if(errorCode.errIfFailureAndReset("ucbuf_open(collationtest.txt)")) { in TestDataDriven()
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.cpp1053 if (status.errIfFailureAndReset("NumberFormatter::forSkeleton failed")) { in unitSkeletons()
1060 status.errIfFailureAndReset("NumberFormatter::toSkeleton failed"); in unitSkeletons()
1155 status.errIfFailureAndReset("unitUsage() en-ZA road formatDouble"); in unitUsage()
1189 status.errIfFailureAndReset("unitUsage() en-GB road, formatDouble(...)"); in unitUsage()
1193 status.errIfFailureAndReset("unitUsage() en-GB road, getOutputUnit(...)"); in unitUsage()
1195 status.errIfFailureAndReset("unitUsage() en-GB road, toString(...)"); in unitUsage()
1225 status.errIfFailureAndReset("unitUsage() en-US road, formatDouble(...)"); in unitUsage()
1229 status.errIfFailureAndReset("unitUsage() en-US road, getOutputUnit(...)"); in unitUsage()
1231 status.errIfFailureAndReset("unitUsage() en-US road, toString(...)"); in unitUsage()
1263 status.errIfFailureAndReset("unitUsage() en-GB person formatDouble"); in unitUsage()
[all …]
Dnumfmtst.cpp2166 status.errIfFailureAndReset(); in TestCurrencyVariants()
9082 status.errIfFailureAndReset(); in TestSignAlwaysShown()
9098 status.errIfFailureAndReset(); in TestMinimumGroupingDigits()
9101 status.errIfFailureAndReset(); in TestMinimumGroupingDigits()
9133 if (status.errIfFailureAndReset()) { continue; } in TestMinimumGroupingDigits()
9137 if (status.errIfFailureAndReset()) { continue; } in TestMinimumGroupingDigits()
9216 errorCode.errIfFailureAndReset("DecimalFormat.format(NAN, FieldPositionIterator) failed"); in Test10354()
9501 if (status.errIfFailureAndReset()) { in Test13804_EmptyStringsWhenParsing()
9532 if (status.errIfFailureAndReset()) { in Test13804_EmptyStringsWhenParsing()
9560 status.errIfFailureAndReset(); in Test13804_EmptyStringsWhenParsing()
[all …]
Ducdtest.cpp632 if (errorCode.errIfFailureAndReset("u_getBinaryPropertySet(%d)", (int)prop)) { in TestBinaryCharacterProperties()
678 if (errorCode.errIfFailureAndReset("u_getIntPropertyMap(%d)", (int)prop)) { in TestIntCharacterProperties()
Ddtptngts.cpp1437 if (status.errIfFailureAndReset()) { in test20640_HourCyclArsEnNH()
1444 if (status.errIfFailureAndReset()) { in test20640_HourCyclArsEnNH()
1448 if (status.errIfFailureAndReset()) { in test20640_HourCyclArsEnNH()
Dnumbertest_range.cpp689 if (status.errIfFailureAndReset()) { return; } in testPlurals()
725 status.errIfFailureAndReset(); in testPlurals()
Dformattedvaluetest.cpp215 if (!status.errIfFailureAndReset()) { in checkMixedFormattedValue()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dtestlog.h40 UBool errIfFailureAndReset();
41 UBool errIfFailureAndReset(const char *fmt, ...);
/external/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

12