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 event description class getters.
30
     * Test event description 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
        $eventdescription = new event_description(
36
        $eventdescription = new event_description(
37
            $constructorparams['value'],
37
            $constructorparams['value'],
38
            $constructorparams['format']
38
            $constructorparams['format']
39
        );
39
        );
40
        foreach ($constructorparams as $name => $value) {
40
        foreach ($constructorparams as $name => $value) {