Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 24... Línea 24...
24
 * @author     Jay Churchward (jay.churchward@poetopensource.org)
24
 * @author     Jay Churchward (jay.churchward@poetopensource.org)
25
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26
 */
26
 */
27
class errors_test extends \advanced_testcase {
27
class errors_test extends \advanced_testcase {
Línea 28... Línea 28...
28
 
28
 
29
    public function test_toolname() {
29
    public function test_toolname(): void {
Línea 30... Línea 30...
30
        $this->resetAfterTest();
30
        $this->resetAfterTest();
31
 
31
 
32
        $object = new errors();
32
        $object = new errors();
33
        $output = $object->toolname();
33
        $output = $object->toolname();
Línea 34... Línea 34...
34
        $this->assertEquals($output, 'Error list summary');
34
        $this->assertEquals($output, 'Error list summary');
35
    }
35
    }
Línea 36... Línea 36...
36
 
36
 
37
    public function test_toolshortname() {
37
    public function test_toolshortname(): void {
38
        $this->resetAfterTest();
38
        $this->resetAfterTest();
39
 
39
 
Línea 40... Línea 40...
40
        $object = new errors();
40
        $object = new errors();
41
        $output = $object->toolshortname();
41
        $output = $object->toolshortname();
Línea 42... Línea 42...
42
        $this->assertEquals($output, 'Error list');
42
        $this->assertEquals($output, 'Error list');
43
    }
43
    }
44
 
44
 
45
    public function test_pluginname() {
45
    public function test_pluginname(): void {
Línea 46... Línea 46...
46
        $this->resetAfterTest();
46
        $this->resetAfterTest();
47
 
47
 
48
        $object = new errors();
48
        $object = new errors();
Línea 49... Línea 49...
49
        $output = $object->pluginname();
49
        $output = $object->pluginname();
50
        $this->assertEquals($output, 'errors');
50
        $this->assertEquals($output, 'errors');