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/
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 …]
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 …]
Dformatted_string_builder_test.cpp66 assertSuccess("Appending to sb2", status); in testInsertAppendUnicodeString()
68 assertSuccess("Appending to sb3", status); in testInsertAppendUnicodeString()
78 assertSuccess("Appending to sb5", status); in testInsertAppendUnicodeString()
80 assertSuccess("Inserting into sb5", status); in testInsertAppendUnicodeString()
87 assertSuccess("Inserting into sb5 again", status); in testInsertAppendUnicodeString()
94 assertSuccess("Appending again to sb5", status); in testInsertAppendUnicodeString()
129 assertSuccess("Splicing into sb2 first time", status); in testSplice()
142 assertSuccess("Splicing into sb2 second time", status); in testSplice()
158 assertSuccess("Appending to sb2", status); in testInsertAppendCodePoint()
160 assertSuccess("Appending to sb3", status); in testInsertAppendCodePoint()
[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()
62 assertSuccess("Spot 4", status); in testBasic()
86 assertSuccess("Spot 5", status); in testBasic()
94 assertSuccess("Spot 1", status); in testPatternWithNoPlaceholder()
99 if (!assertSuccess("Spot 2", status, true)) { in testPatternWithNoPlaceholder()
107 assertSuccess("Spot 3", status); in testPatternWithNoPlaceholder()
109 assertSuccess("Spot 4", status); in testPatternWithNoPlaceholder()
115 assertSuccess("Spot 5", status); in testPatternWithNoPlaceholder()
[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 …]
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.cpp665 assertSuccess(WHERE, status); in TestFixedDecimal()
671 assertSuccess(WHERE, status); in TestFixedDecimal()
677 assertSuccess(WHERE, status); in TestFixedDecimal()
683 assertSuccess(WHERE, status); in TestFixedDecimal()
685 assertSuccess(WHERE, status); in TestFixedDecimal()
695 assertSuccess(WHERE, status); in TestFixedDecimal()
707 assertSuccess(WHERE, status); in TestFixedDecimal()
717 assertSuccess(WHERE, status); in TestFixedDecimal()
730 assertSuccess(WHERE, status); in TestFixedDecimal()
740 assertSuccess(WHERE, status); in TestFixedDecimal()
[all …]
Dnumbertest_affixutils.cpp126 assertSuccess("Constructing DefaultSymbolProvider", status); in testUnescape()
133 assertSuccess("Spot 1", status); in testUnescape()
135 assertSuccess("Spot 2", status); in testUnescape()
138 assertSuccess("Spot 3", status); in testUnescape()
142 assertSuccess("Spot 4", status); in testUnescape()
168 assertSuccess("Spot 1", status); in testContainsReplaceType()
171 assertSuccess("Spot 2", status); in testContainsReplaceType()
181 assertSuccess("Constructing DefaultSymbolProvider", status); in testInvalid()
226 assertSuccess("Spot 1", status); in testUnescapeWithSymbolProvider()
234 assertSuccess("Spot 2", status); in testUnescapeWithSymbolProvider()
[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()
Ddtifmtts.cpp1212 if (!assertSuccess("parse 1st data in expect", ec)) return; in expect()
1214 if (!assertSuccess("parse 2nd data in expect", ec)) return; in expect()
1220 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; in expect()
1223 if (!assertSuccess("format in expect", ec)) return; in expect()
1489 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII()
1491 if (!assertSuccess("parse in expectUserDII", ec)) return; in expectUserDII()
1499 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII()
1501 if (!assertSuccess("DateIntervalInfo::setIntervalPattern", ec)) return; in expectUserDII()
1504 if (!assertSuccess("createInstance(skeleton,dtitvinf) in expectUserDII", ec)) return; in expectUserDII()
1507 if (!assertSuccess("format in expectUserDII", ec)) return; in expectUserDII()
[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()
571 if (!assertSuccess("getKeywords", ec)) return; in TestSeparateTree()
577 if (!assertSuccess("getKeywordValues", ec)) return; in TestSeparateTree()
585 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
593 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
601 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
609 assertSuccess("getFunctionalEquivalent", ec); in TestSeparateTree()
Dnumfmtst.cpp676 if (assertSuccess("", status, true, __FILE__, __LINE__)) { in TestScientificGrouping()
2087 assertSuccess("ucurr_getName", ec); in TestCurrencyNames()
2216 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2223 assertSuccess("non-standard", ec); in TestCurrencyUnit()
2274 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2279 assertSuccess("CurrencyUnit", ec); in TestCurrencyUnit()
2307 assertSuccess("Restoring from MeasureUnit", ec); in TestCurrencyUnit()
2317 assertSuccess("Creating meter", ec); in TestCurrencyUnit()
2351 assertSuccess("CurrencyAmount", ec); in TestCurrencyAmount()
2497 if (!assertSuccess("DecimalFormat ct", ec)) return; in TestPerMill()
[all …]
Dnumfmtspectest.cpp200 assertSuccess("", status); in TestPadding()
218 assertSuccess("", status); in TestPadding()
237 assertSuccess("", status); in TestPadding()
264 assertSuccess("", status); in assertPatternFr()
Dmeasfmttest.cpp283 assertSuccess("", status); in TestCompatible53()
410 assertSuccess("", status); in TestCompatible54()
538 assertSuccess("", status); in TestCompatible55()
673 assertSuccess("", status); in TestCompatible56()
813 assertSuccess("", status); in TestCompatible57()
957 assertSuccess("", status); in TestCompatible58()
1098 assertSuccess("", status); in TestCompatible59()
1246 assertSuccess("", status); in TestCompatible63()
1575 assertSuccess("", status); in TestCompatible64()
1926 assertSuccess("", status); in TestCompatible65()
[all …]
Dnumbertest_patternstring.cpp77 assertSuccess(input, status); in testToPatternSimple()
112 assertSuccess("Spot 1", status); in testBug13117()
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/
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.c62 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToString()
69 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
74 assertSuccess("Should format double without error", &ec); in TestSkeletonFormatToString()
76 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
81 assertSuccess("Should format decimal without error", &ec); in TestSkeletonFormatToString()
83 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
102 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToFields()
197 assertSuccess("There should not be a failure in the example code", &ec); in TestExampleCode()
214 assertSuccess("Should create result without error", &ec); in TestFormattedValue()
219 assertSuccess("Should convert without error", &ec); in TestFormattedValue()
[all …]
Dcpluralrulestest.c268 if (!assertSuccess("open plural rules", &ec)) { in TestFormatted()
273 if (!assertSuccess("open unumf", &ec)) { in TestFormatted()
278 if (!assertSuccess("open result", &ec)) { in TestFormatted()
283 if (!assertSuccess("format", &ec)) { in TestFormatted()
289 if (!assertSuccess("select", &ec)) { in TestFormatted()
312 if (!assertSuccess("open plural rules", &ec)) { in TestSelectRange()
324 if (!assertSuccess("open unumrf", &ec)) { in TestSelectRange()
329 if (!assertSuccess("open result", &ec)) { in TestSelectRange()
334 if (!assertSuccess("format", &ec)) { in TestSelectRange()
340 if (!assertSuccess("select", &ec)) { in TestSelectRange()
Dulistfmttest.c138 assertSuccess("Opening", &ec); in TestUListFmtToValue()
149 assertSuccess("Formatting", &ec); in TestUListFmtToValue()
180 assertSuccess("Formatting", &ec); in TestUListFmtToValue()
219 assertSuccess("Opening", &ec); in TestUListOpenStyled()
230 assertSuccess("Formatting", &ec); in TestUListOpenStyled()
Dcdateintervalformattest.c367 assertSuccess("Opening", &ec); in TestFormatToResult()
373 assertSuccess("Formatting", &ec); in TestFormatToResult()
399 assertSuccess("Formatting", &ec); in TestFormatToResult()
437 assertSuccess("Opening", &ec); in TestFormatCalendarToResult()
443 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
469 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
498 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
532 assertSuccess("Formatting", &ec); in TestFormatCalendarToResult()
Dcrelativedateformattest.c496 assertSuccess("Looking for numeric", &status); in TestNumericField()
551 assertSuccess("Looking for numeric", &status); in TestNumericField()
654 assertSuccess("Creating RelDTFmt", &ec); in TestFields()
656 assertSuccess("Creating FmtVal", &ec); in TestFields()
659 assertSuccess("formatNumeric", &ec); in TestFields()
662 assertSuccess("Should convert without error", &ec); in TestFields()
677 assertSuccess("format", &ec); in TestFields()
680 assertSuccess("Should convert without error", &ec); in TestFields()
Dunumberrangeformattertst.c91 assertSuccess("Should create result without error", &ec); in TestFormattedValue()
98 assertSuccess("Should convert without error", &ec); in TestFormattedValue()
174 assertSuccess("Should create result without error", &ec); in TestGetDecimalNumbers()
/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()
/third_party/skia/third_party/externals/icu/source/common/
Derrorcode.cpp32 void ErrorCode::assertSuccess() const { in assertSuccess() function in ErrorCode

1234