1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/CacheQuerySqliteTestCase.php
2006-06-13 18:04:04 +00:00

21 lines
673 B
PHP

<?php
require_once("UnitTestCase.php");
class Doctrine_Cache_Query_SqliteTestCase extends Doctrine_UnitTestCase {
public function setUp() {
parent::setUp();
$this->manager->setAttribute(Doctrine::ATTR_CACHE,Doctrine::CACHE_NONE);
$dir = $this->session->getAttribute(Doctrine::ATTR_CACHE_DIR);
if(file_exists($dir.DIRECTORY_SEPARATOR."stats.cache"))
unlink($dir.DIRECTORY_SEPARATOR."stats.cache");
$this->cache = new Doctrine_Cache_Query_Sqlite($this->objTable);
$this->cache->deleteAll();
}
public function testConstructor() {
}
}
?>