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