コード例 #1
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->ApiUserApplication);
     unset($this->testAppToken);
     Cache::clear();
     parent::tearDown();
 }
コード例 #2
0
 /**
  * Method executed after each test
  *
  */
 public function tearDown()
 {
     unset($this->Article);
     unset($this->User);
     unset($this->Tag);
     parent::tearDown();
 }
コード例 #3
0
ファイル: TimedBehaviorTest.php プロジェクト: hupla78/Nadia
 /**
  * End a test
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     ClassRegistry::flush();
     DebugKitDebugger::clearTimers();
 }
コード例 #4
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Task);
     ClassRegistry::flush();
     App::build();
     parent::tearDown();
 }
コード例 #5
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     $_SESSION = array();
     unset($this->View, $this->Session);
     CakePlugin::unload();
     parent::tearDown();
 }
コード例 #6
0
ファイル: MysqlTest.php プロジェクト: jgera/orangescrum
 /**
  * Sets up a Dbo class instance for testing
  *
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->model);
     ClassRegistry::flush();
     Configure::write('debug', $this->_debug);
 }
コード例 #7
0
 public function tearDown()
 {
     parent::tearDown();
     //  終了した後のお掃除
     unset($this->PagematronComponent);
     unset($this->Controller);
 }
コード例 #8
0
 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     if ($this->_restoreError) {
         restore_error_handler();
     }
     parent::tearDown();
 }
コード例 #9
0
 public function tearDown()
 {
     parent::tearDown();
     // Clean up after we're done
     unset($this->Twitter);
     unset($this->Controller);
 }
コード例 #10
0
ファイル: mailer.test.php プロジェクト: hiromi2424/mailer
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     Configure::delete('TestMailerConfig');
     unset($this->Mailer);
     ClassRegistry::flush();
     parent::tearDown();
 }
コード例 #11
0
 /**
  * Method executed after each test
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     ClassRegistry::flush();
     CakeSession::delete('Auth');
 }
コード例 #12
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     $test = $this;
     unset($test->TblAdmin);
     unset($test->TblAdminLock);
     parent::tearDown();
 }
コード例 #13
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Summable);
     unset($this->Stat);
     unset($this->User);
     parent::tearDown();
 }
コード例 #14
0
 /**
  * teardown
  *
  * @return void
  **/
 function tearDown()
 {
     parent::tearDown();
     $Cleanup = new File($this->ApiConfig->path);
     $Cleanup->delete();
     unset($this->ApiConfig);
 }
コード例 #15
0
ファイル: CakeRequestTest.php プロジェクト: hungnt88/5stars-1
/**
 * tearDown
 *
 * @return void
 */
	public function tearDown() {
		parent::tearDown();
		if (!empty($this->_case)) {
			$_GET['case'] = $this->_case;
		}
		Configure::write('App', $this->_app);
	}
コード例 #16
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     Configure::write('log', true);
     DebugKitDebugger::clearTimers();
     TestFireCake::reset();
 }
コード例 #17
0
 /**
  * Tear Down
  * 
  * @author	Everton Yoshitani <*****@*****.**>
  * @since	1.0
  * @return	void 
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->ApiBehavior);
     unset($this->Thing);
     ClassRegistry::flush();
 }
コード例 #18
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Package);
     $Folder = new Folder(TMP . DS . 'repos');
     $Folder->delete();
     parent::tearDown();
 }
コード例 #19
0
ファイル: RouterTest.php プロジェクト: keetamhoang/lotdephong
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     CakePlugin::unload();
     Router::fullBaseUrl('');
     Configure::write('App.fullBaseUrl', 'http://localhost');
 }
コード例 #20
0
ファイル: extract.test.php プロジェクト: robotarmy/Phog
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Task);
     $Folder = new Folder($this->path);
     $Folder->delete();
 }
コード例 #21
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $Folder = new Folder($this->Task->path . 'bake_test_app');
     $Folder->delete();
     unset($this->Task);
 }
コード例 #22
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Game);
     // Supprimer le fichier chargé
     @unlink(WWW_ROOT . 'img' . DS . 'uploads' . DS . 'TestFile.png');
     parent::tearDown();
 }
コード例 #23
0
 /**
  * tearDown()
  *
  * @return void
  */
 public function tearDown()
 {
     if (file_exists($this->Task->bootstrap)) {
         unlink($this->Task->bootstrap);
     }
     parent::tearDown();
 }
コード例 #24
0
ファイル: RatableBehaviorTest.php プロジェクト: jxav/ratings
 /**
  * endTest
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     unset($this->Post);
     ClassRegistry::flush();
 }
コード例 #25
0
/**
 * tearDown method
 *
 * @return void
 */
	public function tearDown() {
		parent::tearDown();
		Configure::write('Cache.disable', $this->_cacheDisable);
		Cache::drop('xcache');
		Cache::drop('xcache_groups');
		Cache::config('default');
	}
コード例 #26
0
ファイル: MyHelperUrlCacheTest.php プロジェクト: Jony01/LLD
 public function tearDown()
 {
     Cache::delete(UrlCacheManager::$cacheKey, '_cake_core_');
     Cache::delete(UrlCacheManager::$cachePageKey, '_cake_core_');
     Configure::delete('UrlCache');
     parent::tearDown();
 }
コード例 #27
0
ファイル: I18nTest.php プロジェクト: kuradakis/cakephp-ex
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     Cache::delete('object_map', '_cake_core_');
     App::build();
     CakePlugin::unload();
 }
コード例 #28
0
ファイル: DebuggerTest.php プロジェクト: hungnt88/5stars-1
/**
 * tearDown method
 *
 * @return void
 */
	public function tearDown() {
		parent::tearDown();
		Configure::write('log', true);
		if ($this->_restoreError) {
			restore_error_handler();
		}
	}
コード例 #29
0
 public function tearDown()
 {
     parent::tearDown();
     $this->Data->cleanUp();
     ClassRegistry::flush();
     Configure::write('Media', $this->oldConfig);
 }
コード例 #30
0
 public function tearDown()
 {
     parent::tearDown();
     // Clean up after we're done
     unset($this->PagematronComponent);
     unset($this->Controller);
 }