public function Util_ConfigurationTest::testPHPUnitConfigurationIsReadCorrectly

File

drupal/core/vendor/phpunit/phpunit/Tests/Util/ConfigurationTest.php, line 292

Class

Util_ConfigurationTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Code

public function testPHPUnitConfigurationIsReadCorrectly() {
  $this
    ->assertEquals(array(
    'backupGlobals' => TRUE,
    'backupStaticAttributes' => FALSE,
    'bootstrap' => '/path/to/bootstrap.php',
    'cacheTokens' => FALSE,
    'colors' => FALSE,
    'convertErrorsToExceptions' => TRUE,
    'convertNoticesToExceptions' => TRUE,
    'convertWarningsToExceptions' => TRUE,
    'forceCoversAnnotation' => FALSE,
    'mapTestClassNameToCoveredClassName' => FALSE,
    'printerClass' => 'PHPUnit_TextUI_ResultPrinter',
    'stopOnFailure' => FALSE,
    'strict' => FALSE,
    'testSuiteLoaderClass' => 'PHPUnit_Runner_StandardTestSuiteLoader',
    'verbose' => FALSE,
    'timeoutForSmallTests' => 1,
    'timeoutForMediumTests' => 10,
    'timeoutForLargeTests' => 60,
  ), $this->configuration
    ->getPHPUnitConfiguration());
}