当前位置: 首页>>代码示例>>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;未经允许,请勿转载。