MediaWiki
REL1_30
LanguageShiTest.php
Go to the documentation of this file.
1
<?php
2
3
class
LanguageShiTest
extends
LanguageClassesTestCase
{
8
public
function
testAutoConvertToAllVariants
( $result,
$value
) {
9
$this->assertEquals( $result, $this->
getLang
()->autoConvertToAllVariants(
$value
) );
10
}
11
12
public
static
function
provideAutoConvertToAllVariants
() {
13
return
[
14
[
15
[
16
'shi'
=>
'AƔ'
,
17
'shi-tfng'
=>
'ⴰⵖ'
,
18
'shi-latn'
=>
'AƔ'
,
19
],
20
'AƔ'
21
],
22
[
23
[
24
'shi'
=>
'ⴰⵖ'
,
25
'shi-tfng'
=>
'ⴰⵖ'
,
26
'shi-latn'
=>
'aɣ'
,
27
],
28
'ⴰⵖ'
29
],
30
];
31
}
32
}
LanguageClassesTestCase
Helping class to run tests using a clean language instance.
Definition
LanguageClassesTestCase.php:21
LanguageClassesTestCase\getLang
getLang()
Definition
LanguageClassesTestCase.php:41
LanguageShiTest
Definition
LanguageShiTest.php:3
LanguageShiTest\testAutoConvertToAllVariants
testAutoConvertToAllVariants( $result, $value)
provideAutoConvertToAllVariants Language::autoConvertToAllVariants
Definition
LanguageShiTest.php:8
LanguageShiTest\provideAutoConvertToAllVariants
static provideAutoConvertToAllVariants()
Definition
LanguageShiTest.php:12
$value
$value
Definition
styleTest.css.php:45
tests
phpunit
languages
classes
LanguageShiTest.php
Generated on Mon Nov 25 2024 15:44:04 for MediaWiki by
1.10.0