1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2002-2012, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
10 * UCAConformanceTest performs conformance tests defined in the data
11 * files. ICU ships with stub data files, as the whole test are too
12 * long. To do the whole test, download the test files.
18 #include "unicode/utypes.h"
20 #if !UCONFIG_NO_COLLATION
22 #include "unicode/tblcoll.h"
27 class UCAConformanceTest: public IntlTestCollator {
30 virtual ~UCAConformanceTest();
32 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par = NULL */);
34 void TestTableNonIgnorable(/* par */);
35 void TestTableShifted(/* par */);
36 void TestRulesNonIgnorable(/* par */);
37 void TestRulesShifted(/* par */);
40 void setCollNonIgnorable(Collator *coll);
41 void setCollShifted(Collator *coll);
42 void testConformance(const Collator *coll);
43 void openTestFile(const char *type);
45 RuleBasedCollator *UCA; // rule-based so rules are available
49 char testDataPath[1024];
53 #endif /* #if !UCONFIG_NO_COLLATION */