저자: Jan Schneider (jan@horde.org)
상속: extends Horde_Test_Case
예제 #1
0
파일: MongoTest.php 프로젝트: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     if (!empty($this->mongo)) {
         $this->mongo->selectDB(null)->drop();
     }
 }
예제 #2
0
파일: Base.php 프로젝트: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     $this->db->delete('DELETE FROM horde_cache');
     if ($this->migrator) {
         $this->migrator->down();
     }
     if ($this->db) {
         $this->db->disconnect();
     }
     $this->db = $this->migrator = null;
 }
예제 #3
0
파일: FileTest.php 프로젝트: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     system('rm -r ' . $this->dir);
 }