Bug #69710

Class Tx_RedirectTest_Domain_Model_Test not added to autoload classmap

Added by Nicole Cordes over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2015-09-12
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Currently class names ending with test or fixture suffix are excluded from the autload classmap generation. Unfortunately the skips valid class names like Tx_RedirectTest_Domain_Model_Test as well.

Associated revisions

Revision d535b790 (diff)
Added by Nicole Cordes over 4 years ago

[BUGFIX] Improve test class detection in ClassLoadingInformationGenerator

Currently class names ending with test or fixture suffix are excluded
from the autoload classmap generation. Unfortunately this skips valid
class names like Tx_RedirectTest_Domain_Model_Test as well. This patch
improves the decision if class name can be skipped by assuming there is
an alphabetic character in front of the suffix.

Furthermore generation of the class map is skipped if a valid psr-4
annotation is found in the package information.

Resolves: #69710
Releases: master
Change-Id: Id433294f982f39b438b10393fda2c468cd1518fd
Reviewed-on: http://review.typo3.org/43231
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>
Reviewed-by: Mathias Brodala <>
Tested-by: Mathias Brodala <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>

History

#1 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#2 Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#3 Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#4 Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#5 Updated by Gerrit Code Review over 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#6 Updated by Gerrit Code Review over 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43231

#7 Updated by Nicole Cordes over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Anja Leichsenring about 4 years ago

  • Sprint Focus deleted (On Location Sprint)

#9 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF