X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/fd0068a84e9996f225edba706498f6ed413d0673..46f4442e9a5a4f3b98b7c1083586332f6a8a99a4:/icuSources/test/intltest/utxttest.h?ds=sidebyside diff --git a/icuSources/test/intltest/utxttest.h b/icuSources/test/intltest/utxttest.h index 9057a50c..5e52f54d 100644 --- a/icuSources/test/intltest/utxttest.h +++ b/icuSources/test/intltest/utxttest.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2005-2006, International Business Machines Corporation and + * Copyright (c) 2005-2009, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /************************************************************************ @@ -31,6 +31,8 @@ public: void TextTest(); void ErrorTest(); void FreezeTest(); + void Ticket5560(); + void Ticket6847(); private: struct m { // Map between native indices & code points. @@ -40,10 +42,11 @@ private: void TestString(const UnicodeString &s); void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap); + void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap); void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map); void TestCopyMove(const UnicodeString &us, UText *ut, UBool move, - int32_t nativeStart, int32_t nativeLimit, int32_t nativeDest, - int32_t u16Start, int32_t u16Limit, int32_t u16Dest); + int32_t nativeStart, int32_t nativeLimit, int32_t nativeDest, + int32_t u16Start, int32_t u16Limit, int32_t u16Dest); void TestReplace(const UnicodeString &us, // reference UnicodeString in which to do the replace UText *ut, // UnicodeText object under test. int32_t nativeStart, // Range to be replaced, in UText native units.