X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/test/intltest/regextst.h diff --git a/icuSources/test/intltest/regextst.h b/icuSources/test/intltest/regextst.h index 12b7e634..cbae0e4a 100644 --- a/icuSources/test/intltest/regextst.h +++ b/icuSources/test/intltest/regextst.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2002-2008, International Business Machines Corporation and + * Copyright (c) 2002-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -13,6 +13,8 @@ #include "intltest.h" +struct UText; +typedef struct UText UText; class RegexTest: public IntlTest { public: @@ -30,12 +32,25 @@ public: virtual void Extended(); virtual void Errors(); virtual void PerlTests(); + virtual void Bug6149(); virtual void Callbacks(); + virtual void FindProgressCallbacks(); + virtual void UTextBasic(); + virtual void API_Match_UTF8(); + virtual void API_Pattern_UTF8(); + virtual void API_Replace_UTF8(); + virtual void PerlTestsUTF8(); + virtual void PreAllocatedUTextCAPI(); + virtual void Bug7651(); + virtual void Bug7740(); // The following functions are internal to the regexp tests. + virtual void assertUText(const char *expected, UText *actual, const char *file, int line); + virtual void assertUTextInvariant(const char *invariant, UText *actual, const char *file, int line); virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); + virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line); virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, - const UnicodeString &input, int32_t line); + const UnicodeString &input, const char *srcPath, int32_t line); virtual void regex_err(const char *pat, int32_t errline, int32_t errcol, UErrorCode expectedStatus, int32_t line); virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status);