本文整理汇总了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();
}
}
示例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']);
}
}
示例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();
}
示例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();
}
示例5: tearDown
public function tearDown()
{
parent::tearDown();
}
示例6: tearDown
/**
* @return void
*/
public function tearDown()
{
parent::tearDown();
$this->inject($this->contextFactory, 'contextInstances', array());
}
示例7: tearDown
public function tearDown()
{
parent::tearDown();
$this->inject($this->contextFactory, 'contextInstances', array());
$this->inject($this->objectManager->get('TYPO3\\Media\\TypeConverter\\AssetInterfaceConverter'), 'resourcesAlreadyConvertedToAssets', array());
}
示例8: tearDown
/**
* @return void
*/
public function tearDown()
{
$this->saveNodesAndTearDownRootNodeAndRepository();
parent::tearDown();
}
示例9: tearDown
public function tearDown()
{
parent::tearDown();
$this->inject($this->contextFactory, 'contextInstances', array());
$this->inject($this->objectManager->get(AssetInterfaceConverter::class), 'resourcesAlreadyConvertedToAssets', array());
}
示例10: tearDown
/**
* @return void
*/
public function tearDown()
{
parent::tearDown();
$this->inject($this->contextFactory, 'contextInstances', []);
$this->contentDimensionRepository->setDimensionsConfiguration([]);
}
示例11: tearDown
public function tearDown()
{
$contentDimensionRepository = $this->objectManager->get(ContentDimensionRepository::class);
$contentDimensionRepository->setDimensionsConfiguration(array());
parent::tearDown();
}
示例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();
}
示例13: tearDown
public function tearDown()
{
$contentDimensionRepository = $this->objectManager->get('TYPO3\\TYPO3CR\\Domain\\Repository\\ContentDimensionRepository');
$contentDimensionRepository->setDimensionsConfiguration(array());
parent::tearDown();
}
示例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();
}
示例15: tearDown
public function tearDown()
{
parent::tearDown();
$this->inject($this->contextFactory, 'contextInstances', array());
$this->nodeIndexCommandController->cleanupCommand();
}
开发者ID:johannessteu,项目名称:Flowpack.ElasticSearch.ContentRepositoryAdaptor,代码行数:6,代码来源:ElasticSearchQueryTest.php