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


PHP CakeTestSuite::addTestDirectory方法代碼示例

本文整理匯總了PHP中CakeTestSuite::addTestDirectory方法的典型用法代碼示例。如果您正苦於以下問題:PHP CakeTestSuite::addTestDirectory方法的具體用法?PHP CakeTestSuite::addTestDirectory怎麽用?PHP CakeTestSuite::addTestDirectory使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CakeTestSuite的用法示例。


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

示例1: suite

 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS . 'Component' . DS);
     return $suite;
 }
開發者ID:kenz,項目名稱:basercms,代碼行數:12,代碼來源:MailAllControllerTest.php

示例2: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Model');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Controller');
     return $suite;
 }
開發者ID:MrGrigorev,項目名稱:reserva-de-salas,代碼行數:7,代碼來源:AllTestsTest.php

示例3: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All Auditable Tests');
     $suite->addTestDirectory(__DIR__ . '/Model');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     return $suite;
 }
開發者ID:radig,項目名稱:auditable,代碼行數:7,代碼來源:AllAuditableTestsTest.php

示例4: suite

 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Cache related class tests');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Cache');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Cache' . DS . 'Engine');
     return $suite;
 }
開發者ID:mrbadao,項目名稱:api-official,代碼行數:12,代碼來源:AllCacheTest.php

示例5: suite

 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Plugin tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     $Suite->addTestDirectory($path . DS . 'Lib' . DS . 'Parser');
     return $Suite;
 }
開發者ID:jxav,項目名稱:markup_parsers,代碼行數:13,代碼來源:AllPluginTestsTest.php

示例6: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All lib tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'Lib' . DS;
     $suite->addTestDirectory($path);
     $suite->addTestDirectory($path . 'Configure');
     return $suite;
 }
開發者ID:laiello,項目名稱:plankonindia,代碼行數:8,代碼來源:AllLibsTest.php

示例7: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All Users plugin tests');
     $path = CakePlugin::path('Users') . DS . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectory($path . 'Controller');
     $suite->addTestDirectory($path . 'Model');
     return $suite;
 }
開發者ID:dlpc,項目名稱:CakeWX,代碼行數:8,代碼來源:AllUsersTestsTest.php

示例8: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $dir = dirname(__FILE__);
     $suite->addTestDirectory($dir . DS . 'Behavior');
     $suite->addTestDirectory($dir . DS . 'Datasource');
     return $suite;
 }
開發者ID:indirasam,項目名稱:aquitemmata,代碼行數:8,代碼來源:AllTest.php

示例9: suite

 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $path = dirname(__FILE__) . DS;
     $suite->addTestDirectory($path . 'Model' . DS);
     $suite->addTestDirectory($path . 'Model' . DS . 'Behavior' . DS);
     return $suite;
 }
開發者ID:naow9y,項目名稱:basercms,代碼行數:13,代碼來源:MailAllModelTest.php

示例10: suite

 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Routing class tests');
     $libs = CORE_TEST_CASES . DS;
     $suite->addTestDirectory($libs . 'Routing');
     $suite->addTestDirectory($libs . 'Routing' . DS . 'Route');
     return $suite;
 }
開發者ID:MrGrigorev,項目名稱:reserva-de-salas,代碼行數:13,代碼來源:AllRoutingTest.php

示例11: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All Locale Tests');
     $suite->addTestDirectory(__DIR__ . '/Lib');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     $suite->addTestDirectory(__DIR__ . '/View/Helper');
     return $suite;
 }
開發者ID:radig,項目名稱:locale,代碼行數:8,代碼來源:AllLocaleTest.php

示例12: suite

 /**
  * Compile test suite with all tests
  *
  * @return CakeTestSuite The compiled test suite.
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Plugin tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
     return $Suite;
 }
開發者ID:jxav,項目名稱:search,代碼行數:13,代碼來源:AllSearchTest.php

示例13: suite

 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Network related class tests');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network' . DS . 'Email');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network' . DS . 'Http');
     return $suite;
 }
開發者ID:gilyaev,項目名稱:framework-bench,代碼行數:13,代碼來源:AllNetworkTest.php

示例14: suite

 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Categories tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller');
     $Suite->addTestDirectory($path . DS . 'Model');
     return $Suite;
 }
開發者ID:jxav,項目名稱:categories,代碼行數:13,代碼來源:AllCategoriesTest.php

示例15: suite

 public static function suite()
 {
     $suite = new CakeTestSuite('All model tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Lib');
     $suite->addTestDirectory(__DIR__ . DS . 'Console' . DS . 'Command');
     $suite->addTestDirectory(__DIR__ . DS . 'Config');
     return $suite;
 }
開發者ID:rchavik,項目名稱:Cake-Resque,代碼行數:8,代碼來源:AllCakeResqueTest.php


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