MediaWiki
1.34.0
|
@covers Scribunto_LuaTitleLibrary @group Database More...
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... | |
@covers Scribunto_LuaTitleLibrary @group Database
Definition at line 7 of file TitleLibraryTest.php.
|
protected |
Reimplemented from Scribunto_LuaEngineTestBase.
Definition at line 136 of file TitleLibraryTest.php.
|
protected |
Definition at line 26 of file TitleLibraryTest.php.
References $title, $wgHooks, WikiPage\factory(), getEngine(), Title\makeTitle(), Title\newFromText(), and NS_MAIN.
|
static |
Reimplemented from Scribunto_LuaEngineTestBase.
Definition at line 10 of file TitleLibraryTest.php.
References $wgInterwikiCache.
|
protected |
Reimplemented from Scribunto_LuaEngineTestBase.
Definition at line 130 of file TitleLibraryTest.php.
References $wgHooks.
Scribunto_LuaTitleLibraryTest::testAddsLinks | ( | ) |
Definition at line 142 of file TitleLibraryTest.php.
References Scribunto_LuaEngineTestBase\$engine, getEngine(), and NS_PROJECT.
|
staticprotected |
Definition at line 8 of file TitleLibraryTest.php.