]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/canittst.h
1 /********************************************************************
3 * Copyright (c) 2002-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************
7 * @author Mark E. Davis
8 * @author Vladimir Weinstein
12 * Test Canonical Iterator
18 #include "unicode/utypes.h"
20 #if !UCONFIG_NO_NORMALIZATION
29 #include "unicode/translit.h"
33 class CanonicalIteratorTest
: public IntlTest
{
35 CanonicalIteratorTest();
36 virtual ~CanonicalIteratorTest();
38 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
40 void TestCanonicalIterator(void);
41 void TestExhaustive(void);
44 UnicodeString
collectionToString(Hashtable
*col
);
45 //static UnicodeString collectionToString(Collection col);
47 void expectEqual(const UnicodeString
&message
, const UnicodeString
&item
, const UnicodeString
&a
, const UnicodeString
&b
);
49 Transliterator
*nameTrans
;
50 Transliterator
*hexTrans
;
52 UnicodeString
getReadable(const UnicodeString
&obj
);
55 #endif /* #if !UCONFIG_NO_NORMALIZATION */