| 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 | * @return void |
||
| 45 | */ |
||
| 46 | public function testMethodsExist( $method ) { |
||
| 52 | |||
| 53 | |||
| 54 | /** |
||
| 55 | * Data provider for {@see testFunctions} |
||
| 56 | * |
||
| 57 | * @see testFunctions |
||
| 58 | * |
||
| 59 | * @return array |
||
| 60 | */ |
||
| 61 | public function dataProviderFunctionTest() { |
||
| 72 | |||
| 73 | } |
||
| 74 |