Searched refs:expectErrorAndReset (Results 1 – 11 of 11) sorted by relevance
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | testlog.h | 44 UBool expectErrorAndReset(UErrorCode expectedError); 45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | tstdtmod.cpp | 82 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/ |
D | itutil.cpp | 294 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()
|
D | numbertest_api.cpp | 957 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()
|
D | listformattertest.cpp | 642 if (!status.expectErrorAndReset(U_MISSING_RESOURCE_ERROR, "style \"%s\"", badStyles[i])) { in TestBadStylesFail() 845 status.expectErrorAndReset(U_INPUT_TOO_LONG_ERROR); in TestInt32Overflow()
|
D | numbertest_decimalquantity.cpp | 469 status.expectErrorAndReset(U_FORMAT_INEXACT_ERROR); in testNickelRounding()
|
D | measfmttest.cpp | 3721 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()
|
D | loctest.cpp | 5467 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()
|
D | plurults.cpp | 1092 status.expectErrorAndReset(U_UNSUPPORTED_ERROR); in testSelectRange()
|
D | restsnew.cpp | 1254 if (!status.expectErrorAndReset(expected, "line %d", __LINE__)) { \
|
D | numfmtst.cpp | 2174 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()
|