OLD | NEW |
1 /******************************************************************** | 1 /******************************************************************** |
2 * COPYRIGHT: | 2 * COPYRIGHT: |
3 * Copyright (c) 1997-2012, International Business Machines Corporation and | 3 * Copyright (c) 1997-2015, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ********************************************************************/ | 5 ********************************************************************/ |
6 | 6 |
7 #ifndef UNICODESTRINGTEST_H | 7 #ifndef UNICODESTRINGTEST_H |
8 #define UNICODESTRINGTEST_H | 8 #define UNICODESTRINGTEST_H |
9 | 9 |
10 #include "unicode/unistr.h" | 10 #include "unicode/unistr.h" |
11 #include "intltest.h" | 11 #include "intltest.h" |
12 | 12 |
13 U_NAMESPACE_BEGIN | 13 U_NAMESPACE_BEGIN |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void TestBogus(); | 81 void TestBogus(); |
82 void TestStringEnumeration(); | 82 void TestStringEnumeration(); |
83 void TestNameSpace(); | 83 void TestNameSpace(); |
84 void TestUTF32(); | 84 void TestUTF32(); |
85 void TestUTF8(); | 85 void TestUTF8(); |
86 void TestReadOnlyAlias(); | 86 void TestReadOnlyAlias(); |
87 void doTestAppendable(UnicodeString &dest, Appendable &app); | 87 void doTestAppendable(UnicodeString &dest, Appendable &app); |
88 void TestAppendable(); | 88 void TestAppendable(); |
89 void TestUnicodeStringImplementsAppendable(); | 89 void TestUnicodeStringImplementsAppendable(); |
90 void TestSizeofUnicodeString(); | 90 void TestSizeofUnicodeString(); |
| 91 void TestMoveSwap(); |
91 }; | 92 }; |
92 | 93 |
93 class StringCaseTest: public IntlTest { | 94 class StringCaseTest: public IntlTest { |
94 public: | 95 public: |
95 StringCaseTest() {} | 96 StringCaseTest() {} |
96 virtual ~StringCaseTest(); | 97 virtual ~StringCaseTest(); |
97 | 98 |
98 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=
0); | 99 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=
0); |
99 | 100 |
100 void TestCaseConversion(); | 101 void TestCaseConversion(); |
101 | 102 |
102 void TestCasingImpl(const UnicodeString &input, | 103 void TestCasingImpl(const UnicodeString &input, |
103 const UnicodeString &output, | 104 const UnicodeString &output, |
104 int32_t whichCase, | 105 int32_t whichCase, |
105 void *iter, const char *localeID, uint32_t options); | 106 void *iter, const char *localeID, uint32_t options); |
106 void TestCasing(); | 107 void TestCasing(); |
107 void TestFullCaseFoldingIterator(); | 108 void TestFullCaseFoldingIterator(); |
108 }; | 109 }; |
109 | 110 |
110 #endif | 111 #endif |
OLD | NEW |