MediaWiki  1.34.0
Scribunto_LuaTitleLibraryTest Class Reference

@covers Scribunto_LuaTitleLibrary @group Database More...

Inheritance diagram for Scribunto_LuaTitleLibraryTest:
Collaboration diagram for Scribunto_LuaTitleLibraryTest:

Public Member Functions

 testAddsLinks ()
 
- Public Member Functions inherited from Scribunto_LuaEngineTestBase
 __construct ( $name=null, array $data=[], $dataName='', $engineName=null)
 
 provideLuaData ()
 
 testLua ( $key, $testName, $expected)
 @dataProvider provideLuaData More...
 
 toString ()
 

Static Public Member Functions

static suite ( $className)
 

Protected Member Functions

 getTestModules ()
 
 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from Scribunto_LuaEngineTestBase
 getTestTitle ()
 Get the title used for unit tests. More...
 

Static Protected Attributes

static $moduleName = 'TitleLibraryTests'
 
- Static Protected Attributes inherited from Scribunto_LuaEngineTestBase
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

- Protected Attributes inherited from Scribunto_LuaEngineTestBase
string $luaTestName = null
 Name to display instead of the default. More...
 
array $skipTests = []
 Tests to skip. More...
 

Detailed Description

@covers Scribunto_LuaTitleLibrary @group Database

Definition at line 7 of file TitleLibraryTest.php.

Member Function Documentation

◆ getTestModules()

Scribunto_LuaTitleLibraryTest::getTestModules ( )
protected

Reimplemented from Scribunto_LuaEngineTestBase.

Definition at line 136 of file TitleLibraryTest.php.

◆ setUp()

Scribunto_LuaTitleLibraryTest::setUp ( )
protected

◆ suite()

static Scribunto_LuaTitleLibraryTest::suite (   $className)
static

Reimplemented from Scribunto_LuaEngineTestBase.

Definition at line 10 of file TitleLibraryTest.php.

References $wgInterwikiCache.

◆ tearDown()

Scribunto_LuaTitleLibraryTest::tearDown ( )
protected

Reimplemented from Scribunto_LuaEngineTestBase.

Definition at line 130 of file TitleLibraryTest.php.

References $wgHooks.

◆ testAddsLinks()

Scribunto_LuaTitleLibraryTest::testAddsLinks ( )

Member Data Documentation

◆ $moduleName

Scribunto_LuaTitleLibraryTest::$moduleName = 'TitleLibraryTests'
staticprotected

Definition at line 8 of file TitleLibraryTest.php.


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