本文整理汇总了PHP中Kwc_TestAbstract::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP Kwc_TestAbstract::tearDown方法的具体用法?PHP Kwc_TestAbstract::tearDown怎么用?PHP Kwc_TestAbstract::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Kwc_TestAbstract
的用法示例。
在下文中一共展示了Kwc_TestAbstract::tearDown方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
public function tearDown()
{
if (isset($_SERVER['HTTP_REFERER'])) {
unset($_SERVER['HTTP_REFERER']);
}
parent::tearDown();
}
示例2: tearDown
public function tearDown()
{
Kwf_Trl::getInstance()->setWebCodeLanguage(null);
Kwf_Trl::getInstance()->unsetTrlElements();
Kwf_Cache_SimpleStatic::clear('trl-');
Kwf_Cache_SimpleStatic::clear('trlp-');
parent::tearDown();
}
示例3: tearDown
public function tearDown()
{
Kwf_Trl::getInstance()->setWebCodeLanguage(null);
parent::tearDown();
}
示例4: tearDown
public function tearDown()
{
unset(Kwf_Registry::get('config')->kwc->domains);
unset(Kwf_Registry::get('config')->kwc->test);
parent::tearDown();
}
示例5: tearDown
public function tearDown()
{
parent::tearDown();
}
示例6: tearDown
public function tearDown()
{
parent::tearDown();
Kwf_Benchmark::disable();
}
示例7: tearDown
public function tearDown()
{
parent::tearDown();
Kwf_Registry::get('config')->user->model = $this->_previousUserModel;
Kwf_Registry::getInstance()->offsetUnset('userModel');
}
示例8: tearDown
public function tearDown()
{
Kwf_Model_Abstract::getInstance('Kwc_Basic_Text_TestStylesModel')->removeCache();
parent::tearDown();
}