MediaWiki  1.34.4
Scribunto_LuaSandboxTest Class Reference

@covers Scribunto_LuaSandboxEngine More...

Inheritance diagram for Scribunto_LuaSandboxTest:
Collaboration diagram for Scribunto_LuaSandboxTest:

Public Member Functions

 testArgumentParsingTime ()
 
- Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase
 __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 ()
 
- Protected Member Functions inherited from Scribunto_LuaEngineUnitTestBase
 tearDown ()
 

Static Protected Attributes

static $moduleName = 'SandboxTests'
 
- 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...
 

Private Member Functions

 getRuTime ()
 

Additional Inherited Members

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

Definition at line 6 of file SandboxTest.php.

Member Function Documentation

◆ getRuTime()

Scribunto_LuaSandboxTest::getRuTime ( )
private

Definition at line 97 of file SandboxTest.php.

References wfGetRusage().

Referenced by testArgumentParsingTime().

◆ getTestModules()

Scribunto_LuaSandboxTest::getTestModules ( )
protected

Reimplemented from Scribunto_LuaEngineUnitTestBase.

Definition at line 13 of file SandboxTest.php.

◆ suite()

static Scribunto_LuaSandboxTest::suite (   $className)
static

Reimplemented from Scribunto_LuaEngineUnitTestBase.

Definition at line 9 of file SandboxTest.php.

References makeSuite().

◆ testArgumentParsingTime()

Scribunto_LuaSandboxTest::testArgumentParsingTime ( )

Member Data Documentation

◆ $moduleName

Scribunto_LuaSandboxTest::$moduleName = 'SandboxTests'
staticprotected

Definition at line 7 of file SandboxTest.php.


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