tearDown() public method

public tearDown ( )
示例#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);
 }