本文整理汇总了PHP中WikiaBaseTest::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP WikiaBaseTest::tearDown方法的具体用法?PHP WikiaBaseTest::tearDown怎么用?PHP WikiaBaseTest::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WikiaBaseTest
的用法示例。
在下文中一共展示了WikiaBaseTest::tearDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
public function tearDown()
{
if (!empty($this->tmpFile)) {
unlink($this->tmpFile);
}
parent::tearDown();
}
示例2: tearDown
public function tearDown()
{
parent::tearDown();
if ($this->tmpPath !== false) {
unlink($this->tmpPath);
}
}
示例3: tearDown
public function tearDown()
{
global $wgApiAccess, $wgApiEnvironment;
$wgApiAccess = $this->org_wgApiAccess;
$wgApiEnvironment = $this->org_wgApiEnvironment;
parent::tearDown();
}
示例4: tearDown
function tearDown()
{
global $wgDevelEnvironment, $wgDevelEnvironmentName;
$wgDevelEnvironment = $this->wgDevelEnv;
$wgDevelEnvironmentName = $this->wgDevelEnvName;
parent::tearDown();
}
示例5: tearDown
public function tearDown()
{
parent::tearDown();
global $wgStagingList;
$wgStagingList = $this->org_StagingList;
if (!empty($this->serverName)) {
$_SERVER['SERVER_NAME'] = $this->serverName;
}
}
示例6: tearDown
function tearDown()
{
parent::tearDown();
$_SERVER = $this->serverOriginal;
}
示例7: tearDown
public function tearDown()
{
global $wgDevelEnvironment;
$wgDevelEnvironment = $this->org_wgDevelEnvironment;
parent::tearDown();
}
示例8: tearDown
public function tearDown()
{
@unlink($this->tmpFile);
parent::tearDown();
}
示例9: tearDown
protected function tearDown()
{
// we use libxml only for tests here
libxml_clear_errors();
parent::tearDown();
}
示例10: tearDown
public function tearDown()
{
parent::tearDown();
global $wgCommandLineSilentMode;
$wgCommandLineSilentMode = $this->silentMode;
}
示例11: tearDown
public function tearDown()
{
parent::tearDown();
}
示例12: tearDown
public function tearDown()
{
parent::tearDown();
$this->app->wg->Out->mScripts = $this->wgOutmScriptsCached;
$this->wgOutmScriptsCached = '';
}
示例13: tearDown
public function tearDown()
{
global $wgHooks;
$wgHooks = $this->oldWgHooks;
parent::tearDown();
}
示例14: tearDown
public function tearDown()
{
parent::tearDown();
global $wgUser;
$wgUser = $this->backupUser;
}
示例15: tearDown
protected function tearDown()
{
global $wgCityId;
$wgCityId = $this->wgCityId;
parent::tearDown();
}