zoe Sun Apr 26 07:12:58 2009 UTC Modified files: /phpruntests/tests/testcase/sections/executablesections rtSkipIfSectionTest.php rtFileSectionTest.php Log: tidy http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php?r1=1.2&r2=1.3&diff_format=u Index: phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php diff -u phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php:1.2 phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php:1.3 --- phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php:1.2 Fri Apr 24 09:42:02 2009 +++ phpruntests/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php Sun Apr 26 07:12:58 2009 @@ -3,12 +3,12 @@ require_once 'PHPUnit/Framework.php'; require_once dirname(__FILE__) . '../../../../../src/rtAutoload.php'; -class rtFileSectionTest extends PHPUnit_Framework_TestCase +class rtSkipifSectionTest extends PHPUnit_Framework_TestCase { public function testCreateInstance() { - $fileSection = new rtFileSection('FILE', array('<?php', 'echo "hello world";', '?>')); - $code = $fileSection->getContents(); + $skipifSection = new rtSkipIfSection('SKIPIF', array('<?php', 'echo "hello world";', '?>')); + $code = $skipifSection->getContents(); $this->assertEquals('<?php', $code[0]); } http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php?r1=1.2&r2=1.3&diff_format=u Index: phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php diff -u phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php:1.2 phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php:1.3 --- phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php:1.2 Fri Apr 24 09:42:02 2009 +++ phpruntests/tests/testcase/sections/executablesections/rtFileSectionTest.php Sun Apr 26 07:12:58 2009 @@ -3,12 +3,12 @@ require_once 'PHPUnit/Framework.php'; require_once dirname(__FILE__) . '../../../../../src/rtAutoload.php'; -class rtSkipIfSectionTest extends PHPUnit_Framework_TestCase +class rtFileSectionTest extends PHPUnit_Framework_TestCase { public function testCreateInstance() { - $skipifSection = new rtSkipIfSection('SKIPIF', array('<?php', 'echo "hello world";', '?>')); - $code = $skipifSection->getContents(); + $fileSection = new rtFileSection('FILE', array('<?php', 'echo "hello world";', '?>')); + $code = $fileSection->getContents(); $this->assertEquals('<?php', $code[0]); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php