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


PHP CakeTestCase::startCase方法代码示例

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


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

示例1: startCase

 function startCase()
 {
     $this->Enum =& new EnumerableBehavior();
     $this->Job =& new EnumerableJob();
     $this->Enum->setup($this->Job, array());
     parent::startCase();
 }
开发者ID:kouno,项目名称:EnumerableBehavior,代码行数:7,代码来源:enumerable.test.php

示例2: startCase

 /**
  * startCase method
  *
  * @access public
  * @return void
  */
 function startCase()
 {
     $this->Enum =& new EnumerableBehavior();
     $this->Job =& new EnumerableCacheJob();
     $this->Enum->setup($this->Job, array('cache' => true, 'cacheName' => 'enumerable_test'));
     parent::startCase();
 }
开发者ID:kouno,项目名称:EnumerableBehavior,代码行数:13,代码来源:enumerable_cache.test.php

示例3: startCase

 function startCase()
 {
     parent::startCase();
     $this->Play = ClassRegistry::init('Play');
     $this->PlayTranslation = ClassRegistry::init('PlayTranslation');
     $this->Author = ClassRegistry::init('Author');
     $this->AuthorTranslation = ClassRegistry::init('AuthorTranslation');
     $this->Image = ClassRegistry::init('Image');
     $this->Video = ClassRegistry::init('Video');
     $this->Bioinfo = ClassRegistry::init('Bioinfo');
     $this->BioinfoTranslation = ClassRegistry::init('BioinfoTranslation');
     $this->Advertisement = ClassRegistry::init('Advertisement');
     $this->AdvertisementTranslation = ClassRegistry::init('AdvertisementTranslation');
     $this->Scenario = ClassRegistry::init('Scenario');
     $this->ScenarioTranslation = ClassRegistry::init('ScenarioTranslation');
     $this->Tag = ClassRegistry::init('Tag');
     $this->TagTranslation = ClassRegistry::init('TagTranslation');
     $this->PlaysTag = ClassRegistry::init('PlaysTag');
 }
开发者ID:rcaravita,项目名称:jodeljodel,代码行数:19,代码来源:trad_tradutore.test.php

示例4: startCase

 public function startCase()
 {
     $this->Auth = new MockModularAuthComponent();
     $this->Controller = new MockController();
     parent::startCase();
 }
开发者ID:hiromi2424,项目名称:modular_auth,代码行数:6,代码来源:modular_auth_test_case.php

示例5: startCase

 function startCase()
 {
     parent::startCase();
     $this->_reset();
 }
开发者ID:hiromi2424,项目名称:Collectionable,代码行数:5,代码来源:virtual_fields.test.php

示例6: startCase

 public function startCase()
 {
     parent::startCase();
     $this->logMethodCall(__FUNCTION__);
 }
开发者ID:nojimage,项目名称:stagehand-testrunner,代码行数:5,代码来源:cake_always_called_methods.test.php


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