Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 32... Línea 32...
32
 *
32
 *
33
 * @package    core_h5p
33
 * @package    core_h5p
34
 * @copyright  2020 Sara Arjona <sara@moodle.com>
34
 * @copyright  2020 Sara Arjona <sara@moodle.com>
35
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 */
36
 */
37
class handler_test extends advanced_testcase {
37
final class handler_test extends advanced_testcase {
Línea 38... Línea 38...
38
 
38
 
39
    /**
39
    /**
40
     * Test the behaviour of get_h5p_string().
40
     * Test the behaviour of get_h5p_string().
41
     *
41
     *
Línea 52... Línea 52...
52
    /**
52
    /**
53
     * Data provider for test_get_h5p_string().
53
     * Data provider for test_get_h5p_string().
54
     *
54
     *
55
     * @return array
55
     * @return array
56
     */
56
     */
57
    public function get_h5p_string_provider(): array {
57
    public static function get_h5p_string_provider(): array {
58
        return [
58
        return [
59
            'Existing string in h5plib plugin' => [
59
            'Existing string in h5plib plugin' => [
60
                'editor:add',
60
                'editor:add',
61
                'Add',
61
                'Add',
62
            ],
62
            ],