3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 class Extensions_PhptTestCaseTest extends \PHPUnit_Framework_TestCase
13 public function testParseIniSection()
15 $phptTestCase = new PhpTestCaseProxy(__FILE__);
16 $settings = $phptTestCase->parseIniSection("foo=1\nbar = 2\rbaz = 3\r\nempty=\nignore");
26 $this->assertEquals($expected, $settings);
30 class PhpTestCaseProxy extends PHPUnit_Extensions_PhptTestCase
32 public function parseIniSection($content)
34 return parent::parseIniSection($content);