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

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.
 
static string $moduleName = null
 Name of the module being tested.
 

Additional Inherited Members

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

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

Definition at line 26 of file TitleLibraryTest.php.

References $title, $wgHooks, getEngine(), and NS_MAIN.

◆ 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: