当前位置: 首页>>代码示例>>PHP>>正文


PHP FunctionalTestCase::tearDown方法代码示例

本文整理汇总了PHP中TYPO3\Flow\Tests\FunctionalTestCase::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP FunctionalTestCase::tearDown方法的具体用法?PHP FunctionalTestCase::tearDown怎么用?PHP FunctionalTestCase::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TYPO3\Flow\Tests\FunctionalTestCase的用法示例。


在下文中一共展示了FunctionalTestCase::tearDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: tearDown

 /**
  * set to final because this is an important step which may not be overridden.
  */
 public final function tearDown()
 {
     parent::tearDown();
     if ($this->removeIndexOnTearDown === TRUE) {
         $this->testingIndex->delete();
     }
 }
开发者ID:johannessteu,项目名称:Flowpack.ElasticSearch,代码行数:10,代码来源:AbstractTest.php

示例2: tearDown

 /**
  * Clean up database after running tests
  */
 public function tearDown()
 {
     parent::tearDown();
     if (isset($this->documentManager)) {
         $this->documentManager->getHttpClient()->request('DELETE', '/' . $this->settings['databaseName']);
     }
 }
开发者ID:rfyio,项目名称:Radmiraal.CouchDB,代码行数:10,代码来源:AbstractFunctionalTest.php

示例3: tearDown

 public function tearDown()
 {
     $persistenceManager = self::$bootstrap->getObjectManager()->get('TYPO3\\Flow\\Persistence\\PersistenceManagerInterface');
     if (is_callable(array($persistenceManager, 'tearDown'))) {
         $persistenceManager->tearDown();
     }
     self::$bootstrap->getObjectManager()->forgetInstance('TYPO3\\Flow\\Persistence\\PersistenceManagerInterface');
     parent::tearDown();
 }
开发者ID:hhoechtl,项目名称:neos-development-collection,代码行数:9,代码来源:AbstractTest.php

示例4: tearDown

 /**
  * Persist all and destroy the persistence session for the next test
  *
  * @return void
  * @author Christopher Hlubek <hlubek@networkteam.com>
  */
 public function tearDown()
 {
     try {
         parent::tearDown();
     } catch (\Exception $e) {
         \TYPO3\Flow\var_dump($e, 'Exception during tearDown');
     }
     $this->tearDownPersistence();
 }
开发者ID:admaykin,项目名称:TYPO3.CouchDB,代码行数:15,代码来源:CouchDbTest.php

示例5: tearDown

 public function tearDown()
 {
     parent::tearDown();
 }
开发者ID:econic,项目名称:testing,代码行数:4,代码来源:Test.php

示例6: tearDown

 /**
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->inject($this->contextFactory, 'contextInstances', array());
 }
开发者ID:simonschaufi,项目名称:neos-development-collection,代码行数:8,代码来源:NodeDataRepositoryTest.php

示例7: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->inject($this->contextFactory, 'contextInstances', array());
     $this->inject($this->objectManager->get('TYPO3\\Media\\TypeConverter\\AssetInterfaceConverter'), 'resourcesAlreadyConvertedToAssets', array());
 }
开发者ID:mgoldbeck,项目名称:neos-development-collection,代码行数:6,代码来源:NodeViewHelperTest.php

示例8: tearDown

 /**
  * @return void
  */
 public function tearDown()
 {
     $this->saveNodesAndTearDownRootNodeAndRepository();
     parent::tearDown();
 }
开发者ID:radmiraal,项目名称:neos-development-collection,代码行数:8,代码来源:WorkspacesTest.php

示例9: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->inject($this->contextFactory, 'contextInstances', array());
     $this->inject($this->objectManager->get(AssetInterfaceConverter::class), 'resourcesAlreadyConvertedToAssets', array());
 }
开发者ID:robertlemke,项目名称:neos-development-collection,代码行数:6,代码来源:AbstractNodeTest.php

示例10: tearDown

 /**
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->inject($this->contextFactory, 'contextInstances', []);
     $this->contentDimensionRepository->setDimensionsConfiguration([]);
 }
开发者ID:futjikato,项目名称:neos-development-collection,代码行数:9,代码来源:NodesTest.php

示例11: tearDown

 public function tearDown()
 {
     $contentDimensionRepository = $this->objectManager->get(ContentDimensionRepository::class);
     $contentDimensionRepository->setDimensionsConfiguration(array());
     parent::tearDown();
 }
开发者ID:robertlemke,项目名称:neos-development-collection,代码行数:6,代码来源:NodeConverterTest.php

示例12: tearDown

 /**
  * Persist all and destroy the persistence session for the next test
  *
  * @return void
  * @author Christopher Hlubek <hlubek@networkteam.com>
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->resetPersistenceBackend();
 }
开发者ID:admaykin,项目名称:TYPO3.CouchDB,代码行数:11,代码来源:CouchDbLuceneTest.php

示例13: tearDown

 public function tearDown()
 {
     $contentDimensionRepository = $this->objectManager->get('TYPO3\\TYPO3CR\\Domain\\Repository\\ContentDimensionRepository');
     $contentDimensionRepository->setDimensionsConfiguration(array());
     parent::tearDown();
 }
开发者ID:radmiraal,项目名称:neos-development-collection,代码行数:6,代码来源:NodeConverterTest.php

示例14: tearDown

 /**
  * Persist all and destroy the persistence session for the next test
  *
  * @return void
  * @author Christopher Hlubek <hlubek@networkteam.com>
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->objectManager->get('TYPO3\\Flow\\Persistence\\Generic\\Session')->destroy();
 }
开发者ID:radmiraal,项目名称:TYPO3.CouchDB,代码行数:11,代码来源:FlowDesignTest.php

示例15: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->inject($this->contextFactory, 'contextInstances', array());
     $this->nodeIndexCommandController->cleanupCommand();
 }
开发者ID:johannessteu,项目名称:Flowpack.ElasticSearch.ContentRepositoryAdaptor,代码行数:6,代码来源:ElasticSearchQueryTest.php


注:本文中的TYPO3\Flow\Tests\FunctionalTestCase::tearDown方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。