29584[TASK] Update to phpunit 4.1
Commit message
Review
-
Code review CR +2
- Helmut Hummel +2
- Markus Klein +1
- Tymoteusz Motylewski +1
-
Verified V +2
- Helmut Hummel +2
- Markus Klein +1
- Tymoteusz Motylewski +1
Issues 1
Files 8
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php+156 −69
- typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Core/ClassLoader.phpnew+174 −0
- typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/LoggerInterface.phpnew+75 −0
- typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/SystemLoggerInterface.phpnew+19 −0
- typo3/sysext/core/ext_autoload.php2+3 −0
- typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php2+9 −0
- typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php+92 −35
- composer.json+5 −5
Review log 25
-
Mr. Jenkins commented on patch set 1 04/20/14, 13:08
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/16083/ : SUCCESS -
Helmut Hummel commented on patch set 1 04/20/14, 15:49
ext_autoload.php:16Not sure about the logger, but the bootstrap class is aliased to the TYPO3 CMS bootstrap (in getInstance). Not sure what the effect is, if we also require the class here. -
Markus Klein commented on patch set 1 04/22/14, 08:00
Why do you add the flow classes at all? Don't see where they are necessary, what do I miss? -
Christian Kuhn commented on patch set 1 04/22/14, 18:22
i'm adding them, because with phpunit the mocker changed a bit and now analyses parameter arguments. if they are classes, it searches for them and throws exceptions if such a class can not be found. in effect some tests failed which was solved by adding those classes that are referenced in Package and PackageManager, after that those classes could be mocked again. -
Markus Klein commented on patch set 1 CR +1 04/22/14, 19:51
Thanks, makes totally sense. -
Christian Kuhn uploaded patch set 2 05/09/14, 11:08
-
Christian Kuhn voted on patch set 2 CR -1 05/09/14, 11:08
-
Mr. Jenkins commented on patch set 2 05/09/14, 11:44
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/16395/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16391/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16390/ : SUCCESS -
Christian Kuhn uploaded patch set 3 05/09/14, 13:15
-
Christian Kuhn commented on patch set 1 05/09/14, 13:25
ext_autoload.php:16ReplyI see no issue here: The flow bootstrap is not added to autoload here, only classLoader is. ClassLoader itself is not used anywhere else (except in some type hints) and there is also no cms alias defined to it. -
Christian Kuhn uploaded patch set 4 05/09/14, 13:35
-
Christian Kuhn commented on patch set 4 05/09/14, 13:39
LocalizationUtility.php:300Please take a careful look at this hunk: The configurationManager is a singleton, so it should not harm if it is "parked" in a local variable here, it should even be a bit quicker since the ObjectManager is no longer called after first instantiation of the method. This works as long as the ObjectManager does no additional magic on singleton instances ... from my findings, this looks ok, but I'd like to have a second eye here who signs off. -
Mr. Jenkins commented on patch set 3 05/09/14, 13:59
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/16397/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16393/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16392/ : SUCCESS -
Christian Kuhn commented on patch set 4 05/09/14, 14:06
travis is happy with this one: https://travis-ci.org/lolli42/TYPO3.CMS-Catharsis/builds/24797532 -
Mr. Jenkins commented on patch set 4 05/09/14, 14:28
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/16398/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16394/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16393/ : SUCCESS -
Markus Klein commented on patch set 4 05/09/14, 15:11
Looks good at first glance. need to looker closer and test later on. thx Christian! -
Markus Klein uploaded patch set 5 05/11/14, 23:55
-
Markus Klein commented on patch set 5 V +1 CR +1 05/11/14, 23:56
works, but I had to run "composer update --no-plugin" to update properly. (no idea why) -
Mr. Jenkins commented on patch set 5 05/12/14, 00:59
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/16416/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16412/ : SUCCESS https://ci.typo3.org/job/typo3-v4-core-gerrit/16411/ : SUCCESS -
Tymoteusz Motylewski commented on patch set 5 V +1 CR +1 05/12/14, 10:02
works like a charm :) -
Helmut Hummel commented on patch set 5 05/12/14, 14:38
now testing -
Helmut Hummel commented on patch set 4 05/12/14, 14:42
LocalizationUtility.php:300ReplyYes, this is OK. It works as follows: ObjectManager is a TYPO3 singleton and lives for a complete request, returned by GeneralUtility::makeInstance() The ObjectManager itself "parks" singletons in a property and only returns it from there after first instantiation during Extbase extension bootstrap the current configuration array is given to the ConfigurationManager singleton object, which makes it handle the current configuration (of the currently rendering extension) -
Helmut Hummel commented on patch set 5 V -1 05/12/14, 14:48
I get a fatal. investiagting -
Helmut Hummel commented on patch set 5 V +2 CR +2 05/12/14, 15:04
ok, some tests fail or fatal with some directories (typo3conf/ext, uploads) not present, but this is not related to this change -
Helmut Hummel merged patch set 6 05/12/14, 15:04