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