]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/strtest.h
1 /********************************************************************
3 * Copyright (c) 1997-2010, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /* file name: strtest.h
8 * tab size: 8 (not used)
11 * created on: 1999nov22
12 * created by: Markus W. Scherer
16 * Test character- and string- related settings in utypes.h,
17 * macros in putil.h, and constructors in unistr.h .
18 * Also basic tests for std_string.h and charstr.h .
26 class StringTest
: public IntlTest
{
29 virtual ~StringTest();
31 void runIndexedTest(int32_t index
, UBool exec
, const char *&name
, char *par
=NULL
);
35 void TestSizeofTypes();
36 void TestCharsetFamily();
38 void Test_UNICODE_STRING();
39 void Test_UNICODE_STRING_SIMPLE();
40 void Test_UTF8_COUNT_TRAIL_BYTES();
41 void TestStdNamespaceQualifier();
42 void TestUsingStdNamespace();
43 void TestStringPiece();
44 void TestStringPieceComparisons();
46 void TestCheckedArrayByteSink();
47 void TestStringByteSink();
48 void TestSTLCompatibility();
49 void TestCharString();