You are here

protected function Util_ConfigurationTest::assertConfigurationEquals in Zircon Profile 8.0

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

Asserts that the values in $actualConfiguration equal $expectedConfiguration.

Parameters

PHPUnit_Util_Configuration $expectedConfiguration:

PHPUnit_Util_Configuration $actualConfiguration:

1 call to Util_ConfigurationTest::assertConfigurationEquals()
Util_ConfigurationTest::testXincludeInConfiguration in vendor/phpunit/phpunit/tests/Util/ConfigurationTest.php
@covers PHPUnit_Util_Configuration::getInstance

File

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

Class

Util_ConfigurationTest
@since Class available since Release 3.3.0

Code

protected function assertConfigurationEquals(PHPUnit_Util_Configuration $expectedConfiguration, PHPUnit_Util_Configuration $actualConfiguration) {
  $this
    ->assertEquals($expectedConfiguration
    ->getFilterConfiguration(), $actualConfiguration
    ->getFilterConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getGroupConfiguration(), $actualConfiguration
    ->getGroupConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getListenerConfiguration(), $actualConfiguration
    ->getListenerConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getLoggingConfiguration(), $actualConfiguration
    ->getLoggingConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getPHPConfiguration(), $actualConfiguration
    ->getPHPConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getPHPUnitConfiguration(), $actualConfiguration
    ->getPHPUnitConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getSeleniumBrowserConfiguration(), $actualConfiguration
    ->getSeleniumBrowserConfiguration());
  $this
    ->assertEquals($expectedConfiguration
    ->getTestSuiteConfiguration(), $actualConfiguration
    ->getTestSuiteConfiguration());
}