MediaWiki  1.34.4
Scribunto_LuaTextLibraryTest Class Reference
Inheritance diagram for Scribunto_LuaTextLibraryTest:
Collaboration diagram for Scribunto_LuaTextLibraryTest:

Public Member Functions

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

Protected Member Functions

 getTestModules ()
 
 setUp ()
 
- Protected Member Functions inherited from Scribunto_LuaEngineUnitTestBase
 tearDown ()
 

Static Protected Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase
static suite ( $className)
 
- 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

Definition at line 3 of file TextLibraryTest.php.

Constructor & Destructor Documentation

◆ __construct()

Scribunto_LuaTextLibraryTest::__construct (   $name = null,
array  $data = [],
  $dataName = '',
  $engineName = null 
)

Reimplemented from Scribunto_LuaEngineUnitTestBase.

Definition at line 6 of file TextLibraryTest.php.

References Scribunto_LuaEngineUnitTestBase\$engineName.

Member Function Documentation

◆ getTestModules()

Scribunto_LuaTextLibraryTest::getTestModules ( )
protected

Reimplemented from Scribunto_LuaEngineUnitTestBase.

Definition at line 35 of file TextLibraryTest.php.

◆ setUp()

Scribunto_LuaTextLibraryTest::setUp ( )
protected

Definition at line 17 of file TextLibraryTest.php.

References getEngine(), and Parser\MARKER_PREFIX.

Member Data Documentation

◆ $moduleName

Scribunto_LuaTextLibraryTest::$moduleName = 'TextLibraryTests'
staticprotected

Definition at line 4 of file TextLibraryTest.php.


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