-
- Téléchargements
Merge pull request #7957 from piwik/test_env_di_3
Adding Config instance to DI and move all Config related test setup code from Config.php and TestingEnvironment.php to TestConfig class. Introduced completely internal EnvironmentManipulator concept so tests can change paths of local/global/common INI config file.
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- config/environment/test.php 1 ajout, 0 suppressionconfig/environment/test.php
- core/Application/Environment.php 30 ajouts, 4 suppressionscore/Application/Environment.php
- core/Application/EnvironmentManipulator.php 26 ajouts, 0 suppressioncore/Application/EnvironmentManipulator.php
- core/Application/Kernel/GlobalSettingsProvider.php 0 ajout, 28 suppressionscore/Application/Kernel/GlobalSettingsProvider.php
- core/CliMulti/RequestCommand.php 0 ajout, 1 suppressioncore/CliMulti/RequestCommand.php
- core/Config.php 11 ajouts, 59 suppressionscore/Config.php
- core/Container/ContainerDoesNotExistException.php 18 ajouts, 0 suppressioncore/Container/ContainerDoesNotExistException.php
- core/Container/StaticContainer.php 1 ajout, 1 suppressioncore/Container/StaticContainer.php
- core/ExceptionHandler.php 15 ajouts, 10 suppressionscore/ExceptionHandler.php
- plugins/TestRunner/Commands/TestsSetupFixture.php 0 ajout, 7 suppressionsplugins/TestRunner/Commands/TestsSetupFixture.php
- tests/PHPUnit/Framework/Fixture.php 5 ajouts, 15 suppressionstests/PHPUnit/Framework/Fixture.php
- tests/PHPUnit/Framework/Mock/TestConfig.php 72 ajouts, 34 suppressionstests/PHPUnit/Framework/Mock/TestConfig.php
- tests/PHPUnit/Framework/TestCase/UnitTestCase.php 0 ajout, 6 suppressionstests/PHPUnit/Framework/TestCase/UnitTestCase.php
- tests/PHPUnit/Framework/TestingEnvironment/MakeGlobalSettingsWithFile.php 31 ajouts, 0 suppression...amework/TestingEnvironment/MakeGlobalSettingsWithFile.php
- tests/PHPUnit/Integration/Tracker/ActionTest.php 1 ajout, 2 suppressionstests/PHPUnit/Integration/Tracker/ActionTest.php
- tests/PHPUnit/Integration/TrackerTest.php 0 ajout, 3 suppressionstests/PHPUnit/Integration/TrackerTest.php
- tests/PHPUnit/System/BlobReportLimitingTest.php 3 ajouts, 10 suppressionstests/PHPUnit/System/BlobReportLimitingTest.php
- tests/PHPUnit/TestingEnvironment.php 6 ajouts, 54 suppressionstests/PHPUnit/TestingEnvironment.php
- tests/PHPUnit/Unit/AssetManager/PluginManagerMock.php 5 ajouts, 0 suppressiontests/PHPUnit/Unit/AssetManager/PluginManagerMock.php
- tests/PHPUnit/Unit/AssetManager/configs/merged-assets-disabled.ini.php 0 ajout, 2 suppressions.../Unit/AssetManager/configs/merged-assets-disabled.ini.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter