本文整理匯總了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__);
}