Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 36... Línea 36...
36
 * @package    core_xapi
36
 * @package    core_xapi
37
 * @since      Moodle 3.9
37
 * @since      Moodle 3.9
38
 * @copyright  2020 Ferran Recio
38
 * @copyright  2020 Ferran Recio
39
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
39
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
40
 */
40
 */
41
class item_definition_test extends advanced_testcase {
41
final class item_definition_test extends advanced_testcase {
Línea 42... Línea 42...
42
 
42
 
43
    /**
43
    /**
44
     * Test item_definition creation.
44
     * Test item_definition creation.
45
     *
45
     *
Línea 70... Línea 70...
70
    /**
70
    /**
71
     * Data provider for the test_creation tests.
71
     * Data provider for the test_creation tests.
72
     *
72
     *
73
     * @return  array
73
     * @return  array
74
     */
74
     */
75
    public function creation_provider(): array {
75
    public static function creation_provider(): array {
76
        return [
76
        return [
77
            'No interactionType' => [''],
77
            'No interactionType' => [''],
78
            'Choice' => ['choice'],
78
            'Choice' => ['choice'],
79
            'fill-in' => ['fill-in'],
79
            'fill-in' => ['fill-in'],
80
            'long-fill-in' => ['long-fill-in'],
80
            'long-fill-in' => ['long-fill-in'],