Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 28... Línea 28...
28
 */
28
 */
29
class exporters_author_test extends \advanced_testcase {
29
class exporters_author_test extends \advanced_testcase {
30
    /**
30
    /**
31
     * Test the export function returns expected values.
31
     * Test the export function returns expected values.
32
     */
32
     */
33
    public function test_export_author() {
33
    public function test_export_author(): void {
34
        global $PAGE;
34
        global $PAGE;
35
        $this->resetAfterTest();
35
        $this->resetAfterTest();
Línea 36... Línea 36...
36
 
36
 
37
        $renderer = $PAGE->get_renderer('core');
37
        $renderer = $PAGE->get_renderer('core');
Línea 68... Línea 68...
68
    }
68
    }
Línea 69... Línea 69...
69
 
69
 
70
    /**
70
    /**
71
     * Test the export function with groups.
71
     * Test the export function with groups.
72
     */
72
     */
73
    public function test_export_author_with_groups() {
73
    public function test_export_author_with_groups(): void {
74
        global $PAGE;
74
        global $PAGE;
Línea 75... Línea 75...
75
        $this->resetAfterTest();
75
        $this->resetAfterTest();
76
 
76
 
Línea 107... Línea 107...
107
    }
107
    }
Línea 108... Línea 108...
108
 
108
 
109
    /**
109
    /**
110
     * Test the export function with no view capability.
110
     * Test the export function with no view capability.
111
     */
111
     */
112
    public function test_export_author_no_view_capability() {
112
    public function test_export_author_no_view_capability(): void {
113
        global $PAGE;
113
        global $PAGE;
Línea 114... Línea 114...
114
        $this->resetAfterTest();
114
        $this->resetAfterTest();
115
 
115