MediaWiki
1.34.0
|
@covers Scribunto_LuaLanguageLibrary More...
Public Member Functions | |
__construct ( $name=null, array $data=[], $dataName='', $engineName=null) | |
testFormatDateTTLs () | |
Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase | |
provideLuaData () | |
testLua ( $key, $testName, $expected) | |
@dataProvider provideLuaData More... | |
toString () | |
Protected Member Functions | |
getTestModules () | |
Protected Member Functions inherited from Scribunto_LuaEngineUnitTestBase | |
tearDown () | |
Static Protected Attributes | |
static | $moduleName = 'LanguageLibraryTests' |
Static Protected Attributes inherited from Scribunto_LuaEngineUnitTestBase | |
static string | $dataProviderClass = 'Scribunto_LuaDataProvider' |
Class to use for the data provider. More... | |
static string | $moduleName = null |
Name of the module being tested. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase | |
static | suite ( $className) |
Protected Attributes inherited from Scribunto_LuaEngineUnitTestBase | |
string | $luaTestName = null |
Name to display instead of the default. More... | |
array | $skipTests = [] |
Tests to skip. More... | |
@covers Scribunto_LuaLanguageLibrary
Definition at line 6 of file LanguageLibraryTest.php.
Scribunto_LuaLanguageLibraryTest::__construct | ( | $name = null , |
|
array | $data = [] , |
||
$dataName = '' , |
|||
$engineName = null |
|||
) |
Reimplemented from Scribunto_LuaEngineUnitTestBase.
Definition at line 9 of file LanguageLibraryTest.php.
References Scribunto_LuaEngineUnitTestBase\$engineName, and Language\fetchLanguageName().
|
protected |
Reimplemented from Scribunto_LuaEngineUnitTestBase.
Definition at line 28 of file LanguageLibraryTest.php.
Scribunto_LuaLanguageLibraryTest::testFormatDateTTLs | ( | ) |
Definition at line 34 of file LanguageLibraryTest.php.
References Scribunto_LuaEngineUnitTestBase\$engine, $title, $wgContLang, getEngine(), Title\makeTitle(), and NS_MODULE.
|
staticprotected |
Definition at line 7 of file LanguageLibraryTest.php.