public function TokenizerTest::assertEventError in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php \Masterminds\HTML5\Tests\Parser\TokenizerTest::assertEventError()
Assert that a given event is 'error'.
10 calls to TokenizerTest::assertEventError()
- TokenizerTest::testBogusComment in vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php - TokenizerTest::testComment in vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php - TokenizerTest::testDoctype in vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php - TokenizerTest::testEndTag in vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php - TokenizerTest::testIllegalTagNames in vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php, line 35
Class
Namespace
Masterminds\HTML5\Tests\ParserCode
public function assertEventError($event) {
$this
->assertEquals('error', $event['name'], "Expected error for event: " . print_r($event, true));
}