コード例 #1
0
ファイル: X2TestCase.php プロジェクト: shuvro35/X2CRM
 public function tearDown()
 {
     if (isset($this->_oldSession)) {
         $_SESSION = $this->_oldSession;
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: X2TestCase.php プロジェクト: dsyman2/X2CRM
 public function tearDown()
 {
     if (isset($this->_oldSession)) {
         $_SESSION = $this->_oldSession;
     }
     if (X2_TEST_DEBUG_LEVEL > 0) {
         $timer = TestingAuxLib::getCaseTimer();
         TestingAuxLib::log("time elapsed for test case: {$timer->stop()->getTime()}");
     }
     parent::tearDown();
 }
コード例 #3
0
ファイル: CFormatterTest.php プロジェクト: nsanden/yii
 public function tearDown()
 {
     parent::tearDown();
     Yii::app()->language = null;
     // reset language to not affect other tests
 }
コード例 #4
0
ファイル: MongoLogRouteTest.php プロジェクト: kl0428/admin
 function tearDown()
 {
     Yii::app()->mongodb->drop();
     parent::tearDown();
 }