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


PHP WikiaBaseTest::tearDown方法代码示例

本文整理汇总了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();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:ImageServingCroppingTest.php

示例2: tearDown

 public function tearDown()
 {
     parent::tearDown();
     if ($this->tmpPath !== false) {
         unlink($this->tmpPath);
     }
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:UploadVerifyFileTest.php

示例3: tearDown

 public function tearDown()
 {
     global $wgApiAccess, $wgApiEnvironment;
     $wgApiAccess = $this->org_wgApiAccess;
     $wgApiEnvironment = $this->org_wgApiEnvironment;
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:ApiAccessServiceTest.php

示例4: tearDown

 function tearDown()
 {
     global $wgDevelEnvironment, $wgDevelEnvironmentName;
     $wgDevelEnvironment = $this->wgDevelEnv;
     $wgDevelEnvironmentName = $this->wgDevelEnvName;
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:7,代码来源:GlobalTitleTest.php

示例5: tearDown

 public function tearDown()
 {
     parent::tearDown();
     global $wgStagingList;
     $wgStagingList = $this->org_StagingList;
     if (!empty($this->serverName)) {
         $_SERVER['SERVER_NAME'] = $this->serverName;
     }
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:9,代码来源:WikiFactoryTest.php

示例6: tearDown

 function tearDown()
 {
     parent::tearDown();
     $_SERVER = $this->serverOriginal;
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:5,代码来源:RequestIdTest.php

示例7: tearDown

 public function tearDown()
 {
     global $wgDevelEnvironment;
     $wgDevelEnvironment = $this->org_wgDevelEnvironment;
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:TvApiControllerTest.php

示例8: tearDown

 public function tearDown()
 {
     @unlink($this->tmpFile);
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:5,代码来源:MetaCSVServiceTest.php

示例9: tearDown

 protected function tearDown()
 {
     // we use libxml only for tests here
     libxml_clear_errors();
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:SimpleXmlUtilTest.php

示例10: tearDown

 public function tearDown()
 {
     parent::tearDown();
     global $wgCommandLineSilentMode;
     $wgCommandLineSilentMode = $this->silentMode;
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:CityVisualizationTest.php

示例11: tearDown

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

示例12: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->app->wg->Out->mScripts = $this->wgOutmScriptsCached;
     $this->wgOutmScriptsCached = '';
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:WallNotificationsControllerTest.php

示例13: tearDown

 public function tearDown()
 {
     global $wgHooks;
     $wgHooks = $this->oldWgHooks;
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:ResourceLoaderTest.php

示例14: tearDown

 public function tearDown()
 {
     parent::tearDown();
     global $wgUser;
     $wgUser = $this->backupUser;
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:FounderEmailsEditEventTest.php

示例15: tearDown

 protected function tearDown()
 {
     global $wgCityId;
     $wgCityId = $this->wgCityId;
     parent::tearDown();
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:6,代码来源:FounderProgressBarTest.php


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