Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 30... Línea 30...
30
     * Test action class getters.
30
     * Test action class getters.
31
     *
31
     *
32
     * @dataProvider getters_testcases()
32
     * @dataProvider getters_testcases()
33
     * @param array $constructorparams Associative array of constructor parameters.
33
     * @param array $constructorparams Associative array of constructor parameters.
34
     */
34
     */
35
    public function test_getters($constructorparams) {
35
    public function test_getters($constructorparams): void {
36
        $action = new action(
36
        $action = new action(
37
            $constructorparams['name'],
37
            $constructorparams['name'],
38
            $constructorparams['url'],
38
            $constructorparams['url'],
39
            $constructorparams['item_count'],
39
            $constructorparams['item_count'],
40
            $constructorparams['actionable']
40
            $constructorparams['actionable']