當前位置: 首頁>>代碼示例>>PHP>>正文


PHP TuleapTestCase::tearDown方法代碼示例

本文整理匯總了PHP中TuleapTestCase::tearDown方法的典型用法代碼示例。如果您正苦於以下問題:PHP TuleapTestCase::tearDown方法的具體用法?PHP TuleapTestCase::tearDown怎麽用?PHP TuleapTestCase::tearDown使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在TuleapTestCase的用法示例。


在下文中一共展示了TuleapTestCase::tearDown方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: tearDown

 public function tearDown()
 {
     $this->zip->close();
     $this->archive->cleanUp();
     //`rm -rf $this->tmp_dir/import_project_*`;
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:7,代碼來源:XMLImportZipArchiveTest.php

示例2: tearDown

 public function tearDown()
 {
     unset($GLOBALS['sys_force_ssl']);
     unset($GLOBALS['sys_https_host']);
     unset($GLOBALS['sys_default_domain']);
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:7,代碼來源:URLRedirectTest.php

示例3: tearDown

 public function tearDown()
 {
     UserManager::clearInstance();
     ProjectManager::clearInstance();
     SystemEventManager::clearInstance();
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:7,代碼來源:OneStepProjectCreationValidatorTest.php

示例4: tearDown

 public function tearDown()
 {
     foreach ($_SESSION as $key => $nop) {
         unset($_SESSION[$key]);
     }
     parent::tearDown();
 }
開發者ID:nterray,項目名稱:tuleap,代碼行數:7,代碼來源:Tracker_ReportFactoryTest.php

示例5: tearDown

 public function tearDown()
 {
     parent::tearDown();
     chdir($this->oldCwd);
     system('rm -Rf ' . $this->admin_dir);
     PermissionsManager::clearInstance();
 }
開發者ID:nterray,項目名稱:tuleap,代碼行數:7,代碼來源:Git_GitoliteDriver_PermissionsTest.php

示例6: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->item_id++;
     PermissionsManager::clearInstance();
     ProjectManager::clearInstance();
     Docman_ItemFactory::clearInstance($this->project->getID());
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:8,代碼來源:PermissionsItemManagerTest.php

示例7: tearDown

 function tearDown()
 {
     parent::tearDown();
     unset($this->artlink_info_123);
     unset($this->artlink_info_321);
     unset($this->artlink_info_666);
     unset($this->artlink_info_999);
 }
開發者ID:nickl-,項目名稱:tuleap,代碼行數:8,代碼來源:Tracker_Artifact_ChangesetValue_ArtifactLinkTest.php

示例8: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $_SERVER['REQUEST_URI'] = $this->saved_request_uri;
     Tracker_ArtifactFactory::clearInstance();
     Tracker_Hierarchy_HierarchicalTrackerFactory::clearInstance();
     TrackerFactory::clearInstance();
 }
開發者ID:nterray,項目名稱:tuleap,代碼行數:8,代碼來源:MilestoneControllerTest.php

示例9: tearDown

 public function tearDown()
 {
     $this->xml_security->disableExternalLoadOfEntities();
     unset($GLOBALS['sys_incdir']);
     unset($GLOBALS['sys_custom_incdir']);
     unset($GLOBALS['Language']);
     parent::tearDown();
 }
開發者ID:pdaniel-frk,項目名稱:tuleap,代碼行數:8,代碼來源:Tracker_FormElement_Field_DateTest.php

示例10: tearDown

 public function tearDown()
 {
     UserManager::clearInstance();
     unset($GLOBALS['Language']);
     unset($GLOBALS['sys_default_domain']);
     unset($GLOBALS['HTML']);
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:8,代碼來源:MailBuilderTest.php

示例11: tearDown

 public function tearDown()
 {
     $this->xml_security->disableExternalLoadOfEntities();
     foreach ($_SESSION as $key => $nop) {
         unset($_SESSION[$key]);
     }
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:8,代碼來源:Tracker_ReportFactoryTest.php

示例12: tearDown

 public function tearDown()
 {
     unset($GLOBALS['sys_dbhost']);
     unset($GLOBALS['sys_dbuser']);
     unset($GLOBALS['sys_dbpasswd']);
     unset($GLOBALS['sys_dbname']);
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:8,代碼來源:TuleapDbTestCase.class.php

示例13: tearDown

 public function tearDown()
 {
     unset($this->user);
     unset($this->artifact);
     unset($this->tracker);
     unset($this->formElement);
     unset($this->report);
     unset($this->url);
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:10,代碼來源:Tracker_URLTest.php

示例14: tearDown

 public function tearDown()
 {
     foreach ($this->_scripts as $file => $original_filemtime) {
         touch($file, $original_filemtime);
     }
     foreach (glob($this->destination_dir . '/*.js') as $file) {
         unlink($file);
     }
     parent::tearDown();
 }
開發者ID:pombredanne,項目名稱:tuleap,代碼行數:10,代碼來源:CombinedTest.php

示例15: tearDown

 function tearDown()
 {
     $tmpdir = $GLOBALS['codendi_cache_dir'] . '/lang/';
     $fd = opendir($tmpdir);
     while (false !== ($file = readdir($fd))) {
         if (is_file($tmpdir . '/' . $file)) {
             unlink($tmpdir . '/' . $file);
         }
     }
     parent::tearDown();
 }
開發者ID:nterray,項目名稱:tuleap,代碼行數:11,代碼來源:BaseLanguageTest.php


注:本文中的TuleapTestCase::tearDown方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。