Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 131... Línea 131...
131
     */
131
     */
Línea 132... Línea 132...
132
 
132
 
133
    /**
133
    /**
134
     * Test for the each en string specified in $strings - line 43 in imgAltNotPlaceHolder.
134
     * Test for the each en string specified in $strings - line 43 in imgAltNotPlaceHolder.
135
     */
135
     */
136
    public function test_failcheck() {
136
    public function test_failcheck(): void {
137
        $results = $this->get_checker_results($this->htmlfail1);
137
        $results = $this->get_checker_results($this->htmlfail1);
Línea 138... Línea 138...
138
        $this->assertTrue($results[0]->element->tagName == 'img');
138
        $this->assertTrue($results[0]->element->tagName == 'img');
139
 
139
 
Línea 154... Línea 154...
154
    }
154
    }
Línea 155... Línea 155...
155
 
155
 
156
    /**
156
    /**
157
     * Test with alt that was not specified in the $strings array.
157
     * Test with alt that was not specified in the $strings array.
158
     */
158
     */
159
    public function test_passcheck1() {
159
    public function test_passcheck1(): void {
160
        $results = $this->get_checker_results($this->htmlpass1);
160
        $results = $this->get_checker_results($this->htmlpass1);
161
        $this->assertEmpty($results);
161
        $this->assertEmpty($results);
162
    }
162
    }