Home
last modified time | relevance | path

Searched refs:assertRuleKeyValue (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dplurults.h50 void assertRuleKeyValue(const UnicodeString& rule, const UnicodeString& key,
Dplurults.cpp364 assertRuleKeyValue("a:" + rule, "a", expected); in assertRuleValue()
368 PluralRulesTest::assertRuleKeyValue(const UnicodeString& rule, in assertRuleKeyValue() function in PluralRulesTest
393 assertRuleKeyValue("a: n is 1", "not_defined", UPLRULES_NO_UNIQUE_VALUE); // key not defined in testGetUniqueKeywordValue()
394 assertRuleKeyValue("a: n is 1", "other", UPLRULES_NO_UNIQUE_VALUE); // key matches default rule in testGetUniqueKeywordValue()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralRulesTest.java643 assertRuleKeyValue("a:" + rule, "a", value);
646 private void assertRuleKeyValue(String rule, String key, double value) {
656assertRuleKeyValue("a: n is 1", "not_defined", PluralRules.NO_UNIQUE_VALUE); // key not defined
668assertRuleKeyValue("a: n is 1", "other", PluralRules.NO_UNIQUE_VALUE); // key matches default rule
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java705 assertRuleKeyValue("a:" + rule, "a", value);
708 private void assertRuleKeyValue(String rule, String key, double value) {
718assertRuleKeyValue("a: n is 1", "not_defined", PluralRules.NO_UNIQUE_VALUE); // key not defined
730assertRuleKeyValue("a: n is 1", "other", PluralRules.NO_UNIQUE_VALUE); // key matches default rule