Home | History | Annotate | Download | only in intltest

Lines Matching defs:TestCollator

1969 class TestCollator  : public Collator
2020 TestCollator() : Collator() {};
2021 TestCollator(UCollationStrength collationStrength,
2025 inline UBool TestCollator::operator==(const Collator& other) const {
2026 // TestCollator has no fields, so we test for identity.
2033 // const TestCollator &o = (const TestCollator&)other;
2037 Collator* TestCollator::clone() const
2039 return new TestCollator();
2042 UCollationResult TestCollator::compare(const UnicodeString& source,
2053 UCollationResult TestCollator::compare(const UnicodeString& source,
2065 UCollationResult TestCollator::compare(const UChar* source,
2076 CollationKey& TestCollator::getCollationKey(const UnicodeString& source,
2089 CollationKey& TestCollator::getCollationKey(const UChar*source,
2099 int32_t TestCollator::getSortKey(const UnicodeString& source, uint8_t* result,
2109 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength,
2116 int32_t TestCollator::hashCode() const
2121 Locale TestCollator::getLocale(ULocDataLocaleType type, UErrorCode& status) const
2130 Collator::ECollationStrength TestCollator::getStrength() const
2135 void TestCollator::setStrength(Collator::ECollationStrength newStrength)
2141 UClassID TestCollator::getDynamicClassID(void) const
2146 void TestCollator::getVersion(UVersionInfo info) const
2152 void TestCollator::setAttribute(UColAttribute /*attr*/, UColAttributeValue /*value*/,
2157 UColAttributeValue TestCollator::getAttribute(UColAttribute attr,
2167 uint32_t TestCollator::setVariableTop(const UChar *varTop, int32_t len,
2177 uint32_t TestCollator::setVariableTop(const UnicodeString &varTop,
2187 void TestCollator::setVariableTop(uint32_t varTop, UErrorCode &status)
2195 uint32_t TestCollator::getVariableTop(UErrorCode &status) const
2205 UnicodeSet * TestCollator::getTailoredSet(UErrorCode &status) const
2210 void TestCollator::setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& actualLocale)
2218 TestCollator col1;
2219 TestCollator col2;
2220 doAssert(col1 != col2, "2 instances of TestCollator should be different");
2222 errln("Every TestCollator has the same hashcode");
2227 errln("TestCollator compare should be the same as the default "
2237 errln("TestCollator collationkey API is returning wrong values");
2256 TestCollator col3(UCOL_TERTIARY, UNORM_NONE);