Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 37... Línea 37...
37
class update_api_test extends \advanced_testcase {
37
class update_api_test extends \advanced_testcase {
Línea 38... Línea 38...
38
 
38
 
39
    /**
39
    /**
40
     * Make sure the $CFG->branch is mapped correctly to the format used by the API.
40
     * Make sure the $CFG->branch is mapped correctly to the format used by the API.
41
     */
41
     */
Línea 42... Línea 42...
42
    public function test_convert_branch_numbering_format() {
42
    public function test_convert_branch_numbering_format(): void {
43
 
43
 
Línea 44... Línea 44...
44
        /** @var \core\update\testable_api $client */
44
        /** @var \core\update\testable_api $client */
Línea 53... Línea 53...
53
    }
53
    }
Línea 54... Línea 54...
54
 
54
 
55
    /**
55
    /**
56
     * Getting info about particular plugin version.
56
     * Getting info about particular plugin version.
57
     */
57
     */
Línea 58... Línea 58...
58
    public function test_get_plugin_info() {
58
    public function test_get_plugin_info(): void {
Línea 59... Línea 59...
59
 
59
 
60
        $client = \core\update\testable_api::client();
60
        $client = \core\update\testable_api::client();
Línea 78... Línea 78...
78
    }
78
    }
Línea 79... Línea 79...
79
 
79
 
80
    /**
80
    /**
81
     * Getting info about the most suitable plugin version for us.
81
     * Getting info about the most suitable plugin version for us.
82
     */
82
     */
Línea 83... Línea 83...
83
    public function test_find_plugin() {
83
    public function test_find_plugin(): void {
Línea 84... Línea 84...
84
 
84
 
85
        $client = \core\update\testable_api::client();
85
        $client = \core\update\testable_api::client();
Línea 110... Línea 110...
110
    }
110
    }
Línea 111... Línea 111...
111
 
111
 
112
    /**
112
    /**
113
     * Validating the pluginfo.php response data.
113
     * Validating the pluginfo.php response data.
114
     */
114
     */
Línea 115... Línea 115...
115
    public function test_validate_pluginfo_format() {
115
    public function test_validate_pluginfo_format(): void {
Línea 116... Línea 116...
116
 
116