Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 28... Línea 28...
28
 * @package  core_grades
28
 * @package  core_grades
29
 * @category test
29
 * @category test
30
 * @copyright   Andrew Nicols <andrew@nicols.co.uk>
30
 * @copyright   Andrew Nicols <andrew@nicols.co.uk>
31
 * @license  http://www.gnu.org/copyleft/gpl.html GNU Public License
31
 * @license  http://www.gnu.org/copyleft/gpl.html GNU Public License
32
 */
32
 */
33
class export_test extends \advanced_testcase {
33
final class export_test extends \advanced_testcase {
Línea 34... Línea 34...
34
 
34
 
35
    /**
35
    /**
36
     * Ensure that feedback is correct formatted. Test the default implementation of format_feedback
36
     * Ensure that feedback is correct formatted. Test the default implementation of format_feedback
37
     *
37
     *
Línea 125... Línea 125...
125
    /**
125
    /**
126
     * Data provider for the format_feedback tests.
126
     * Data provider for the format_feedback tests.
127
     *
127
     *
128
     * @return  array
128
     * @return  array
129
     */
129
     */
130
    public function format_feedback_provider(): array {
130
    public static function format_feedback_provider(): array {
131
        return [
131
        return [
132
            'Basic string (PLAIN)' => [
132
            'Basic string (PLAIN)' => [
133
                'This is an example string',
133
                'This is an example string',
134
                FORMAT_PLAIN,
134
                FORMAT_PLAIN,
135
                'This is an example string',
135
                'This is an example string',