Project

General

Profile

Actions

Bug #22825

closed

caching framework file backend: Unit test fixes

Added by Christian Kuhn over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2010-06-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

  • 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.

(issue imported from #M14635)


Files

14635_01.diff (3.13 KB) 14635_01.diff Administrator Admin, 2010-06-06 16:46
Actions #1

Updated by Christian Kuhn over 14 years ago

Committed to trunk rev. 7825, 4.3 rev. 7826.

Actions

Also available in: Atom PDF