当前位置: 首页>>代码示例>>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;未经允许,请勿转载。