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); |
}; |