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

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

Issue 822213003: ICU upgrade to 54.1 step 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: readme: better wrapping, declspec patch dropped Created 5 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/stubdata/stubdata.c ('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-2014, 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
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void PreAllocatedUTextCAPI(); 43 virtual void PreAllocatedUTextCAPI();
44 virtual void Bug7651(); 44 virtual void Bug7651();
45 virtual void Bug7740(); 45 virtual void Bug7740();
46 virtual void Bug8479(); 46 virtual void Bug8479();
47 virtual void Bug7029(); 47 virtual void Bug7029();
48 virtual void Bug9283(); 48 virtual void Bug9283();
49 virtual void CheckInvBufSize(); 49 virtual void CheckInvBufSize();
50 virtual void Bug10459(); 50 virtual void Bug10459();
51 virtual void TestCaseInsensitiveStarters(); 51 virtual void TestCaseInsensitiveStarters();
52 virtual void TestBug11049(); 52 virtual void TestBug11049();
53 virtual void TestBug11371();
53 54
54 // The following functions are internal to the regexp tests. 55 // The following functions are internal to the regexp tests.
55 virtual void assertUText(const char *expected, UText *actual, const char *fi le, int line); 56 virtual void assertUText(const char *expected, UText *actual, const char *fi le, int line);
56 virtual void assertUTextInvariant(const char *invariant, UText *actual, cons t char *file, int line); 57 virtual void assertUTextInvariant(const char *invariant, UText *actual, cons t char *file, int line);
57 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking , UBool match, int32_t line); 58 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking , UBool match, int32_t line);
58 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool loo king, UBool match, int32_t line); 59 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool loo king, UBool match, int32_t line);
59 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags , 60 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags ,
60 const UnicodeString &input, const char *srcPath, int 32_t line); 61 const UnicodeString &input, const char *srcPath, int 32_t line);
61 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol, 62 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
62 UErrorCode expectedStatus, int32_t line); 63 UErrorCode expectedStatus, int32_t line);
63 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status); 64 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status);
64 virtual const char *getPath(char buffer[2048], const char *filename); 65 virtual const char *getPath(char buffer[2048], const char *filename);
65 66
66 virtual void TestCase11049(const char *pattern, const char *data, UBool expe ctMatch, int32_t lineNumber); 67 virtual void TestCase11049(const char *pattern, const char *data, UBool expe ctMatch, int32_t lineNumber);
67 68
68 static const char* extractToAssertBuf(const UnicodeString& message); 69 static const char* extractToAssertBuf(const UnicodeString& message);
69 70
70 }; 71 };
71 72
72 #endif // !UCONFIG_NO_REGULAR_EXPRESSIONS 73 #endif // !UCONFIG_NO_REGULAR_EXPRESSIONS
73 #endif 74 #endif
OLDNEW
« no previous file with comments | « source/stubdata/stubdata.c ('k') | source/test/intltest/regextst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698