[BUGFIX] Load test classes in non composer mode 76/43876/4
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 6 Oct 2015 22:49:52 +0000 (00:49 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Oct 2015 17:40:48 +0000 (19:40 +0200)
commite0e3650aa6463124b20e97045ccced4fa7903d7b
tree38c72faf350326a5929d8376ab0aa8fac35665bf
parent793c7cf35f33490a128d2e604c9fbd1f83cfa499
[BUGFIX] Load test classes in non composer mode

In non composer mode it has been impossible to register
classes for tests to be loaded (e.g. fixture classes) as long
as at least one autoload information was registered in the extension.

With this change, we will now evaluate an autoload-dev section
as well and also do not skip the scan of test classes when no autoload
section is defined in the extension for better backwards compatibility.

Resolves: #70472
Releases: master
Change-Id: I05559e2d28e4262583ea3cf95dca52573ac4c18f
Reviewed-on: http://review.typo3.org/43876
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Core/ClassLoadingInformation.php
typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php
typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php