Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 39... Línea 39...
39
class wsdl_test extends \advanced_testcase {
39
class wsdl_test extends \advanced_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    /**
41
    /**
42
     * Test generated WSDL with no added complex types nor functions.
42
     * Test generated WSDL with no added complex types nor functions.
43
     */
43
     */
44
    public function test_minimum_wsdl() {
44
    public function test_minimum_wsdl(): void {
Línea 45... Línea 45...
45
        $this->resetAfterTest();
45
        $this->resetAfterTest();
46
 
46
 
47
        $serviceclass = 'testserviceclass';
47
        $serviceclass = 'testserviceclass';
Línea 87... Línea 87...
87
    }
87
    }
Línea 88... Línea 88...
88
 
88
 
89
    /**
89
    /**
90
     * Test output WSDL with complex type added.
90
     * Test output WSDL with complex type added.
91
     */
91
     */
92
    public function test_add_complex_type() {
92
    public function test_add_complex_type(): void {
Línea 93... Línea 93...
93
        $this->resetAfterTest();
93
        $this->resetAfterTest();
94
 
94
 
95
        $classname = 'testcomplextype';
95
        $classname = 'testcomplextype';
Línea 160... Línea 160...
160
    }
160
    }
Línea 161... Línea 161...
161
 
161
 
162
    /**
162
    /**
163
     * Test output WSDL when registering a web service function.
163
     * Test output WSDL when registering a web service function.
164
     */
164
     */
165
    public function test_register() {
165
    public function test_register(): void {
Línea 166... Línea 166...
166
        $this->resetAfterTest();
166
        $this->resetAfterTest();
167
 
167
 
168
        $serviceclass = 'testserviceclass';
168
        $serviceclass = 'testserviceclass';
Línea 287... Línea 287...
287
    }
287
    }
Línea 288... Línea 288...
288
 
288
 
289
    /**
289
    /**
290
     * Test output WSDL when registering a web service function with no input parameters.
290
     * Test output WSDL when registering a web service function with no input parameters.
291
     */
291
     */
292
    public function test_register_without_input() {
292
    public function test_register_without_input(): void {
Línea 293... Línea 293...
293
        $this->resetAfterTest();
293
        $this->resetAfterTest();
294
 
294
 
295
        $serviceclass = 'testserviceclass';
295
        $serviceclass = 'testserviceclass';
Línea 329... Línea 329...
329
    }
329
    }
Línea 330... Línea 330...
330
 
330
 
331
    /**
331
    /**
332
     * Test output WSDL when registering a web service function with no output parameters.
332
     * Test output WSDL when registering a web service function with no output parameters.
333
     */
333
     */
334
    public function test_register_without_output() {
334
    public function test_register_without_output(): void {
Línea 335... Línea 335...
335
        $this->resetAfterTest();
335
        $this->resetAfterTest();
336
 
336
 
337
        $serviceclass = 'testserviceclass';
337
        $serviceclass = 'testserviceclass';