| 1 | <?php |
||
| 14 | class ScribuntoLuaLibrarySetTest extends ScribuntoLuaEngineTestBase { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Lua test module |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected static $moduleName = self::class; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ScribuntoLuaEngineTestBase::getTestModules |
||
| 24 | */ |
||
| 25 | public function getTestModules() { |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Tests method set through assertions based upon |
||
| 33 | * dataProvider {@see \SMW\Scribunto\Tests\ScribuntoLuaLibraryTest::dataProviderSetTest} |
||
| 34 | * |
||
| 35 | * @dataProvider dataProviderSetTest |
||
| 36 | * @param array $arguments arguments passed to function |
||
| 37 | * @param mixed $expected expected return value |
||
| 38 | */ |
||
| 39 | public function testSet( $arguments, $expected) { |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Data provider for {@see testSet} |
||
| 48 | * |
||
| 49 | * @see testSet |
||
| 50 | * |
||
| 51 | * @return array |
||
| 52 | */ |
||
| 53 | public function dataProviderSetTest() { |
||
| 89 | } |