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