當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。