[TYPO3-core] FYI: #14635: caching framework file backend: Unit test fixes
Christian Kuhn
lolli at schwarzbu.ch
Sun Jun 6 17:02:02 CEST 2010
FYI: Attached patch was committed to trunk rev. 7825, 4.3 rev. 7826.
Type: bug, failing unit tests
Branches: 4.3 & trunk
BT: http://bugs.typo3.org/view.php?id=14635
Problem & Solution:
- glob() returns FALSE on some systems instead of an empty array,
count($filesFound) == 0 fails then. Change the code so $filesFound is
always an array.
- In flushRemovesAllCacheEntriesAndRelatedTags() the tag filenames are
not calculated correctly, so the assertions are never FALSE, even if the
tags are not deleted in the filesystem.
- tearDown() is no test and must not have @test annotation.
Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14635_01.diff
Type: text/x-patch
Size: 3206 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100606/63654688/attachment.bin>
More information about the TYPO3-team-core
mailing list