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

Unified Diff: source/test/intltest/usettest.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/intltest/unifiedcachetest.cpp ('k') | source/test/intltest/usettest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/usettest.h
diff --git a/source/test/intltest/usettest.h b/source/test/intltest/usettest.h
index 940834067641c5fc38eb03156447819c3a4b4cbc..06a3633f52c1c20b7b148d68133809df538b6bfc 100644
--- a/source/test/intltest/usettest.h
+++ b/source/test/intltest/usettest.h
@@ -1,7 +1,7 @@
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2007, International Business Machines Corporation and
+ * Copyright (c) 1997-2015, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************
**********************************************************************
@@ -18,6 +18,7 @@
#include "unicode/uniset.h"
#include "unicode/ucnv_err.h"
#include "intltest.h"
+#include "cmemory.h"
class UnicodeSetWithStrings;
@@ -87,6 +88,8 @@ private:
void TestStringSpan();
+ void TestUCAUnsafeBackwards();
+
private:
UBool toPatternAux(UChar32 start, UChar32 end);
@@ -136,6 +139,8 @@ private:
* get the same thing back
*/
void checkRoundTrip(const UnicodeSet& s);
+
+ void checkSerializeRoundTrip(const UnicodeSet& s, UErrorCode &ec);
void copyWithIterator(UnicodeSet& t, const UnicodeSet& s, UBool withRange);
@@ -183,6 +188,8 @@ private:
UConverter *utf8Cnv;
+ MaybeStackArray<uint16_t, 16> serializeBuffer;
+
public:
static UnicodeString escape(const UnicodeString& s);
};
« no previous file with comments | « source/test/intltest/unifiedcachetest.cpp ('k') | source/test/intltest/usettest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698