1 | <?php |
||
13 | class ScribuntoLuaLibraryTest extends ScribuntoLuaEngineTestBase { |
||
14 | |||
15 | /** |
||
16 | * Lua test module |
||
17 | * @var string |
||
18 | */ |
||
19 | protected static $moduleName = self::class; |
||
20 | |||
21 | /** |
||
22 | * ScribuntoLuaEngineTestBase::getTestModules |
||
23 | */ |
||
24 | public function getTestModules() { |
||
29 | |||
30 | |||
31 | public function testCanConstruct() { |
||
37 | |||
38 | /** |
||
39 | * Test, if all the necessary methods exists. Uses data provider {@see dataProviderFunctionTest} |
||
40 | * @dataProvider dataProviderFunctionTest |
||
41 | * |
||
42 | * @param string $method name of method to check |
||
43 | * |
||
44 | * @used \SMW\Scribunto\Tests\ScribuntoLuaLibraryTest::dataProviderFunctionTest |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function testMethodsExist( $method ) { |
||
54 | |||
55 | |||
56 | /** |
||
57 | * Data provider for {@see testFunctions} |
||
58 | * |
||
59 | * @see testFunctions |
||
60 | * |
||
61 | * @return array |
||
62 | */ |
||
63 | public function dataProviderFunctionTest() { |
||
73 | |||
74 | } |