MediaWiki  master
LanguageMoTest Class Reference

Tests for MediaWiki languages/classes/LanguageMo.php. More...

Inheritance diagram for LanguageMoTest:
Collaboration diagram for LanguageMoTest:

Public Member Functions

 testGetPluralRuleType ( $result, $value)
 providePlural Language::getPluralRuleType More...
 testPlural ( $result, $value)
 providePlural Language::convertPlural More...

Static Public Member Functions

static providePlural ()

Additional Inherited Members

- Protected Member Functions inherited from LanguageClassesTestCase
 getLang ()
 setUp ()
 Create a new language object before each test. More...
 tearDown ()
 Delete the internal language object so each test start out with a fresh language instance. More...

Detailed Description

Tests for MediaWiki languages/classes/LanguageMo.php.

Definition at line 9 of file LanguageMoTest.php.

Member Function Documentation

◆ providePlural()

static LanguageMoTest::providePlural ( )

Definition at line 27 of file LanguageMoTest.php.

◆ testGetPluralRuleType()

LanguageMoTest::testGetPluralRuleType (   $result,

providePlural Language::getPluralRuleType

Definition at line 23 of file LanguageMoTest.php.

References $value, and LanguageClassesTestCase\getLang().

◆ testPlural()

LanguageMoTest::testPlural (   $result,

providePlural Language::convertPlural

Definition at line 14 of file LanguageMoTest.php.

References $value, and LanguageClassesTestCase\getLang().

The documentation for this class was generated from the following file: