本文整理汇总了PHP中Tools\TestSuite\TestCase::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP TestCase::tearDown方法的具体用法?PHP TestCase::tearDown怎么用?PHP TestCase::tearDown使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tools\TestSuite\TestCase
的用法示例。
在下文中一共展示了TestCase::tearDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
/**
* tearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
Log::drop('email');
Email::drop('test');
Email::dropTransport('debug');
Email::dropTransport('test_smtp');
}
示例2: tearDown
/**
* TearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
unset($this->Gravatar);
}
示例3: tearDown
public function tearDown()
{
parent::tearDown();
unset($this->Controller);
}
示例4: tearDown
public function tearDown()
{
TableRegistry::clear();
parent::tearDown();
}
示例5: tearDown
/**
* tearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
}
示例6: tearDown
public function tearDown()
{
parent::tearDown();
unset($this->Format);
}
示例7: tearDown
/**
* TearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
unset($this->Html);
}
示例8: tearDown
public function tearDown()
{
parent::tearDown();
unset($this->Timeline);
}
示例9: tearDown
public function tearDown()
{
unset($this->Table);
TableRegistry::clear();
parent::tearDown();
}
示例10: tearDown
public function tearDown()
{
parent::tearDown();
$_SERVER['argv'] = $this->serverArgBackup;
}
示例11: tearDown
/**
* TearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
unset($this->Common);
}
示例12: tearDown
public function tearDown()
{
parent::tearDown();
unset($this->Number);
}
示例13: tearDown
/**
* @return void
*/
public function tearDown()
{
unset($this->Table);
parent::tearDown();
}
示例14: tearDown
/**
* TearDown method
*
* @return void
*/
public function tearDown()
{
parent::tearDown();
unset($this->Flash);
}
示例15: tearDown
/**
* @return void
*/
public function tearDown()
{
parent::tearDown();
$this->Maintenance->setMaintenanceMode(false);
$this->Maintenance->clearWhitelist();
}