]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/test/intltest/citrtest.h
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / test / intltest / citrtest.h
... / ...
CommitLineData
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2002, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7#ifndef CHARITERTEST_H
8#define CHARITERTEST_H
9
10#include "intltest.h"
11#include "unicode/uiter.h"
12
13/**
14 * Some tests for CharacterIterator and StringCharacterIterator
15 **/
16class CharIterTest: public IntlTest {
17public:
18 CharIterTest();
19
20 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
21
22 /**
23 * Test Constructors and operators ==, != and a few other methods
24 **/
25 void TestConstructionAndEquality(void);
26 /**
27 * Test Constructors and operators ==, != and a few other methods for UChariter
28 **/
29 void TestConstructionAndEqualityUChariter(void);
30 /**
31 * test the iteration functionality in different ways
32 **/
33 void TestIteration(void);
34 /**
35 * test the iteration functionality in different ways with unicodestring of UChar32's
36 **/
37 void TestIterationUChar32(void);
38
39 void TestUCharIterator();
40 void TestUCharIterator(UCharIterator *iter, CharacterIterator &ci, const char *moves, const char *which);
41 void TestCoverage();
42 void TestCharIteratorSubClasses();
43};
44
45#endif
46