MediaWiki
REL1_32
LanguageKuTest.php
Go to the documentation of this file.
1
<?php
2
7
class
LanguageKuTest
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
'ku'
=>
'١'
,
21
'ku-arab'
=>
'١'
,
22
'ku-latn'
=>
'1'
,
23
],
24
'١'
25
],
26
[
27
[
28
'ku'
=>
'Wîkîpediya ensîklopediyeke azad bi rengê wîkî ye.'
,
29
'ku-arab'
=>
'ویکیپەدیائە نسیکلۆپەدیەکەئا زاد ب رەنگێ ویکی یە.'
,
30
'ku-latn'
=>
'Wîkîpediya ensîklopediyeke azad bi rengê wîkî ye.'
,
31
],
32
'Wîkîpediya ensîklopediyeke azad bi rengê wîkî ye.'
33
],
34
[
35
[
36
'ku'
=>
'ویکیپەدیا ەنسیکلۆپەدیەکەئا زاد ب رەنگێ ویکی یە.'
,
37
'ku-arab'
=>
'ویکیپەدیا ەنسیکلۆپەدیەکەئا زاد ب رەنگێ ویکی یە.'
,
38
'ku-latn'
=>
'wîkîpedîa ensîklopedîekea zad b rengê wîkî îe.'
,
39
],
40
'ویکیپەدیا ەنسیکلۆپەدیەکەئا زاد ب رەنگێ ویکی یە.'
41
],
42
];
43
}
44
}
LanguageClassesTestCase
Helping class to run tests using a clean language instance.
Definition
LanguageClassesTestCase.php:21
LanguageClassesTestCase\getLang
getLang()
Definition
LanguageClassesTestCase.php:41
LanguageKuTest
LanguageKu KuConverter.
Definition
LanguageKuTest.php:7
LanguageKuTest\provideAutoConvertToAllVariants
static provideAutoConvertToAllVariants()
Definition
LanguageKuTest.php:16
LanguageKuTest\testAutoConvertToAllVariants
testAutoConvertToAllVariants( $result, $value)
provideAutoConvertToAllVariants Language::autoConvertToAllVariants
Definition
LanguageKuTest.php:12
$value
$value
Definition
styleTest.css.php:49
tests
phpunit
languages
classes
LanguageKuTest.php
Generated on Mon Nov 25 2024 15:59:01 for MediaWiki by
1.10.0