diff options
author | Matt Farina <[email protected]> | 2013-05-15 13:57:25 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-05-15 13:57:25 -0400 |
commit | 4ac18627abe1d60f0a675914cb91eec2b8f4bcb8 (patch) | |
tree | 5ad5770d9593836bd84abad3f8a198505ea526c5 /test/HTML5/ParserTest.php | |
parent | 0cdf4ae1aaf6aefdc7218dbb49e543e8603035a8 (diff) |
Updated the \HTML5 class to parse with static methods, updated the Traverser tests to work with the the new parser, and remoted the old Parser tests not that the old parser is gone.
Diffstat (limited to 'test/HTML5/ParserTest.php')
-rw-r--r-- | test/HTML5/ParserTest.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/HTML5/ParserTest.php b/test/HTML5/ParserTest.php deleted file mode 100644 index 7f36237..0000000 --- a/test/HTML5/ParserTest.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -namespace HTML5\Tests; - -use \HTML5\Parser; - -require_once 'TestCase.php'; - -class ParserTest extends TestCase { - public function testParse() { - $result = Parser::parse('<html><body></body></html>'); - $this->assertTrue($result instanceof \DOMDocument); - } - public function testParseFragment() { - $result = Parser::parseFragment('<b>asdf</b> foo'); - $this->assertTrue($result instanceof \DOMNodeList); - } -} |