示例#1
0
文件: WebTest.php 项目: studio-v/nano
 protected function tearDown()
 {
     if ($this->clearDbAfterTest) {
         Nano_Db::clean();
     }
     if ($this->clearLogAfterTest) {
         Nano_Log::clear();
     }
     parent::tearDown();
 }
示例#2
0
 protected function tearDown()
 {
     Nano_Db::clean();
     Nano_Db::close();
 }
示例#3
0
 protected function tearDown()
 {
     Nano_Db::clean();
     TestDbTable1::dropTable();
     TestDbTable2::dropTable();
 }