[TYPO3-core] RFC #16847: Code cleanup: Use Tx_Phpunit_Service_TestFinder for finding the path of the Core unit tests
Oliver Klee
typo3-german-02 at oliverklee.de
Sun Dec 26 20:02:23 CET 2010
This is an SVN patch request.
Type: Code cleanup
Bugtracker references:
http://bugs.typo3.org/view.php?id=16847
Branches:
trunk
Problem:
There are some hardcoded test paths in the Core unit tests, some
dirname(__FILE__) hacks. And there is a left-over print_r.
Solution:
Use the new-and-shiny Tx_Phpunit_Service_TestFinder class for getting
the path to the core tests (that class is part of the just-released
phpunit extension version).
Also just drop the print_r.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsPath.diff
Type: text/x-diff
Size: 5386 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101226/9f1ff339/attachment.diff>
More information about the TYPO3-team-core
mailing list