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


PHP BaserTestCase类代码示例

本文整理汇总了PHP中BaserTestCase的典型用法代码示例。如果您正苦于以下问题:PHP BaserTestCase类的具体用法?PHP BaserTestCase怎么用?PHP BaserTestCase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了BaserTestCase类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Page);
     unset($this->Content);
     unset($this->SiteConfig);
     parent::tearDown();
 }
开发者ID:naow9y,项目名称:basercms,代码行数:12,代码来源:BcContentsManagerBehaviorTest.php

示例2: tearDown

 public function tearDown()
 {
     @session_destroy();
     parent::tearDown();
     unset($this->Controller);
     unset($this->BcCaptcha);
 }
开发者ID:baserproject,项目名称:basercms,代码行数:7,代码来源:BcCaptchaComponentTest.php

示例3: tearDown

 public function tearDown()
 {
     @session_destroy();
     parent::tearDown();
     unset($this->Controller);
     unset($this->BcAuthConfigure);
 }
开发者ID:baserproject,项目名称:basercms,代码行数:7,代码来源:BcAuthConfigureComponentTest.php

示例4: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->BlogBaser);
     unset($this->BlogContent);
     Router::reload();
     parent::tearDown();
 }
开发者ID:baserproject,项目名称:basercms,代码行数:12,代码来源:BlogBaserHelperTest.php

示例5: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->BlogContent);
     unset($this->PluginContent);
     unset($this->BcPluginContentBehavior);
     parent::tearDown();
 }
开发者ID:naow9y,项目名称:basercms,代码行数:12,代码来源:BcPluginContentBehaviorTest.php

示例6: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     @session_destroy();
     unset($this->EditorTemplate);
     unset($this->BcUploadBehavior);
     parent::tearDown();
 }
开发者ID:baserproject,项目名称:basercms,代码行数:12,代码来源:BcUploadBehaviorTest.php

示例7: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->BcApp);
     unset($this->Page);
     unset($this->SiteConfig);
     unset($this->Dblog);
     parent::tearDown();
 }
开发者ID:baserproject,项目名称:basercms,代码行数:13,代码来源:BcAppTest.php

示例8: tearDown

 public function tearDown()
 {
     parent::tearDown();
     unset($this->Controller);
     unset($this->BcCaptcha);
 }
开发者ID:naow9y,项目名称:basercms,代码行数:6,代码来源:BcCaptchaComponentTest.php

示例9: tearDown

 public function tearDown()
 {
     unset($this->BcWidgetArea);
     parent::tearDown();
 }
开发者ID:naow9y,项目名称:basercms,代码行数:5,代码来源:BcWidgetAreaHelperTest.php

示例10: tearDown

 public function tearDown()
 {
     unset($this->BcCsv);
     parent::tearDown();
 }
开发者ID:baserproject,项目名称:basercms,代码行数:5,代码来源:BcCsvHelperTest.php

示例11: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     Router::reload();
     parent::tearDown();
 }
开发者ID:naow9y,项目名称:basercms,代码行数:10,代码来源:BcPageHelperTest.php

示例12: tearDown

 public function tearDown()
 {
     parent::tearDown();
     unset($this->Controller);
     unset($this->BcReplacePrefix);
 }
开发者ID:baserproject,项目名称:basercms,代码行数:6,代码来源:BcReplacePrefixComponentTest.php

示例13: tearDown

 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->BcFreeze);
 }
开发者ID:naow9y,项目名称:basercms,代码行数:10,代码来源:BcFreezeHelperTest.php

示例14: setUp

 /**
  * set up
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->requestFilter = new BcRequestFilter();
 }
开发者ID:naow9y,项目名称:basercms,代码行数:10,代码来源:BcRequestFilterTest.php

示例15: setUp

 /**
  * set up
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Content = ClassRegistry::init('Content');
     BcSite::flash();
 }
开发者ID:baserproject,项目名称:basercms,代码行数:11,代码来源:ContentTest.php


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