public function Util_ConfigurationTest::testFilterConfigurationIsReadCorrectly in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Util/ConfigurationTest.php \Util_ConfigurationTest::testFilterConfigurationIsReadCorrectly()
@covers PHPUnit_Util_Configuration::getFilterConfiguration
File
- vendor/
phpunit/ phpunit/ tests/ Util/ ConfigurationTest.php, line 85
Class
- Util_ConfigurationTest
- @since Class available since Release 3.3.0
Code
public function testFilterConfigurationIsReadCorrectly() {
$this
->assertEquals(array(
'blacklist' => array(
'include' => array(
'directory' => array(
0 => array(
'path' => '/path/to/files',
'prefix' => '',
'suffix' => '.php',
'group' => 'DEFAULT',
),
),
'file' => array(
0 => '/path/to/file',
),
),
'exclude' => array(
'directory' => array(
0 => array(
'path' => '/path/to/files',
'prefix' => '',
'suffix' => '.php',
'group' => 'DEFAULT',
),
),
'file' => array(
0 => '/path/to/file',
),
),
),
'whitelist' => array(
'addUncoveredFilesFromWhitelist' => true,
'processUncoveredFilesFromWhitelist' => false,
'include' => array(
'directory' => array(
0 => array(
'path' => '/path/to/files',
'prefix' => '',
'suffix' => '.php',
'group' => 'DEFAULT',
),
),
'file' => array(
0 => '/path/to/file',
),
),
'exclude' => array(
'directory' => array(
0 => array(
'path' => '/path/to/files',
'prefix' => '',
'suffix' => '.php',
'group' => 'DEFAULT',
),
),
'file' => array(
0 => '/path/to/file',
),
),
),
), $this->configuration
->getFilterConfiguration());
}