Project

General

Profile

Actions

Task #68798

closed

Story #67665: Removes eval() in extbase Unit Tests

Removes eval() in extbase Validation Unit Tests

Added by Markus Günther over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-08-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:48: eval('class ' . $realClassName . ' implements TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:72: eval('class ' . $realClassName . '{}');
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:85: eval('class ' . $expectedValidatorName . ' implements TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:109: eval('class ' . $expectedValidatorName . '{}');
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:135: eval('namespace ' . $namespace . '; class ' . $className . ' implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:145: eval('namespace TYPO3\\CMS\\Extbase\\Validation\\Validator;' . LF . 'class FooValidator implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:371: eval('namespace TYPO3\CMS\Extbase\Validation\Validator;' . LF . 'class ' . $validatorName . 'Validator implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/Validator/StringValidatorTest.php:59: eval('
sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php:107: eval('class ' . $classNameA . '{ public $b = array(); public $integer = 5; }');
sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php:109: eval('class ' . $classNameB . '{ public $a; public $c; public $integer = "Not an integer"; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:66: eval('class ' . $classNameForObjectWithPrivateProperties . '{ protected $foo = \'foovalue\'; protected $bar = \'barvalue\'; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:101: eval('class ' . $classNameA . '{ public $b; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:103: eval('class ' . $classNameB . '{ public $a; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:123: eval('class ' . $classNameA . '{ public $b; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:125: eval('class ' . $classNameB . '{ public $a; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:150: eval('class ' . $classNameA . '{ public $b; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:152: eval('class ' . $classNameB . '{ public $a; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php:172: eval('
sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php:193: eval('


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #68797: Get rid of eval in the BaseTestCaseClosed2015-08-06

Actions
Actions #1

Updated by Claus Due about 9 years ago

Duplicate of #68797

Actions #2

Updated by Riccardo De Contardi about 9 years ago

  • Category set to Code Cleanup
Actions #3

Updated by Christian Kuhn about 7 years ago

  • Related to Task #68797: Get rid of eval in the BaseTestCase added
Actions #4

Updated by Christian Kuhn about 7 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF