Home
last modified time | relevance | path

Searched refs:assertIntEquals (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Duformattedvaluetst.c157 assertIntEquals(AAPE_MSG("category"), category, _category); in AssertAllPartsEqual()
161 assertIntEquals(AAPE_MSG("field"), field, _field); in AssertAllPartsEqual()
166 assertIntEquals(AAPE_MSG("start"), start, _start); in AssertAllPartsEqual()
167 assertIntEquals(AAPE_MSG("limit"), limit, _limit); in AssertAllPartsEqual()
171 assertIntEquals(AAPE_MSG("context"), context, _context); in AssertAllPartsEqual()
198 assertIntEquals(message, 0, length); in checkFormattedValueString()
204 assertIntEquals(message, actualLength, length); in checkFormattedValueString()
225 assertIntEquals("category", in checkFormattedValue()
227 assertIntEquals("field", in checkFormattedValue()
231 assertIntEquals("start", in checkFormattedValue()
[all …]
Dunumberrangeformattertst.c71 assertIntEquals("Length should be as expected", resultLength, len); in TestExampleCode()
114 assertIntEquals("Identity result should match", in TestFormattedValue()
151 assertIntEquals("Should have set error code", U_NUMBER_SKELETON_SYNTAX_ERROR, ec); in TestSkeletonParseError()
152 assertIntEquals("Should have correct skeleton error offset", 17, perror.offset); in TestSkeletonParseError()
183 assertIntEquals("First len should be as expected", strlen(buffer), len); in TestGetDecimalNumbers()
187 assertIntEquals("Second len should be as expected", strlen(buffer), len); in TestGetDecimalNumbers()
Dunumberformattertst.c109 assertIntEquals("Field position should be correct", 14, ufpos.beginIndex); in TestSkeletonFormatToFields()
110 assertIntEquals("Field position should be correct", 15, ufpos.endIndex); in TestSkeletonFormatToFields()
163assertIntEquals("Grouping separator begin index", expected.beginIndex, actual.beginIndex); in TestSkeletonFormatToFields()
164 assertIntEquals("Grouping separator end index", expected.endIndex, actual.endIndex); in TestSkeletonFormatToFields()
166 assertIntEquals("Should have seen all grouping separators", 4, i); in TestSkeletonFormatToFields()
256 assertIntEquals("Should have set error code", U_NUMBER_SKELETON_SYNTAX_ERROR, ec); in TestSkeletonParseError()
257 assertIntEquals("Should have correct skeleton error offset", 17, perror.offset); in TestSkeletonParseError()
285 assertIntEquals("Length should be as expected", strlen(buffer), len); in TestToDecimalNumber()
Dcintltst.h148 U_CFUNC UBool assertIntEquals(const char* msg, int64_t expected, int64_t actual);
Dcrelativedateformattest.c481 assertIntEquals("String length", ulenexp, ulenget); in TestNumericField()
536 assertIntEquals("String length", ulenexp, ulenget); in TestNumericField()
Dcpluralrulestest.c345 assertIntEquals("Length should be as expected", u_strlen(buffer), len); in TestSelectRange()
Dcintltst.c569 U_CFUNC UBool assertIntEquals(const char* message, int64_t expected, int64_t actual) { in assertIntEquals() function
Dcloctst.c887 assertIntEquals("countAvailable() should be same in old and new methods", in TestGetAvailableLocalesByType()
896 assertIntEquals("String length should be correct", uprv_strlen(old), len); in TestGetAvailableLocalesByType()
935 assertIntEquals("Should return as many strings as claimed", in TestGetAvailableLocalesByType()
944 assertIntEquals("After reset, should return as many strings as claimed", in TestGetAvailableLocalesByType()
Dcnumtst.c2333 assertIntEquals("Result with case sensitive", 100, (int64_t)result); in TestParseCaseSensitive()
2338 assertIntEquals("Position with case sensitive", 1, ppos); in TestParseCaseSensitive()
2339 assertIntEquals("Result with case sensitive", 1, (int64_t)result); in TestParseCaseSensitive()