[TASK] Removes eval() in core general utility unit tests 46/40446/5
authorPierrick Caillon <pierrick.caillon@plan-net.fr>
Thu, 18 Jun 2015 12:56:00 +0000 (14:56 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 21:14:50 +0000 (23:14 +0200)
commit8b0641bbf569ac9c4a785113c43cb75852604448
treef787d302c94f7fc993792bd6dbe6b303b3c5728b
parentdaf4dce2e9c91390b5c17168a0331fd8c7816abe
[TASK] Removes eval() in core general utility unit tests

Adds and updates fixtures JavaScript minifying error test, class
replacement test, instantiation with constructor parameters test
and deprecated log permissions test and removes the ugly usage of
eval() from GeneralUtilityTest in unit tests.

Resolves: #67600
Related: #67468
Releases: master
Change-Id: Id5990bb21b2c395787ac5013a1440c5a71462e23
Reviewed-on: http://review.typo3.org/40446
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Tests/Unit/Utility/Fixtures/GeneralUtilityFixture.php
typo3/sysext/core/Tests/Unit/Utility/Fixtures/GeneralUtilityMinifyJavaScriptFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/Fixtures/OriginalClassFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/Fixtures/OtherReplacementClassFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/Fixtures/ParentClassFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/Fixtures/ReplacementClassFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/Fixtures/TwoParametersConstructorFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php