Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 66... Línea 66...
66
</html>
66
</html>
67
EOD;
67
EOD;
68
    /**
68
    /**
69
     * Test for image alt attributes being too long
69
     * Test for image alt attributes being too long
70
     */
70
     */
71
    public function test_check() {
71
    public function test_check(): void {
72
        $results = $this->get_checker_results($this->htmlfail);
72
        $results = $this->get_checker_results($this->htmlfail);
73
        $this->assertTrue($results[0]->element->tagName == 'img');
73
        $this->assertTrue($results[0]->element->tagName == 'img');
Línea 74... Línea 74...
74
 
74
 
75
        $results = $this->get_checker_results($this->htmlpass);
75
        $results = $this->get_checker_results($this->htmlpass);