/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 2002, International Business Machines Corporation and
+ * COPYRIGHT:
+ * Copyright (c) 2002-2012, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#if !UCONFIG_NO_COLLATION
#include "unicode/tblcoll.h"
-#include "unicode/ustring.h"
#include "tscoll.h"
-#include "uparse.h"
-#include "cstring.h"
#include <stdio.h>
void TestRulesShifted(/* par */);
private:
void initRbUCA();
- void setCollNonIgnorable(UCollator *coll);
- void setCollShifted(UCollator *coll);
- void testConformance(UCollator *coll);
+ void setCollNonIgnorable(Collator *coll);
+ void setCollShifted(Collator *coll);
+ void testConformance(const Collator *coll);
void openTestFile(const char *type);
- UCollator *UCA;
- UCollator *rbUCA;
+ RuleBasedCollator *UCA; // rule-based so rules are available
+ Collator *rbUCA;
FILE *testFile;
UErrorCode status;
char testDataPath[1024];
+ UBool isAtLeastUCA62;
};
#endif /* #if !UCONFIG_NO_COLLATION */