From: <dg...@us...> - 2009-07-31 13:52:15
|
Revision: 1930 http://simpletest.svn.sourceforge.net/simpletest/?rev=1930&view=rev Author: dgheath Date: 2009-07-31 13:52:09 +0000 (Fri, 31 Jul 2009) Log Message: ----------- Fix frames bug in tidy parser. Modified Paths: -------------- simpletest/trunk/test/parsing_test.php simpletest/trunk/tidy_parser.php Modified: simpletest/trunk/test/parsing_test.php =================================================================== --- simpletest/trunk/test/parsing_test.php 2009-07-31 13:49:36 UTC (rev 1929) +++ simpletest/trunk/test/parsing_test.php 2009-07-31 13:52:09 UTC (rev 1930) @@ -513,7 +513,7 @@ } -abstract class TestOfParsingUsingTidyParser extends TestOfParsing { +class TestOfParsingUsingTidyParser extends TestOfParsing { function skip() { $this->skipUnless(extension_loaded('tidy'), 'Install \'tidy\' php extension to enable html tidy based parser'); Modified: simpletest/trunk/tidy_parser.php =================================================================== --- simpletest/trunk/tidy_parser.php 2009-07-31 13:49:36 UTC (rev 1929) +++ simpletest/trunk/tidy_parser.php 2009-07-31 13:52:09 UTC (rev 1930) @@ -177,6 +177,7 @@ private function collectFrames($node) { + $frames = array(); if ($node->name == 'frame') { $frames = array($this->tags()->createTag($node->name, (array)$node->attribute)); } else if ($node->hasChildren()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |