Proyectos de Subversion Moodle

Rev

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

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