Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5978418
LanguageMnTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
LanguageMnTest.php
View Options
<?php
/**
* @author Amir E. Aharoni
* @copyright Copyright © 2012, Amir E. Aharoni
* @file
*/
/**
* @group Language
*/
class
LanguageMnTest
extends
LanguageClassesTestCase
{
/**
* @dataProvider providerGrammar
* @covers \MediaWiki\Language\Language::convertGrammar
*/
public
function
testGrammar
(
$result
,
$word
,
$case
)
{
$this
->
assertEquals
(
$result
,
$this
->
getLang
()->
convertGrammar
(
$word
,
$case
)
);
}
public
static
function
providerGrammar
()
{
yield
'Wikipedia genitive'
=>
[
'Википедиагийн'
,
'Википедиа'
,
'genitive'
,
];
yield
'Wiktionary genitive'
=>
[
'Викитолийн'
,
'Викитоль'
,
'genitive'
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 20:24 (3 d, 17 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
16/6c/2f2b3157e8840fb050cda8fb2332
Default Alt Text
LanguageMnTest.php (693 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment