Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: source/test/intltest/regextst.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/test/intltest/regcoll.cpp ('k') | source/test/intltest/regextst.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /******************************************************************** 1 /********************************************************************
2 * COPYRIGHT: 2 * COPYRIGHT:
3 * Copyright (c) 2002-2014, International Business Machines Corporation and 3 * Copyright (c) 2002-2015, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 7
8 #ifndef REGEXTST_H 8 #ifndef REGEXTST_H
9 #define REGEXTST_H 9 #define REGEXTST_H
10 10
11 #include "unicode/utypes.h" 11 #include "unicode/utypes.h"
12 #if !UCONFIG_NO_REGULAR_EXPRESSIONS 12 #if !UCONFIG_NO_REGULAR_EXPRESSIONS
13 13
(...skipping 20 matching lines...) Expand all
34 virtual void PerlTests(); 34 virtual void PerlTests();
35 virtual void Bug6149(); 35 virtual void Bug6149();
36 virtual void Callbacks(); 36 virtual void Callbacks();
37 virtual void FindProgressCallbacks(); 37 virtual void FindProgressCallbacks();
38 virtual void UTextBasic(); 38 virtual void UTextBasic();
39 virtual void API_Match_UTF8(); 39 virtual void API_Match_UTF8();
40 virtual void API_Pattern_UTF8(); 40 virtual void API_Pattern_UTF8();
41 virtual void API_Replace_UTF8(); 41 virtual void API_Replace_UTF8();
42 virtual void PerlTestsUTF8(); 42 virtual void PerlTestsUTF8();
43 virtual void PreAllocatedUTextCAPI(); 43 virtual void PreAllocatedUTextCAPI();
44 virtual void NamedCapture();
45 virtual void NamedCaptureLimits();
44 virtual void Bug7651(); 46 virtual void Bug7651();
45 virtual void Bug7740(); 47 virtual void Bug7740();
46 virtual void Bug8479(); 48 virtual void Bug8479();
47 virtual void Bug7029(); 49 virtual void Bug7029();
48 virtual void Bug9283(); 50 virtual void Bug9283();
49 virtual void CheckInvBufSize(); 51 virtual void CheckInvBufSize();
50 virtual void Bug10459(); 52 virtual void Bug10459();
51 virtual void TestCaseInsensitiveStarters(); 53 virtual void TestCaseInsensitiveStarters();
52 virtual void TestBug11049(); 54 virtual void TestBug11049();
53 virtual void TestBug11371(); 55 virtual void TestBug11371();
56 virtual void TestBug11480();
54 57
55 // The following functions are internal to the regexp tests. 58 // The following functions are internal to the regexp tests.
56 virtual void assertUText(const char *expected, UText *actual, const char *fi le, int line); 59 virtual void assertUText(const char *expected, UText *actual, const char *fi le, int line);
57 virtual void assertUTextInvariant(const char *invariant, UText *actual, cons t char *file, int line); 60 virtual void assertUTextInvariant(const char *invariant, UText *actual, cons t char *file, int line);
58 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking , UBool match, int32_t line); 61 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking , UBool match, int32_t line);
59 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool loo king, UBool match, int32_t line); 62 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool loo king, UBool match, int32_t line);
60 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags , 63 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags ,
61 const UnicodeString &input, const char *srcPath, int 32_t line); 64 const UnicodeString &input, const char *srcPath, int 32_t line);
62 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol, 65 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
63 UErrorCode expectedStatus, int32_t line); 66 UErrorCode expectedStatus, int32_t line);
64 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status); 67 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status);
65 virtual const char *getPath(char buffer[2048], const char *filename); 68 virtual const char *getPath(char buffer[2048], const char *filename);
66 69
67 virtual void TestCase11049(const char *pattern, const char *data, UBool expe ctMatch, int32_t lineNumber); 70 virtual void TestCase11049(const char *pattern, const char *data, UBool expe ctMatch, int32_t lineNumber);
68 71
69 static const char* extractToAssertBuf(const UnicodeString& message); 72 static const char* extractToAssertBuf(const UnicodeString& message);
70 73
71 }; 74 };
72 75
73 #endif // !UCONFIG_NO_REGULAR_EXPRESSIONS 76 #endif // !UCONFIG_NO_REGULAR_EXPRESSIONS
74 #endif 77 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/regcoll.cpp ('k') | source/test/intltest/regextst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698