Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 61... Línea 61...
61
</html>
61
</html>
62
EOD;
62
EOD;
63
    /**
63
    /**
64
     * Test for missing title attribute within object element.
64
     * Test for missing title attribute within object element.
65
     */
65
     */
66
    public function test_check_fail() {
66
    public function test_check_fail(): void {
67
        $results = $this->get_checker_results($this->htmlfail);
67
        $results = $this->get_checker_results($this->htmlfail);
68
        $this->assertTrue($results[0]->element->tagName == 'object');
68
        $this->assertTrue($results[0]->element->tagName == 'object');
69
    }
69
    }
Línea 70... Línea 70...
70
 
70
 
71
    /**
71
    /**
72
     * Test for present title attribute within object element.
72
     * Test for present title attribute within object element.
73
     */
73
     */
74
    public function test_check_pass() {
74
    public function test_check_pass(): void {
75
        $results = $this->get_checker_results($this->htmlpass);
75
        $results = $this->get_checker_results($this->htmlpass);
76
        $this->assertEmpty($results);
76
        $this->assertEmpty($results);
77
    }
77
    }