MediaWiki  1.34.0
Scribunto_LuaLanguageLibraryTest Class Reference

@covers Scribunto_LuaLanguageLibrary More...

Inheritance diagram for Scribunto_LuaLanguageLibraryTest:
Collaboration diagram for Scribunto_LuaLanguageLibraryTest:

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...
 

Detailed Description

@covers Scribunto_LuaLanguageLibrary

Definition at line 6 of file LanguageLibraryTest.php.

Constructor & Destructor Documentation

◆ __construct()

Scribunto_LuaLanguageLibraryTest::__construct (   $name = null,
array  $data = [],
  $dataName = '',
  $engineName = null 
)

Member Function Documentation

◆ getTestModules()

Scribunto_LuaLanguageLibraryTest::getTestModules ( )
protected

Reimplemented from Scribunto_LuaEngineUnitTestBase.

Definition at line 28 of file LanguageLibraryTest.php.

◆ testFormatDateTTLs()

Scribunto_LuaLanguageLibraryTest::testFormatDateTTLs ( )

Member Data Documentation

◆ $moduleName

Scribunto_LuaLanguageLibraryTest::$moduleName = 'LanguageLibraryTests'
staticprotected

Definition at line 7 of file LanguageLibraryTest.php.


The documentation for this class was generated from the following file: