-
- Téléchargements
Merge pull request #8027 from piwik/test_env_di_8
Injection Inception, Change #6: Final cleanup of test environment setup. Remove TestingEnvironment.addHooks event, make sure core doesn't depend on test files/classes/constants, integrate test environment variables w/ DI for easier overriding in tests, and related clean ups to test environment setup.
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- config/environment/test.php 17 ajouts, 51 suppressionsconfig/environment/test.php
- core/Application/Environment.php 50 ajouts, 12 suppressionscore/Application/Environment.php
- core/Application/EnvironmentManipulator.php 24 ajouts, 0 suppressioncore/Application/EnvironmentManipulator.php
- core/Container/ContainerFactory.php 16 ajouts, 14 suppressionscore/Container/ContainerFactory.php
- misc/cron/updatetoken.php 3 ajouts, 1 suppressionmisc/cron/updatetoken.php
- plugins/DBStats/DBStats.php 2 ajouts, 2 suppressionsplugins/DBStats/DBStats.php
- plugins/DBStats/MySQLMetadataProvider.php 2 ajouts, 7 suppressionsplugins/DBStats/MySQLMetadataProvider.php
- plugins/DBStats/config/test.php 7 ajouts, 0 suppressionplugins/DBStats/config/test.php
- plugins/DBStats/tests/Mocks/MockDataAccess.php 3 ajouts, 2 suppressionsplugins/DBStats/tests/Mocks/MockDataAccess.php
- plugins/TestRunner/Commands/TestsSetupFixture.php 5 ajouts, 0 suppressionplugins/TestRunner/Commands/TestsSetupFixture.php
- plugins/UserCountry/tests/System/AttributeHistoricalDataWithLocationsTest.php 0 ajout, 1 suppression...tests/System/AttributeHistoricalDataWithLocationsTest.php
- tests/PHPUnit/Framework/Fixture.php 12 ajouts, 10 suppressionstests/PHPUnit/Framework/Fixture.php
- tests/PHPUnit/Framework/Mock/TestConfig.php 3 ajouts, 3 suppressionstests/PHPUnit/Framework/Mock/TestConfig.php
- tests/PHPUnit/Framework/TestCase/IntegrationTestCase.php 1 ajout, 2 suppressionstests/PHPUnit/Framework/TestCase/IntegrationTestCase.php
- tests/PHPUnit/Framework/TestCase/SystemTestCase.php 4 ajouts, 1 suppressiontests/PHPUnit/Framework/TestCase/SystemTestCase.php
- tests/PHPUnit/Framework/TestingEnvironment/MakeGlobalSettingsWithFile.php 0 ajout, 31 suppressions...amework/TestingEnvironment/MakeGlobalSettingsWithFile.php
- tests/PHPUnit/Framework/TestingEnvironmentManipulator.php 137 ajouts, 0 suppressiontests/PHPUnit/Framework/TestingEnvironmentManipulator.php
- tests/PHPUnit/Framework/TestingEnvironmentVariables.php 85 ajouts, 0 suppressiontests/PHPUnit/Framework/TestingEnvironmentVariables.php
- tests/PHPUnit/Framework/TestingEnvironmentVariablesDefinitionSource.php 58 ajouts, 0 suppression...Framework/TestingEnvironmentVariablesDefinitionSource.php
- tests/PHPUnit/System/AutoSuggestAPITest.php 0 ajout, 1 suppressiontests/PHPUnit/System/AutoSuggestAPITest.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter