當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ModelModuleTest\TestSuite類代碼示例

本文整理匯總了PHP中ModelModuleTest\TestSuite的典型用法代碼示例。如果您正苦於以下問題:PHP TestSuite類的具體用法?PHP TestSuite怎麽用?PHP TestSuite使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了TestSuite類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new UsersFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:UsersFormControllerTest.php

示例2: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->apiSetup = new ApiSetup();
     $this->validInputSample = array('key' => 'myApiKey', 'username' => 'myUsername', 'password' => 'myPassword');
     $this->resouceClassMapSample = array('contents' => 'ApiWebService\\Model\\Resources\\PostsApiResource', 'blogs' => 'ClassDoesntExist');
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:ApiSetupTest.php

示例3: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciSceltaContraenteSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:ContrattiPubbliciSceltaContraenteSummaryControllerTest.php

示例4: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AttachmentsSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:AttachmentsSummaryControllerTest.php

示例5: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AlboPretorioRelataPdfController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:AlboPretorioRelataPdfControllerTest.php

示例6: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiOperationsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:ContenutiOperationsControllerTest.php

示例7: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciOperatoriFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:ContrattiPubbliciOperatoriFormControllerTest.php

示例8: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new HomePageBlocksPositionsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:7,代碼來源:HomePageBlocksPositionsControllerTest.php

示例9: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiTabellaUpdateController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->formDataSample = array('id' => 1, 'titolo' => 'My Hidden article title', 'tabella' => 'My large content table!');
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:8,代碼來源:ContenutiTabellaUpdateControllerTest.php

示例10: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new BlogsFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->controller->layout()->setVariable('configurations', array('media_dir' => 'public\\frontend\\media', 'media_project' => 'public\\frontend\\media\\demo'));
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:8,代碼來源:BlogsFormControllerTest.php

示例11: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->setupUserSession($this->recoverUserDetails());
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:8,代碼來源:ContrattiPubbliciSummaryControllerTest.php

示例12: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiUpdateController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->formDataSample = array('titolo' => 'My Content Title', 'sommario' => 'My Content SubTitle', 'testo' => 'My Large Text', 'sottosezione' => 1, 'dataInserimento' => '2015-05-28 01:01:00', 'dataScadenza' => '2015-05-28 01:01:00', 'attivo' => 1, 'home' => 1, 'rss' => 1, 'utente' => 1, 'id' => 1);
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:8,代碼來源:ContenutiUpdateControllerTest.php

示例13: setUp

 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AttachmentsOperationsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->request->setMethod(Request::METHOD_POST)->getPost()->fromArray(array('id' => 1, 'attiConcessioneColonna' => 2));
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:8,代碼來源:AttachmentsOperationsControllerTest.php

示例14: setUp

 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new UsersRecoverPasswordController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:9,代碼來源:UsersRecoverPasswordControllerTest.php

示例15: setUp

 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new AlboPretorioSearchController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
開發者ID:usban,項目名稱:entilocali,代碼行數:9,代碼來源:AlboPretorioSearchControllerTest.php


注:本文中的ModelModuleTest\TestSuite類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。