当前位置: 首页>>代码示例>>PHP>>正文


PHP CakeTestSuite::addTestDirectoryRecursive方法代码示例

本文整理汇总了PHP中CakeTestSuite::addTestDirectoryRecursive方法的典型用法代码示例。如果您正苦于以下问题:PHP CakeTestSuite::addTestDirectoryRecursive方法的具体用法?PHP CakeTestSuite::addTestDirectoryRecursive怎么用?PHP CakeTestSuite::addTestDirectoryRecursive使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CakeTestSuite的用法示例。


在下文中一共展示了CakeTestSuite::addTestDirectoryRecursive方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All CakeGanache tests');
     $suite->addTestDirectoryRecursive(__DIR__ . DS . 'Config');
     $suite->addTestDirectoryRecursive(__DIR__ . DS . 'View');
     return $suite;
 }
开发者ID:gezeresolutionsweb,项目名称:cakeganache,代码行数:7,代码来源:AllTest.php

示例2: suite

 /**
  * Get the suite object.
  *
  * @return CakeTestSuite Suite class instance.
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All api tests');
     $root = APP . 'Plugin' . DS . 'Api' . DS . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($root . 'Controller');
     $suite->addTestDirectoryRecursive($root . 'Lib');
     return $suite;
 }
开发者ID:hiromi2424,项目名称:api,代码行数:13,代码来源:AllTestsTest.php

示例3: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $suite->addTestDirectoryRecursive(TESTS . 'Case');
     foreach (array('Dane') as $plugin) {
         $suite->addTestDirectoryRecursive(APP . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case');
     }
     return $suite;
 }
开发者ID:Marcin11,项目名称:_mojePanstwo-Portal,代码行数:9,代码来源:AllTestsTest.php

示例4: suite

 /**
  * Suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Mailchimp tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectoryRecursive($path . DS . 'Model');
     $Suite->addTestDirectoryRecursive($path . DS . 'Lib');
     $Suite->addTestDirectoryRecursive($path . DS . 'Network');
     return $Suite;
 }
开发者ID:drmonkeyninja,项目名称:cakephp-mailchimp,代码行数:14,代码来源:AllMailchimpTest.php

示例5: suite

 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $caseDir = dirname(__FILE__) . DS;
     $suite = new CakeTestSuite('All facebook plugin tests');
     $suite->addTestDirectoryRecursive($caseDir . 'Lib');
     $suite->addTestDirectoryRecursive($caseDir . 'Model');
     $suite->addTestDirectoryRecursive($caseDir . 'View');
     return $suite;
 }
开发者ID:fm-labs,项目名称:cakephp-facebook,代码行数:14,代码来源:AllFacebookTest.php

示例6: suite

 public static function suite()
 {
     $plugin = 'Ipay';
     $suite = new CakeTestSuite('All Ipay Tests Exclude Integration Test');
     $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Lib' . DS);
     $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Model' . DS);
     $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'View' . DS);
     $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Controller' . DS);
     return $suite;
 }
开发者ID:dilab,项目名称:ipay,代码行数:10,代码来源:AllTest.php

示例7: suite

 /**
  * Test suite to run everything
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All test cases');
     $suite->addTestDirectoryRecursive(TESTS . 'Case');
     // test plugins that are part of the app
     foreach (array('AuthService') as $plugin) {
         $suite->addTestDirectoryRecursive(APP . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case');
     }
     return $suite;
 }
开发者ID:sanyaade-machine-learning,项目名称:Catool,代码行数:13,代码来源:AllTestsTest.php

示例8: suite

 /**
  * Adds all test directories
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Seo Tests');
     $path = dirname(__FILE__);
     $suite->addTestDirectoryRecursive($path . DS . 'Controller');
     $suite->addTestDirectoryRecursive($path . DS . 'Model');
     $suite->addTestDirectoryRecursive($path . DS . 'Lib');
     $suite->addTestDirectoryRecursive($path . DS . 'Helper');
     return $suite;
 }
开发者ID:stonelasley,项目名称:seo,代码行数:15,代码来源:AllTestsTest.php

示例9: suite

 /**
  * 	All AdvancedShell tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All AdvancedShell Tests');
     $basePath = App::pluginPath('AdvancedShell') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
开发者ID:imsamurai,项目名称:cakephp-advancedshell,代码行数:12,代码来源:AllAdvancedShellTest.php

示例10: suite

 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Datasources test');
     $path = CakePlugin::path('InlineCss') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
开发者ID:drmonkeyninja,项目名称:cakephp-inline-css,代码行数:12,代码来源:AllInlineCssTest.php

示例11: suite

 /**
  * Suite define the tests for this plugin
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All VatNumberCheck test');
     $path = CakePlugin::path('VatNumberCheck') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
开发者ID:oefenweb,项目名称:cakephp-vat-number-check,代码行数:12,代码来源:AllVatNumberCheckTest.php

示例12: suite

 /**
  * 	All GoogleChart tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All GoogleChart Tests');
     $basePath = App::pluginPath('GoogleChart') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
开发者ID:imsamurai,项目名称:cakephp-google-chart,代码行数:12,代码来源:AllGoogleChartTest.php

示例13: suite

 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Authorize test');
     $path = CakePlugin::path('Sifter') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
开发者ID:dogmatic69,项目名称:cakephp-sifter,代码行数:12,代码来源:AllSifterTest.php

示例14: suite

 /**
  * 	All ClopeClustering tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All ClopeClustering Tests');
     $basePath = App::pluginPath('ClopeClustering') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
开发者ID:maxleonov,项目名称:cakephp-clope-clustering-plugin,代码行数:12,代码来源:AllClopeClusteringTest.php

示例15: suite

 /**
  * 	All SnatzAPISource tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All SMSFlySource Tests');
     $basePath = App::pluginPath('SMSFlySource') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
开发者ID:imsamurai,项目名称:cakephp-sms-fly-datasource,代码行数:12,代码来源:AllSMSFlySourceTest.php


注:本文中的CakeTestSuite::addTestDirectoryRecursive方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。