Lines Matching defs:TestCollator

1903 class TestCollator  : public Collator
1954 TestCollator() : Collator() {};
1955 TestCollator(UCollationStrength collationStrength,
1959 inline UBool TestCollator::operator==(const Collator& other) const {
1960 // TestCollator has no fields, so we test for identity.
1967 // const TestCollator &o = (const TestCollator&)other;
1971 Collator* TestCollator::clone() const
1973 return new TestCollator();
1976 UCollationResult TestCollator::compare(const UnicodeString& source,
1987 UCollationResult TestCollator::compare(const UnicodeString& source,
1999 UCollationResult TestCollator::compare(const UChar* source,
2010 CollationKey& TestCollator::getCollationKey(const UnicodeString& source,
2023 CollationKey& TestCollator::getCollationKey(const UChar*source,
2033 int32_t TestCollator::getSortKey(const UnicodeString& source, uint8_t* result,
2043 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength,
2050 int32_t TestCollator::hashCode() const
2055 Locale TestCollator::getLocale(ULocDataLocaleType type, UErrorCode& status) const
2064 Collator::ECollationStrength TestCollator::getStrength() const
2069 void TestCollator::setStrength(Collator::ECollationStrength newStrength)
2075 UClassID TestCollator::getDynamicClassID(void) const
2080 void TestCollator::getVersion(UVersionInfo info) const
2086 void TestCollator::setAttribute(UColAttribute /*attr*/, UColAttributeValue /*value*/,
2091 UColAttributeValue TestCollator::getAttribute(UColAttribute attr,
2101 uint32_t TestCollator::setVariableTop(const UChar *varTop, int32_t len,
2111 uint32_t TestCollator::setVariableTop(const UnicodeString &varTop,
2121 void TestCollator::setVariableTop(uint32_t varTop, UErrorCode &status)
2129 uint32_t TestCollator::getVariableTop(UErrorCode &status) const
2139 UnicodeSet * TestCollator::getTailoredSet(UErrorCode &status) const
2144 void TestCollator::setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& actualLocale)
2152 TestCollator col1;
2153 TestCollator col2;
2154 doAssert(col1 != col2, "2 instances of TestCollator should be different");
2156 errln("Every TestCollator has the same hashcode");
2161 errln("TestCollator compare should be the same as the default "
2171 errln("TestCollator collationkey API is returning wrong values");
2190 TestCollator col3(UCOL_TERTIARY, UNORM_NONE);