X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/249c4c5ea9376c24572daf9c2effa7484a282f14..3d1f044b704633e2e541231cd17ae9ecf9ad5c7a:/icuSources/tools/ctestfw/unicode/testlog.h diff --git a/icuSources/tools/ctestfw/unicode/testlog.h b/icuSources/tools/ctestfw/unicode/testlog.h index 11b1c6e3..9db35b9c 100644 --- a/icuSources/tools/ctestfw/unicode/testlog.h +++ b/icuSources/tools/ctestfw/unicode/testlog.h @@ -41,6 +41,8 @@ public: UBool errIfFailureAndReset(const char *fmt, ...); UBool errDataIfFailureAndReset(); UBool errDataIfFailureAndReset(const char *fmt, ...); + UBool expectErrorAndReset(UErrorCode expectedError); + UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...); /** Sets an additional message string to be appended to failure output. */ void setScope(const char* message); @@ -54,7 +56,7 @@ private: const char *const testName; UnicodeString scopeMessage; - void errlog(UBool dataErr, const char* extraMessage) const; + void errlog(UBool dataErr, const UnicodeString& mainMessage, const char* extraMessage) const; }; #endif