Home | History | Annotate | Download | only in intltest

Lines Matching refs:CollationKey

476     CollationKey sortk1, sortk2, sortk3;
490 // CollationKey -- Tests the CollationKey methods
495 logln("testing CollationKey begins...");
506 CollationKey sortk1, sortk2;
513 CollationKey sortkNone;
518 CollationKey sortkEmpty;
530 CollationKey sortkIgnorable;
558 CollationKey sortk3(sortk2), sortkNew;
589 CollationKey sortk4(byteArray1, cnt1), sortk5(byteArray2, cnt2);
590 CollationKey sortk6(byteArray3, cnt3), sortk7(byteArray4, cnt4);
592 doAssert(sortk1.compareTo(sortk4) == Collator::EQUAL, "CollationKey::toByteArray(sortk1) Failed.");
593 doAssert(sortk2.compareTo(sortk5) == Collator::EQUAL, "CollationKey::toByteArray(sortk2) Failed.");
595 doAssert(sortk1.compareTo(sortk6) == Collator::EQUAL, "CollationKey::getByteArray(sortk1) Failed.");
596 doAssert(sortk2.compareTo(sortk7) == Collator::EQUAL, "CollationKey::getByteArray(sortk2) Failed.");
1106 CollationKey key1;
1109 CollationKey key2;
1112 CollationKey key3;
1271 CollationKey collKey;
1960 id = *((char *)CollationKey::getStaticClassID());
1962 errln("Static class id for CollationKey should be 0");
1964 CollationKey *key = new CollationKey();
1967 errln("Dynamic class id for CollationKey should be 0");
2003 virtual CollationKey& getCollationKey(const UnicodeString& source,
2004 CollationKey& key,
2006 virtual CollationKey& getCollationKey(const UChar*source,
2008 CollationKey& key,
2091 CollationKey& TestCollator::getCollationKey(const UnicodeString& source,
2092 CollationKey& key,
2099 CollationKey tempkey((uint8_t*)temp, length);
2104 CollationKey& TestCollator::getCollationKey(const UChar*source,
2106 CollationKey& key,
2109 //s tack allocation used since collationkey does not keep the unicodestring
2245 CollationKey key;
2252 errln("TestCollator collationkey API is returning wrong values");