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


PHP BaseTestCase::tearDown方法代碼示例

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


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

示例1: tearDown

 public function tearDown()
 {
     parent::tearDown();
     if (is_object($this->driver)) {
         $this->driver->close();
     }
 }
開發者ID:ekowabaka,項目名稱:cfx,代碼行數:7,代碼來源:UITestCase.php

示例2: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->dropTables();
     unset($this->Base);
     $this->clearApplicationData();
 }
開發者ID:realejo,項目名稱:library-zf1,代碼行數:10,代碼來源:BaseExtendedWhereTest.php

示例3: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     // TODO Auto-generated RW_App_Model_UploadTest::tearDown()
     $this->RW_App_Model_Upload = null;
     $this->clearApplicationData();
     parent::tearDown();
 }
開發者ID:realejo,項目名稱:library-zf1,代碼行數:10,代碼來源:UploadTest.php

示例4: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->dropTables();
     unset($this->Db);
     // Remove as pastas criadas
     $this->clearApplicationData();
 }
開發者ID:realejo,項目名稱:library-zf1,代碼行數:11,代碼來源:DbTest.php

示例5: tearDown

 public function tearDown()
 {
     MysqlUser::truncate();
     MysqlBook::truncate();
     MysqlRole::truncate();
     Book::truncate();
     parent::tearDown();
 }
開發者ID:Symfomany,項目名稱:laravel-mongo,代碼行數:8,代碼來源:MysqlRelationsTest.php

示例6: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     // Não inicializa o APPLICATION_DATA pois alguns testes exigem que ele não exista
     //@todo é possível ser condicional? teste case separado?
     // Remove as pastas criadas
     //$this->clearApplicationData();
 }
開發者ID:realejo,項目名稱:library-zf1,代碼行數:11,代碼來源:CacheTest.php

示例7: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindModule = null;
     parent::tearDown();
 }
開發者ID:jellycheng,項目名稱:windframework,代碼行數:8,代碼來源:WindModuleTest.php

示例8: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->factory = null;
 }
開發者ID:jellycheng,項目名稱:windframework,代碼行數:8,代碼來源:WindFactoryTest.php

示例9: tearDown

 public function tearDown()
 {
     parent::tearDown();
 }
開發者ID:gpawlik,項目名稱:laravel-projects-codebase,代碼行數:4,代碼來源:RoleBaseTestCase.php

示例10: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindErrorMessage = null;
     parent::tearDown();
 }
開發者ID:jellycheng,項目名稱:windframework,代碼行數:8,代碼來源:WindErrorMessageTest.php

示例11: tearDown

 public function tearDown()
 {
     User::truncate();
     parent::tearDown();
 }
開發者ID:Symfomany,項目名稱:laravel-mongo,代碼行數:5,代碼來源:QueryTest.php

示例12: tearDown

 /**
  * Finaliase (post-tests)
  *
  * Deletes class variable $this->consignment
  *
  * @author 	Eddie Jaoude
  * @param 	null
  * @return 	null
  *
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->config);
 }
開發者ID:MarS2806,項目名稱:Zend-Framework--Doctrine-ORM--PHPUnit--Ant--Jenkins-CI--TDD-,代碼行數:15,代碼來源:appliationProductionModeTest.php

示例13: tearDown

 public function tearDown()
 {
     parent::tearDown();
     \DB::table("permissions")->where("permission_name", $this->permission)->delete();
 }
開發者ID:gpawlik,項目名稱:laravel-projects-codebase,代碼行數:5,代碼來源:PermissionBaseTestCase.php

示例14: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindClassProxy = null;
     parent::tearDown();
 }
開發者ID:jellycheng,項目名稱:windframework,代碼行數:8,代碼來源:WindClassProxyTest.php

示例15: tearDown

 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindForward = null;
     parent::tearDown();
 }
開發者ID:jellycheng,項目名稱:windframework,代碼行數:8,代碼來源:WindForwardTest.php


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