protected function FeedsHTTPCacheTest::assertNoCacheFileExists in Feeds 7.2
Asserts that a cache file with a certain ID does not exist on the file system.
Parameters
string $cid: The cache item ID.
6 calls to FeedsHTTPCacheTest::assertNoCacheFileExists()
- FeedsHTTPCacheTest::testClear in tests/
FeedsHTTPCacheTest.test - @covers FeedsHTTPCache::clear().
- FeedsHTTPCacheTest::testClearExpired in tests/
FeedsHTTPCacheTest.test - @covers FeedsHTTPCache::clear().
- FeedsHTTPCacheTest::testClearExpiredUsingCacheLifeTime in tests/
FeedsHTTPCacheTest.test - @covers FeedsHTTPCache::clear().
- FeedsHTTPCacheTest::testClearMultiple in tests/
FeedsHTTPCacheTest.test - @covers FeedsHTTPCache::clear().
- FeedsHTTPCacheTest::testClearUsingWildcard in tests/
FeedsHTTPCacheTest.test - @covers FeedsHTTPCache::clear().
File
- tests/
FeedsHTTPCacheTest.test, line 184
Class
- FeedsHTTPCacheTest
- @coversDefaultClass FeedsHTTPCache @group feeds
Code
protected function assertNoCacheFileExists($cid) {
$message = format_string('Cache file @cid does not exist.', array(
'@cid' => $cid,
));
$this
->assertFalse(file_exists(static::FEEDS_CACHE_DIR . '/' . $cid), $message);
}