ezsystems/ezpublish-legacy — pull request #784 by jeromegamez (2013-10-10 13:17:21+00:00)
Title: EZP-21728: Put extension test classes into correct autoload file

When generating the autoloads with
```bash
$ php bin/php/ezpgenerateautoloads.php -e
$ php bin/php/ezpgenerateautoloads.php -s
```
the test suites and test cases from extensions are written into the ezp_extension.php autoloads file instead of the ezp_tests.php autoloads file.

This has the effect that the test cases and suites are not added to the white list when generating code coverage reports and that the autoload array in ezp_extension.php might be larger than needed.

This patch prevents all PHP files from within a `tests` dir in extension directories of being written to `ezp_extension.php` and writes them into `ezp_tests.php` instead.

https://jira.ez.no/browse/EZP-21728

Cheers
:octocat: Jérôme