X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..HEAD:/icuSources/test/intltest/strtest.h diff --git a/icuSources/test/intltest/strtest.h b/icuSources/test/intltest/strtest.h index dc0cd0fd..040c0b0e 100644 --- a/icuSources/test/intltest/strtest.h +++ b/icuSources/test/intltest/strtest.h @@ -1,10 +1,12 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2001, International Business Machines Corporation and + * Copyright (c) 1997-2015, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* file name: strtest.h -* encoding: US-ASCII +* encoding: UTF-8 * tab size: 8 (not used) * indentation:4 * @@ -15,6 +17,7 @@ /* * Test character- and string- related settings in utypes.h, * macros in putil.h, and constructors in unistr.h . + * Also basic tests for std_string.h and charstr.h . */ #ifndef __STRTEST_H__ @@ -25,15 +28,33 @@ class StringTest : public IntlTest { public: StringTest() {} - virtual ~StringTest() {} + virtual ~StringTest(); void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=NULL); private: - void TestEndian(void); - void TestSizeofWCharT(void); - void TestSizeofInt64(void); - void TestCharsetFamily(void); + void TestEndian(); + void TestSizeofTypes(); + void TestCharsetFamily(); + void Test_U_STRING(); + void Test_UNICODE_STRING(); + void Test_UNICODE_STRING_SIMPLE(); + void TestUpperOrdinal(); + void TestLowerOrdinal(); + void Test_UTF8_COUNT_TRAIL_BYTES(); + void TestStringPiece(); + void TestStringPieceComparisons(); + void TestStringPieceOther(); +#ifdef U_HAVE_STRING_VIEW + void TestStringPieceStringView(); +#endif + void TestByteSink(); + void TestCheckedArrayByteSink(); + void TestStringByteSink(); + void TestSTLCompatibility(); + void TestCharString(); + void TestCStr(); + void Testctou(); }; #endif