You are here

public function Util_ConfigurationTest::testPHPUnitConfigurationIsReadCorrectly in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Util/ConfigurationTest.php \Util_ConfigurationTest::testPHPUnitConfigurationIsReadCorrectly()

@covers PHPUnit_Util_Configuration::getPHPUnitConfiguration

File

vendor/phpunit/phpunit/tests/Util/ConfigurationTest.php, line 343

Class

Util_ConfigurationTest
@since Class available since Release 3.3.0

Code

public function testPHPUnitConfigurationIsReadCorrectly() {
  $this
    ->assertEquals(array(
    'backupGlobals' => true,
    'backupStaticAttributes' => false,
    'disallowChangesToGlobalState' => false,
    'bootstrap' => '/path/to/bootstrap.php',
    'cacheTokens' => false,
    'columns' => 80,
    'colors' => 'never',
    'stderr' => false,
    'convertErrorsToExceptions' => true,
    'convertNoticesToExceptions' => true,
    'convertWarningsToExceptions' => true,
    'forceCoversAnnotation' => false,
    'mapTestClassNameToCoveredClassName' => false,
    'printerClass' => 'PHPUnit_TextUI_ResultPrinter',
    'stopOnFailure' => false,
    'reportUselessTests' => false,
    'strictCoverage' => false,
    'disallowTestOutput' => false,
    'enforceTimeLimit' => false,
    'disallowTodoAnnotatedTests' => false,
    'testSuiteLoaderClass' => 'PHPUnit_Runner_StandardTestSuiteLoader',
    'verbose' => false,
    'timeoutForSmallTests' => 1,
    'timeoutForMediumTests' => 10,
    'timeoutForLargeTests' => 60,
  ), $this->configuration
    ->getPHPUnitConfiguration());
}