本文整理汇总了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();
}
示例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();
}
示例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');
}
示例4: startCase
public function startCase()
{
$this->Auth = new MockModularAuthComponent();
$this->Controller = new MockController();
parent::startCase();
}
示例5: startCase
function startCase()
{
parent::startCase();
$this->_reset();
}
示例6: startCase
public function startCase()
{
parent::startCase();
$this->logMethodCall(__FUNCTION__);
}