MediaWiki
REL1_22
|
Tests for MediaWiki languages/classes/LanguageHe.php. More...
Public Member Functions | |
testFourPluralForms ($result, $value) | |
provideFourPluralForms Language::convertPlural | |
testGetPluralRuleType ($result, $value) | |
provideFourPluralForms Language::convertPlural | |
testGrammar ($result, $word, $case) | |
provideGrammar Language::convertGrammar | |
testThreePluralForms ($result, $value) | |
provideThreePluralForms Language::convertPlural | |
testTwoPluralForms ($result, $value) | |
The most common usage for the plural forms is two forms, for singular and plural. | |
Static Public Member Functions | |
static | provideFourPluralForms () |
static | provideGrammar () |
static | provideThreePluralForms () |
static | provideTwoPluralForms () |
Tests for MediaWiki languages/classes/LanguageHe.php.
Definition at line 9 of file LanguageHeTest.php.
static LanguageHeTest::provideFourPluralForms | ( | ) | [static] |
Definition at line 82 of file LanguageHeTest.php.
References array().
static LanguageHeTest::provideGrammar | ( | ) | [static] |
Definition at line 103 of file LanguageHeTest.php.
References array().
static LanguageHeTest::provideThreePluralForms | ( | ) | [static] |
Definition at line 71 of file LanguageHeTest.php.
References array().
static LanguageHeTest::provideTwoPluralForms | ( | ) | [static] |
Definition at line 60 of file LanguageHeTest.php.
References array().
LanguageHeTest::testFourPluralForms | ( | $ | result, |
$ | value | ||
) |
provideFourPluralForms Language::convertPlural
Definition at line 47 of file LanguageHeTest.php.
References $result, $value, array(), and LanguageClassesTestCase\getLang().
LanguageHeTest::testGetPluralRuleType | ( | $ | result, |
$ | value | ||
) |
provideFourPluralForms Language::convertPlural
Definition at line 56 of file LanguageHeTest.php.
References $result, $value, and LanguageClassesTestCase\getLang().
LanguageHeTest::testGrammar | ( | $ | result, |
$ | word, | ||
$ | case | ||
) |
provideGrammar Language::convertGrammar
Definition at line 97 of file LanguageHeTest.php.
References $result, and LanguageClassesTestCase\getLang().
LanguageHeTest::testThreePluralForms | ( | $ | result, |
$ | value | ||
) |
provideThreePluralForms Language::convertPlural
Definition at line 38 of file LanguageHeTest.php.
References $result, $value, array(), and LanguageClassesTestCase\getLang().
LanguageHeTest::testTwoPluralForms | ( | $ | result, |
$ | value | ||
) |
The most common usage for the plural forms is two forms, for singular and plural.
In this case, the second form is technically dual, but in practice it's used as plural. In some cases, usually with expressions of time, three forms are needed - singular, dual and plural. CLDR also specifies a fourth form for multiples of 10, which is very rare. It also has a mistake, because the number 10 itself is supposed to be just plural, so currently it's overridden in MediaWiki. provideTwoPluralForms Language::convertPlural
Definition at line 29 of file LanguageHeTest.php.
References $result, $value, array(), and LanguageClassesTestCase\getLang().