[TYPO3-core] FYI: committed the first unit tests for the updated caching framework (part of #10614)

Steffen Kamper info at sk-typo3.de
Mon Mar 9 22:48:19 CET 2009


Hi Ingo,

now as all is committed i get errors running the tests.

128 tests, 1 failures, 16 errors, 10.601 seconds, 3.7 MB (3863768 B) 
memory leaks

Failure:
setCacheTableThrowsExceptionOnNonExistentTable
! Failure in test case setCacheTableThrowsExceptionOnNonExistentTable
File: 
C:\xampp\htdocs\t3\home\typo3conf\ext\phpunit\PHPUnit-3.3.15\PHPUnit\Framework\TestCase.php
Line: 525:
Description
Expected exception t3lib_cache_Exception

Error in test case setReallySavesToTheSpecifiedDirectory
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 166:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only setRemovesAnAlreadyExistingCacheEntryForTheSameIdentifier
! Error in test case 
setRemovesAnAlreadyExistingCacheEntryForTheSameIdentifier
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 211:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/c/c/" 
could not be created.
Run this test only setReallySavesSpecifiedTags
! Error in test case setReallySavesSpecifiedTags
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 253:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only getReturnsContentOfTheCorrectCacheFile
! Error in test case getReturnsContentOfTheCorrectCacheFile
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 287:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only hasReturnsTheCorrectResult
! Error in test case hasReturnsTheCorrectResult
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 319:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only removeReallyRemovesACacheEntry
! Error in test case removeReallyRemovesACacheEntry
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 357:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/d/e/" 
could not be created.
Run this test only collectGarbageReallyRemovesAnExpiredCacheEntry
! Error in test case collectGarbageReallyRemovesAnExpiredCacheEntry
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 400:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/d/e/" 
could not be created.
Run this test only collectGarbageReallyRemovesAllExpiredCacheEntries
! Error in test case collectGarbageReallyRemovesAllExpiredCacheEntries
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 443:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/3/4/" 
could not be created.
Run this test only removeReallyRemovesTagsOfRemovedEntry
! Error in test case removeReallyRemovesTagsOfRemovedEntry
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 480:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag
! Error in test case findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 507:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/d/d/" 
could not be created.
Run this test only flushRemovesAllCacheEntriesAndRelatedTags
! Error in test case flushRemovesAllCacheEntriesAndRelatedTags
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 542:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/d/d/" 
could not be created.
Run this test only flushByTagRemovesCacheEntriesWithSpecifiedTag
! Error in test case flushByTagRemovesCacheEntriesWithSpecifiedTag
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 581:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/d/d/" 
could not be created.
Run this test only hasReturnsTheCorrectResultForEntryWithExceededLifetime
! Error in test case hasReturnsTheCorrectResultForEntryWithExceededLifetime
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 615:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only getReturnsFalseForEntryWithExceededLifetime
! Error in test case getReturnsFalseForEntryWithExceededLifetime
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 647:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only 
findIdentifiersByTagReturnsEmptyArrayForEntryWithExceededLifetime
! Error in test case 
findIdentifiersByTagReturnsEmptyArrayForEntryWithExceededLifetime
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 678:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.
Run this test only setWithUnlimitedLifetimeWritesCorrectEntry
! Error in test case setWithUnlimitedLifetimeWritesCorrectEntry
in file 
C:\xampp\htdocs\t3\home\tests\t3lib\cache\backend\t3lib_cache_backend_filebackendtestcase.php
on line 708:
Message:
The cache directory 
"C:/xampp/htdocs/t3/home/typo3temp/cache/testing/data/UnitTestCache/8/2/" 
could not be created.

i wonder about last errors - on windows there should be no problem a 
directory

vg Steffen


More information about the TYPO3-team-core mailing list