Home
last modified time | relevance | path

Searched refs:assertSuccess (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/icu/icu4c/source/test/intltest/
Dscientificnumberformattertest.cpp58 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestBasic()
72 if (!assertSuccess("Can't create ScientificNumberFormatter2", status)) { in TestBasic()
96 assertSuccess("", status); in TestBasic()
106 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestFarsi()
115 assertSuccess("", status); in TestFarsi()
126 if (!assertSuccess("", status)) { in TestPlusSignInExponentMarkup()
133 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestPlusSignInExponentMarkup()
142 assertSuccess("", status); in TestPlusSignInExponentMarkup()
153 if (!assertSuccess("", status)) { in TestPlusSignInExponentSuperscript()
160 if (!assertSuccess("Can't create ScientificNumberFormatter", status)) { in TestPlusSignInExponentSuperscript()
[all …]
Dnumbertest_modifiers.cpp30 assertSuccess("Spot 1", status); in testConstantAffixModifier()
34 assertSuccess("Spot 2", status); in testConstantAffixModifier()
43 assertSuccess("Spot 1", status); in testConstantMultiFieldModifier()
49 assertSuccess("Spot 2", status); in testConstantMultiFieldModifier()
53 assertSuccess("Spot 3", status); in testConstantMultiFieldModifier()
82 assertSuccess("Spot 1", status); in testSimpleModifier()
86 assertSuccess("Spot 2", status); in testSimpleModifier()
96 assertSuccess("Spot 3", status); in testSimpleModifier()
104 if (!assertSuccess("Spot 1", status, true)) { in testCurrencySpacingEnabledModifier()
111 assertSuccess("Spot 2", status); in testCurrencySpacingEnabledModifier()
[all …]
Dformatted_string_builder_test.cpp68 assertSuccess("Appending to sb2", status); in testInsertAppendUnicodeString()
70 assertSuccess("Appending to sb3", status); in testInsertAppendUnicodeString()
80 assertSuccess("Appending to sb5", status); in testInsertAppendUnicodeString()
82 assertSuccess("Inserting into sb5", status); in testInsertAppendUnicodeString()
89 assertSuccess("Inserting into sb5 again", status); in testInsertAppendUnicodeString()
96 assertSuccess("Appending again to sb5", status); in testInsertAppendUnicodeString()
131 assertSuccess("Splicing into sb2 first time", status); in testSplice()
144 assertSuccess("Splicing into sb2 second time", status); in testSplice()
160 assertSuccess("Appending to sb2", status); in testInsertAppendCodePoint()
162 assertSuccess("Appending to sb3", status); in testInsertAppendCodePoint()
[all …]
Dtufmtts.cpp112 if (!assertSuccess("TimeUnitFormat(full)", status, true)) return; in testBasic()
114 if (!assertSuccess("TimeUnitFormat(short)", status)) return; in testBasic()
133 if (!assertSuccess("TimeUnitAmount()", status)) return; in testBasic()
138 if (!assertSuccess("format()", status)) return; in testBasic()
146 if (!assertSuccess("parseObject()", status)) return; in testBasic()
153 if (!assertSuccess("parseObject()", status)) return; in testBasic()
172 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI()
197 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI()
203 if (!assertSuccess("TimeUnit::createInstance", status)) return; in testAPI()
224 if (!assertSuccess("TimeUnitAmount(formattable...)", status)) return; in testAPI()
[all …]
Dnumbertest_patternmodifier.cpp28 assertSuccess("Spot 1", status); in testBasic()
33 if (!assertSuccess("Spot 2", status, true)) { in testBasic()
58 assertSuccess("Spot 3", status); in testBasic()
71 assertSuccess("Spot 3.5", status); in testBasic()
75 assertSuccess("Spot 4", status); in testBasic()
99 assertSuccess("Spot 5", status); in testBasic()
112 assertSuccess("Spot 5.5", status); in testBasic()
120 assertSuccess("Spot 1", status); in testPatternWithNoPlaceholder()
125 if (!assertSuccess("Spot 2", status, true)) { in testPatternWithNoPlaceholder()
133 assertSuccess("Spot 3", status); in testPatternWithNoPlaceholder()
[all …]
Dsimpleformattertest.cpp87 assertSuccess("Status", status); in TestNoArguments()
103 if (!assertSuccess("Status", status)) { in TestOneArgument()
129 assertSuccess("Status", status); in TestOneArgument()
135 if (!assertSuccess("Status", status)) { in TestBigArgument()
147 assertSuccess("Status", status); in TestBigArgument()
155 if (!assertSuccess("Status", status)) { in TestManyArguments()
176 if (!assertSuccess("Status", status)) { in TestManyArguments()
244 assertSuccess("Status", status); in TestManyArguments()
285 assertSuccess("", status); in TestBadArguments()
353 if (!assertSuccess("Status", status)) { in TestFormatReplaceNoOptimization()
[all …]
Ddcfmapts.cpp670 assertSuccess(WHERE, status); in TestFixedDecimal()
676 assertSuccess(WHERE, status); in TestFixedDecimal()
682 assertSuccess(WHERE, status); in TestFixedDecimal()
688 assertSuccess(WHERE, status); in TestFixedDecimal()
690 assertSuccess(WHERE, status); in TestFixedDecimal()
700 assertSuccess(WHERE, status); in TestFixedDecimal()
712 assertSuccess(WHERE, status); in TestFixedDecimal()
722 assertSuccess(WHERE, status); in TestFixedDecimal()
735 assertSuccess(WHERE, status); in TestFixedDecimal()
745 assertSuccess(WHERE, status); in TestFixedDecimal()
[all …]
Dnumbertest_affixutils.cpp129 assertSuccess("Constructing DefaultSymbolProvider", status); in testUnescape()
136 assertSuccess("Spot 1", status); in testUnescape()
138 assertSuccess("Spot 2", status); in testUnescape()
141 assertSuccess("Spot 3", status); in testUnescape()
145 assertSuccess("Spot 4", status); in testUnescape()
171 assertSuccess("Spot 1", status); in testContainsReplaceType()
174 assertSuccess("Spot 2", status); in testContainsReplaceType()
184 assertSuccess("Constructing DefaultSymbolProvider", status); in testInvalid()
229 assertSuccess("Spot 1", status); in testUnescapeWithSymbolProvider()
237 assertSuccess("Spot 2", status); in testUnescapeWithSymbolProvider()
[all …]
Ddtifmtts.cpp1240 if (!assertSuccess("parse 1st data in expect", ec)) return; in expect()
1242 if (!assertSuccess("parse 2nd data in expect", ec)) return; in expect()
1248 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; in expect()
1251 if (!assertSuccess("format in expect", ec)) return; in expect()
1517 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII()
1519 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII()
1527 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII()
1529 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII()
1532 if (!assertSuccess("createInstance(skeleton,dtitvinf) in expectUserDII", ec)) return; in expectUserDII()
1535 if (!assertSuccess("format in expectUserDII", ec)) return; in expectUserDII()
[all …]
Dunifiedcachetest.cpp123 assertSuccess("", status); in TestEvictionPolicy()
167 assertSuccess("T4", status); in TestEvictionPolicy()
184 assertSuccess("T0", status); in TestBounded()
293 assertSuccess("T18", status); in TestBounded()
300 assertSuccess("", status); in TestBasic()
325 assertSuccess("T1", status); in TestBasic()
349 assertSuccess("T7", status); in TestBasic()
355 assertSuccess("", status); in TestError()
Dnumfmtst.cpp680 if (assertSuccess("", status, true, __FILE__, __LINE__)) { in TestScientificGrouping()
2091 assertSuccess("ucurr_getName", ec); in TestCurrencyNames()
2220 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2227 assertSuccess("non-standard", ec); in TestCurrencyUnit()
2278 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2283 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2311 assertSuccess("Restoring from MeasureUnit", ec); in TestCurrencyUnit()
2321 assertSuccess("Creating meter", ec); in TestCurrencyUnit()
2355 assertSuccess("CurrencyAmount", ec); in TestCurrencyAmount()
2501 if (!assertSuccess("DecimalFormat ct", ec)) return; in TestPerMill()
[all …]
Dsvccoll.cpp492 assertSuccess("count", ec); in checkStringEnumeration()
497 if (!assertSuccess("snext", ec) || s == NULL) in checkStringEnumeration()
523 if (!assertSuccess("unext", ec) || s == NULL) in checkStringEnumeration()
573 if (!assertSuccess("getKeywords", ec)) return; in TestSeparateTree()
579 if (!assertSuccess("getKeywordValues", ec)) return; in TestSeparateTree()
587 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
595 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
603 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
611 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
Dnumfmtspectest.cpp200 assertSuccess("", status); in TestPadding()
218 assertSuccess("", status); in TestPadding()
237 assertSuccess("", status); in TestPadding()
264 assertSuccess("", status); in assertPatternFr()
Dmeasfmttest.cpp287 assertSuccess("", status); in TestCompatible53()
414 assertSuccess("", status); in TestCompatible54()
542 assertSuccess("", status); in TestCompatible55()
677 assertSuccess("", status); in TestCompatible56()
817 assertSuccess("", status); in TestCompatible57()
961 assertSuccess("", status); in TestCompatible58()
1102 assertSuccess("", status); in TestCompatible59()
1250 assertSuccess("", status); in TestCompatible63()
1579 assertSuccess("", status); in TestCompatible64()
1930 assertSuccess("", status); in TestCompatible65()
[all …]
Dtstnorm.cpp1428 errorCode.assertSuccess(); in TestSkippable()
1585 assertSuccess("normalizeUTF8 with Edits", errorCode.get()); in TestComposeUTF8WithEdits()
1616 assertSuccess("normalizeUTF8 omit unchanged", errorCode.get()); in TestComposeUTF8WithEdits()
1632 assertSuccess("filtered normalizeUTF8", errorCode.get()); in TestComposeUTF8WithEdits()
1664 assertSuccess("filtered normalizeUTF8 omit unchanged", errorCode.get()); in TestComposeUTF8WithEdits()
1691 assertSuccess("normalizeUTF8 with Edits", errorCode.get()); in TestDecomposeUTF8WithEdits()
1726 assertSuccess("normalizeUTF8 omit unchanged", errorCode.get()); in TestDecomposeUTF8WithEdits()
1811 assertSuccess("normalize", errorCode.get()); in TestNormalizeIllFormedText()
1827 assertSuccess("normalizeUTF8", errorCode.get()); in TestNormalizeIllFormedText()
1843 assertSuccess("normalize(LV+11A7)", errorCode.get()); in TestComposeJamoTBase()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dulistfmttest.c142 assertSuccess("Opening", &ec); in TestUListFmtToValue()
153 assertSuccess("Formatting", &ec); in TestUListFmtToValue()
184 assertSuccess("Formatting", &ec); in TestUListFmtToValue()
223 assertSuccess("Opening", &ec); in TestUListOpenStyled()
234 assertSuccess("Formatting", &ec); in TestUListOpenStyled()
262 assertSuccess("ulistfmt_openForType", &status); in TestUList21871_A()
268 assertSuccess("ulistfmt_openResult", &status); in TestUList21871_A()
271 assertSuccess("ulistfmt_formatStringsToResult", &status); in TestUList21871_A()
274 assertSuccess("ulistfmt_resultAsValue", &status); in TestUList21871_A()
283 assertSuccess("ucfpos_open", &status); in TestUList21871_A()
[all …]
Duformattedvaluetst.c43 assertSuccess("opening ucfpos", &status); in TestBasic()
62 assertSuccess("opening ucfpos", &status); in TestSetters()
66 assertSuccess("setters 0", &status); in TestSetters()
78 assertSuccess("setters 1", &status); in TestSetters()
90 assertSuccess("setters 2", &status); in TestSetters()
102 assertSuccess("setters 3", &status); in TestSetters()
114 assertSuccess("setters 4", &status); in TestSetters()
156 assertSuccess(AAPE_MSG("_"), &status); in AssertAllPartsEqual()
160 assertSuccess(AAPE_MSG("field"), &status); in AssertAllPartsEqual()
165 assertSuccess(AAPE_MSG("indexes"), &status); in AssertAllPartsEqual()
[all …]
Dunumberformattertst.c69 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToString()
76 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
81 assertSuccess("Should format double without error", &ec); in TestSkeletonFormatToString()
83 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
88 assertSuccess("Should format decimal without error", &ec); in TestSkeletonFormatToString()
90 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
109 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToFields()
204 assertSuccess("There should not be a failure in the example code", &ec); in TestExampleCode()
221 assertSuccess("Should create result without error", &ec); in TestFormattedValue()
226 assertSuccess("Should convert without error", &ec); in TestFormattedValue()
[all …]
Dcpluralrulestest.c270 if (!assertSuccess("open plural rules", &ec)) { in TestFormatted()
275 if (!assertSuccess("open unumf", &ec)) { in TestFormatted()
280 if (!assertSuccess("open result", &ec)) { in TestFormatted()
285 if (!assertSuccess("format", &ec)) { in TestFormatted()
291 if (!assertSuccess("select", &ec)) { in TestFormatted()
314 if (!assertSuccess("open plural rules", &ec)) { in TestSelectRange()
326 if (!assertSuccess("open unumrf", &ec)) { in TestSelectRange()
331 if (!assertSuccess("open result", &ec)) { in TestSelectRange()
336 if (!assertSuccess("format", &ec)) { in TestSelectRange()
342 if (!assertSuccess("select", &ec)) { in TestSelectRange()
Dcdateintervalformattest.c366 assertSuccess("Opening", &ec); in TestFormatToResult()
372 assertSuccess("Formatting", &ec); in TestFormatToResult()
398 assertSuccess("Formatting", &ec); in TestFormatToResult()
436 assertSuccess("Opening", &ec); in TestFormatCalendarToResult()
442 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
468 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
497 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
531 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
Dcrelativedateformattest.c498 assertSuccess("Looking for numeric", &status); in TestNumericField()
553 assertSuccess("Looking for numeric", &status); in TestNumericField()
656 assertSuccess("Creating RelDTFmt", &ec); in TestFields()
658 assertSuccess("Creating FmtVal", &ec); in TestFields()
661 assertSuccess("formatNumeric", &ec); in TestFields()
664 assertSuccess("Should convert without error", &ec); in TestFields()
679 assertSuccess("format", &ec); in TestFields()
682 assertSuccess("Should convert without error", &ec); in TestFields()
Dunumberrangeformattertst.c92 assertSuccess("Should create result without error", &ec); in TestFormattedValue()
99 assertSuccess("Should convert without error", &ec); in TestFormattedValue()
175 assertSuccess("Should create result without error", &ec); in TestGetDecimalNumbers()
Dcdattst.c1254 if (!assertSuccess("udat_format", ec)) return false; in _aux1ExtremeDates()
1658 if (!assertSuccess("udat_open()", &status)) { in TestOverrideNumberFormat()
1667 assertSuccess("unum_open()", &status); in TestOverrideNumberFormat()
1670 assertSuccess("udat_setNumberFormatForField()", &status); in TestOverrideNumberFormat()
1681 assertSuccess("unum_open()", &status); in TestOverrideNumberFormat()
1696 assertSuccess("udat_open() with en_US", &status); in TestOverrideNumberFormat()
1699 assertSuccess("unum_open() in loop", &status); in TestOverrideNumberFormat()
1716 assertSuccess("unum_open() in mixed", &status); in TestOverrideNumberFormat()
1719 assertSuccess("udat_setNumberFormatForField() in mixed", &status); in TestOverrideNumberFormat()
1731 assertSuccess("udat_setNumberFormatForField() in loop", &status); in TestOverrideNumberFormat()
[all …]
Dcnumtst.c2184 assertSuccess("unum_open(UNUM_SCIENTIFIC, ...)", &status); in TestNoExponent()
2306 assertSuccess("Creating UNumberFormat", &status); in TestSignAlwaysShown()
2310 assertSuccess("Formatting with UNumberFormat", &status); in TestSignAlwaysShown()
2324 assertSuccess("Creating UNumberFormat", &status); in TestMinimumGroupingDigits()
2328 assertSuccess("Formatting with UNumberFormat A", &status); in TestMinimumGroupingDigits()
2331 assertSuccess("Formatting with UNumberFormat B", &status); in TestMinimumGroupingDigits()
2345 assertSuccess("Creating UNumberFormat", &status); in TestParseCaseSensitive()
2347 assertSuccess("Parsing with UNumberFormat, case insensitive", &status); in TestParseCaseSensitive()
2352 assertSuccess("Parsing with UNumberFormat, case sensitive", &status); in TestParseCaseSensitive()
2395 if(assertSuccess("unum_parseToUFormattable(31337)", &status)) { in TestUFormattable()
[all …]
/third_party/icu/tools/unicode/c/genuts46/
Dgenuts46.cpp156 errorCode.assertSuccess(); in main()
162 errorCode.assertSuccess(); in main()
211 errorCode.assertSuccess(); in main()
232 errorCode.assertSuccess(); in main()
276 errorCode.assertSuccess(); in main()

1234