summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h')
-rw-r--r--Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h b/Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h
new file mode 100644
index 00000000000..09521c76605
--- /dev/null
+++ b/Build/source/libs/icu/icu-4.6/test/intltest/citrtest.h
@@ -0,0 +1,46 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2002, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#ifndef CHARITERTEST_H
+#define CHARITERTEST_H
+
+#include "intltest.h"
+#include "unicode/uiter.h"
+
+/**
+ * Some tests for CharacterIterator and StringCharacterIterator
+ **/
+class CharIterTest: public IntlTest {
+public:
+ CharIterTest();
+
+ void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
+
+ /**
+ * Test Constructors and operators ==, != and a few other methods
+ **/
+ void TestConstructionAndEquality(void);
+ /**
+ * Test Constructors and operators ==, != and a few other methods for UChariter
+ **/
+ void TestConstructionAndEqualityUChariter(void);
+ /**
+ * test the iteration functionality in different ways
+ **/
+ void TestIteration(void);
+ /**
+ * test the iteration functionality in different ways with unicodestring of UChar32's
+ **/
+ void TestIterationUChar32(void);
+
+ void TestUCharIterator();
+ void TestUCharIterator(UCharIterator *iter, CharacterIterator &ci, const char *moves, const char *which);
+ void TestCoverage();
+ void TestCharIteratorSubClasses();
+};
+
+#endif
+