]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/strtest.h
040c0b0e3c9f8017c346858f0d76d2215ed02d8f
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2015, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8 /* file name: strtest.h
10 * tab size: 8 (not used)
13 * created on: 1999nov22
14 * created by: Markus W. Scherer
18 * Test character- and string- related settings in utypes.h,
19 * macros in putil.h, and constructors in unistr.h .
20 * Also basic tests for std_string.h and charstr.h .
28 class StringTest
: public IntlTest
{
31 virtual ~StringTest();
33 void runIndexedTest(int32_t index
, UBool exec
, const char *&name
, char *par
=NULL
);
37 void TestSizeofTypes();
38 void TestCharsetFamily();
40 void Test_UNICODE_STRING();
41 void Test_UNICODE_STRING_SIMPLE();
42 void TestUpperOrdinal();
43 void TestLowerOrdinal();
44 void Test_UTF8_COUNT_TRAIL_BYTES();
45 void TestStringPiece();
46 void TestStringPieceComparisons();
47 void TestStringPieceOther();
48 #ifdef U_HAVE_STRING_VIEW
49 void TestStringPieceStringView();
52 void TestCheckedArrayByteSink();
53 void TestStringByteSink();
54 void TestSTLCompatibility();
55 void TestCharString();