Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 50... Línea 50...
50
    }
50
    }
Línea 51... Línea 51...
51
 
51
 
52
    /**
52
    /**
53
     * Test for creation and getters.
53
     * Test for creation and getters.
54
     */
54
     */
55
    public function test_getters() {
55
    public function test_getters(): void {
56
        $this->resetAfterTest();
56
        $this->resetAfterTest();
Línea 57... Línea 57...
57
        [$user, $resource, $importinfo] = $this->create_test_info();
57
        [$user, $resource, $importinfo] = $this->create_test_info();
58
 
58
 
Línea 62... Línea 62...
62
    }
62
    }
Línea 63... Línea 63...
63
 
63
 
64
    /**
64
    /**
65
     * Test for setters.
65
     * Test for setters.
66
     */
66
     */
67
    public function test_set_config() {
67
    public function test_set_config(): void {
68
        $this->resetAfterTest();
68
        $this->resetAfterTest();
Línea 69... Línea 69...
69
        [$user, $resource, $importinfo] = $this->create_test_info();
69
        [$user, $resource, $importinfo] = $this->create_test_info();
70
 
70
 
Línea 77... Línea 77...
77
    }
77
    }
Línea 78... Línea 78...
78
 
78
 
79
    /**
79
    /**
80
     * Verify the object can be stored and loaded.
80
     * Verify the object can be stored and loaded.
81
     */
81
     */
82
    public function test_persistence() {
82
    public function test_persistence(): void {
83
        $this->resetAfterTest();
83
        $this->resetAfterTest();
Línea 84... Línea 84...
84
        [$user, $resource, $importinfo] = $this->create_test_info();
84
        [$user, $resource, $importinfo] = $this->create_test_info();
85
 
85