]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/ucaconf.h
1 /********************************************************************
3 * Copyright (c) 2002-2012, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
8 * UCAConformanceTest performs conformance tests defined in the data
9 * files. ICU ships with stub data files, as the whole test are too
10 * long. To do the whole test, download the test files.
16 #include "unicode/utypes.h"
18 #if !UCONFIG_NO_COLLATION
20 #include "unicode/tblcoll.h"
25 class UCAConformanceTest
: public IntlTestCollator
{
28 virtual ~UCAConformanceTest();
30 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* /*par = NULL */);
32 void TestTableNonIgnorable(/* par */);
33 void TestTableShifted(/* par */);
34 void TestRulesNonIgnorable(/* par */);
35 void TestRulesShifted(/* par */);
38 void setCollNonIgnorable(Collator
*coll
);
39 void setCollShifted(Collator
*coll
);
40 void testConformance(const Collator
*coll
);
41 void openTestFile(const char *type
);
43 RuleBasedCollator
*UCA
; // rule-based so rules are available
47 char testDataPath
[1024];
51 #endif /* #if !UCONFIG_NO_COLLATION */