Home
last modified time | relevance | path

Searched refs:expectErrorAndReset (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/tools/ctestfw/unicode/
Dtestlog.h44 UBool expectErrorAndReset(UErrorCode expectedError);
45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
/external/icu/icu4c/source/tools/ctestfw/
Dtstdtmod.cpp82 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError) { in expectErrorAndReset() function in IcuTestErrorCode
91 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...) { in expectErrorAndReset() function in IcuTestErrorCode
/external/icu/icu4c/source/test/intltest/
Ditutil.cpp294 testStatus.expectErrorAndReset(U_ILLEGAL_PAD_POSITION); in TestIcuTestErrorCode()
297 testStatus.expectErrorAndReset(U_ILLEGAL_CHAR_FOUND); in TestIcuTestErrorCode()
303 testStatus.expectErrorAndReset(U_ILLEGAL_PAD_POSITION, "%6.4f", 5.43); in TestIcuTestErrorCode()
305 testStatus.expectErrorAndReset(U_ILLEGAL_CHAR_FOUND, "%6.4f", 5.43); in TestIcuTestErrorCode()
Dnumbertest_api.cpp957 if (!status.expectErrorAndReset(U_UNSUPPORTED_ERROR)) { in unitCompoundMeasure()
969 if (!status.expectErrorAndReset(U_UNSUPPORTED_ERROR)) { in unitCompoundMeasure()
1097 if (status.expectErrorAndReset(cas.expectedForSkelStatus, cas.msg)) { in unitSkeletons()
1101 status.expectErrorAndReset(cas.expectedToSkelStatus, cas.msg); in unitSkeletons()
1135 status.expectErrorAndReset(U_UNSUPPORTED_ERROR); in unitSkeletons()
1148 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in unitUsage()
1421 status.expectErrorAndReset(U_NUMBER_SKELETON_SYNTAX_ERROR); in unitUsageErrorCodes()
1430 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in unitUsageErrorCodes()
Dlistformattertest.cpp642 if (!status.expectErrorAndReset(U_MISSING_RESOURCE_ERROR, "style \"%s\"", badStyles[i])) { in TestBadStylesFail()
845 status.expectErrorAndReset(U_INPUT_TOO_LONG_ERROR); in TestInt32Overflow()
Dnumbertest_decimalquantity.cpp469 status.expectErrorAndReset(U_FORMAT_INEXACT_ERROR); in testNickelRounding()
Dmeasfmttest.cpp3721 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestInvalidIdentifiers()
3876 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3878 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3880 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3882 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3918 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3920 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3925 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
3927 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestCompoundUnitOperations()
Dloctest.cpp5467 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR, "Default, short unicode keyword"); in TestConstructorAcceptsBCP47()
5477 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR, "Default, long unicode keyword"); in TestConstructorAcceptsBCP47()
6396 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestLeak21419()
Dplurults.cpp1092 status.expectErrorAndReset(U_UNSUPPORTED_ERROR); in testSelectRange()
Drestsnew.cpp1254 if (!status.expectErrorAndReset(expected, "line %d", __LINE__)) { \
Dnumfmtst.cpp2174 status.expectErrorAndReset(cas.expectedNarrowError); in TestCurrencyVariants()
7119 status.expectErrorAndReset(U_UNSUPPORTED_ERROR); in TestAvailableNumberingSystems()
9033 status.expectErrorAndReset(U_ILLEGAL_ARGUMENT_ERROR); in TestFormatFailIfMoreThanMaxDigits()
9692 if (status.expectErrorAndReset(cas.expectedError)) { in Test13850_EmptyStringCurrency()