MediaWiki  master
LanguageUkTest Class Reference
Inheritance diagram for LanguageUkTest:
Collaboration diagram for LanguageUkTest:

Public Member Functions

 testExplicitPlural ()
 Test explicit plural forms - n=FormN forms Language::convertPlural. More...
 
 testGetPluralRuleType ( $result, $value)
 providePlural Language::getPluralRuleType More...
 
 testGrammar ( $result, $word, $case)
 providerGrammar Language::convertGrammar More...
 
 testPlural ( $result, $value)
 providePlural Language::convertPlural More...
 
 testPluralTwoForms ( $result, $value)
 providePluralTwoForms Language::convertPlural More...
 

Static Public Member Functions

static providePlural ()
 
static providePluralTwoForms ()
 
static providerGrammar ()
 

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

Definition at line 9 of file LanguageUkTest.php.

Member Function Documentation

◆ providePlural()

static LanguageUkTest::providePlural ( )
static

Definition at line 38 of file LanguageUkTest.php.

◆ providePluralTwoForms()

static LanguageUkTest::providePluralTwoForms ( )
static

Definition at line 63 of file LanguageUkTest.php.

◆ providerGrammar()

static LanguageUkTest::providerGrammar ( )
static

Definition at line 80 of file LanguageUkTest.php.

◆ testExplicitPlural()

LanguageUkTest::testExplicitPlural ( )

Test explicit plural forms - n=FormN forms Language::convertPlural.

Definition at line 23 of file LanguageUkTest.php.

References LanguageClassesTestCase\getLang().

◆ testGetPluralRuleType()

LanguageUkTest::testGetPluralRuleType (   $result,
  $value 
)

providePlural Language::getPluralRuleType

Definition at line 34 of file LanguageUkTest.php.

References $value, and LanguageClassesTestCase\getLang().

◆ testGrammar()

LanguageUkTest::testGrammar (   $result,
  $word,
  $case 
)

providerGrammar Language::convertGrammar

Definition at line 76 of file LanguageUkTest.php.

References LanguageClassesTestCase\getLang().

◆ testPlural()

LanguageUkTest::testPlural (   $result,
  $value 
)

providePlural Language::convertPlural

Definition at line 14 of file LanguageUkTest.php.

References $value, and LanguageClassesTestCase\getLang().

◆ testPluralTwoForms()

LanguageUkTest::testPluralTwoForms (   $result,
  $value 
)

providePluralTwoForms Language::convertPlural

Definition at line 58 of file LanguageUkTest.php.

References $value, and LanguageClassesTestCase\getLang().


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