MediaWiki
1.34.0
|
@covers ScribuntoEngineBase @covers Scribunto_LuaEngine @covers Scribunto_LuaStandaloneEngine @covers Scribunto_LuaSandboxEngine @covers Scribunto_LuaInterpreter @covers Scribunto_LuaStandaloneInterpreter @covers Scribunto_LuaSandboxInterpreter More...
Public Member Functions | |
provideVolatileCaching () | |
testBug62291 () | |
testCallParserFunction () | |
testFrames () | |
testGetCurrentFrameAndMWLoadData () | |
testGetCurrentFrameAtModuleScope () | |
testLoadDataLoadedOnce () | |
testModuleStringExtend () | |
testNoLeakedGlobals () | |
testNonUtf8Errors () | |
testOsDateTimeTTLs () | |
testPHPLibrary () | |
testVolatileCaching ( $func) | |
@dataProvider provideVolatileCaching More... | |
Public Member Functions inherited from Scribunto_LuaEngineTestBase | |
__construct ( $name=null, array $data=[], $dataName='', $engineName=null) | |
provideLuaData () | |
testLua ( $key, $testName, $expected) | |
@dataProvider provideLuaData More... | |
toString () | |
Protected Member Functions | |
getTestModules () | |
setUp () | |
Protected Member Functions inherited from Scribunto_LuaEngineTestBase | |
getTestTitle () | |
Get the title used for unit tests. More... | |
tearDown () | |
Static Protected Attributes | |
static | $moduleName = 'CommonTests' |
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... | |
Static Private Attributes | |
static | $allowedGlobals |
Additional Inherited Members | |
Static Public Member Functions inherited from Scribunto_LuaEngineTestBase | |
static | suite ( $className) |
Protected Attributes inherited from Scribunto_LuaEngineTestBase | |
string | $luaTestName = null |
Name to display instead of the default. More... | |
array | $skipTests = [] |
Tests to skip. More... | |
@covers ScribuntoEngineBase @covers Scribunto_LuaEngine @covers Scribunto_LuaStandaloneEngine @covers Scribunto_LuaSandboxEngine @covers Scribunto_LuaInterpreter @covers Scribunto_LuaStandaloneInterpreter @covers Scribunto_LuaSandboxInterpreter
Definition at line 12 of file CommonTest.php.
|
protected |
Reimplemented from Scribunto_LuaEngineTestBase.
Definition at line 83 of file CommonTest.php.
Scribunto_LuaCommonTest::provideVolatileCaching | ( | ) |
Definition at line 656 of file CommonTest.php.
|
protected |
Definition at line 52 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, and getEngine().
Scribunto_LuaCommonTest::testBug62291 | ( | ) |
Definition at line 485 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, $title, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testCallParserFunction | ( | ) |
Definition at line 358 of file CommonTest.php.
References $args, Scribunto_LuaEngineTestBase\$engine, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testFrames | ( | ) |
Definition at line 327 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testGetCurrentFrameAndMWLoadData | ( | ) |
Definition at line 664 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, and getEngine().
Scribunto_LuaCommonTest::testGetCurrentFrameAtModuleScope | ( | ) |
Definition at line 684 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, and getEngine().
Scribunto_LuaCommonTest::testLoadDataLoadedOnce | ( | ) |
Definition at line 281 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, $title, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testModuleStringExtend | ( | ) |
Definition at line 203 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testNoLeakedGlobals | ( | ) |
Definition at line 95 of file CommonTest.php.
References getEngine().
Scribunto_LuaCommonTest::testNonUtf8Errors | ( | ) |
Definition at line 732 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, getEngine(), ScribuntoException\getScriptTraceHtml(), and Title\newFromText().
Scribunto_LuaCommonTest::testOsDateTimeTTLs | ( | ) |
Definition at line 529 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, $title, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testPHPLibrary | ( | ) |
Definition at line 111 of file CommonTest.php.
References $args, Scribunto_LuaEngineTestBase\$engine, $title, getEngine(), Title\makeTitle(), and NS_MODULE.
Scribunto_LuaCommonTest::testVolatileCaching | ( | $func | ) |
@dataProvider provideVolatileCaching
Definition at line 621 of file CommonTest.php.
References Scribunto_LuaEngineTestBase\$engine, and getEngine().
|
staticprivate |
Definition at line 15 of file CommonTest.php.
|
staticprotected |
Definition at line 13 of file CommonTest.php.