本文整理汇总了PHP中CakeTestSuite类的典型用法代码示例。如果您正苦于以下问题:PHP CakeTestSuite类的具体用法?PHP CakeTestSuite怎么用?PHP CakeTestSuite使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CakeTestSuite类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: suite
public static function suite()
{
$suite = new CakeTestSuite('All Acl component class tests');
$path = CakePlugin::path('Acl') . DS . 'Test' . DS . 'Case';
$suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
return $suite;
}
开发者ID:saydulk,项目名称:croogo,代码行数:7,代码来源:AllAclComponentsTest.php
示例2: suite
/**
* Suite define the tests for this suite
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Bs3Helpers tests');
$path = CakePlugin::path('Bs3Helpers') . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:Cakephp-Italia,项目名称:cakephp-bootstrap3-helpers,代码行数:12,代码来源:AllTestsTest.php
示例3: suite
/**
* Suite define the tests for this suite
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Users tests');
$path = CakePlugin::path('Users') . 'Test' . DS . 'Case' . DS;
$suite->addTestDirectoryRecursive($path);
return $suite;
}
开发者ID:nani8124,项目名称:infinitas,代码行数:12,代码来源:AllUsersTestsTest.php
示例4: suite
public static function suite()
{
$suite = new CakeTestSuite('All commands tests');
$path = APP . 'Test' . DS . 'Case' . DS . 'Console' . DS . 'Command' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:laiello,项目名称:plankonindia,代码行数:7,代码来源:AllConsolesTest.php
示例5: suite
/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Tasks tests');
$path = CORE_TEST_CASES . DS . 'Console' . DS . 'Command' . DS . 'Task' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:agashish,项目名称:test_new,代码行数:12,代码来源:AllTasksTest.php
示例6: suite
public static function suite()
{
$suite = new CakeTestSuite('All lib tests');
$path = APP . 'Test' . DS . 'Case' . DS . 'Lib' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:romaing,项目名称:croogo-rg,代码行数:7,代码来源:AllLibsTest.php
示例7: suite
/**
* Suite method, defines tests for this suite.
*
* @return void
*/
public static function suite()
{
$Suite = new CakeTestSuite('All Shell tests');
$path = dirname(__FILE__);
$Suite->addTestDirectory($path . DS . 'Console' . DS . 'Command');
return $Suite;
}
开发者ID:ByMyHandsOnly,项目名称:BMHO_Web,代码行数:12,代码来源:AllShellTestsTest.php
示例8: suite
public static function suite()
{
$suite = new CakeTestSuite('All tests');
$dir = dirname(__FILE__);
$suite->addTestDirectory($dir . DS . 'Model');
return $suite;
}
开发者ID:k1low,项目名称:setting,代码行数:7,代码来源:AllTest.php
示例9: suite
/**
* Suite define the tests for this suite
*
* @return CakeTestSuite
*/
public static function suite()
{
$suite = new CakeTestSuite('All Helper tests');
$suite->addTestDirectory(__DIR__ . DS . 'Model' . DS);
$suite->addTestDirectory(__DIR__ . DS . 'Model' . DS . 'Behavior' . DS);
return $suite;
}
开发者ID:kenz,项目名称:basercms,代码行数:12,代码来源:MailAllModelTest.php
示例10: 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
示例11: 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
示例12: 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
示例13: suite
public static function suite()
{
$suite = new CakeTestSuite('Croogo controller tests');
$path = APP . 'Vendor' . DS . 'croogo' . DS . 'croogo' . DS . 'Croogo' . DS . 'Test' . DS . 'Case' . DS . 'Controller' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:saydulk,项目名称:croogo,代码行数:7,代码来源:CroogoControllersTest.php
示例14: suite
public static function suite()
{
$suite = new CakeTestSuite('Croogo behavior tests');
$path = APP . 'Vendor' . DS . 'croogo' . DS . 'croogo' . DS . 'Croogo' . DS . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'Behavior' . DS;
$suite->addTestDirectory($path);
return $suite;
}
开发者ID:saydulk,项目名称:croogo,代码行数:7,代码来源:CroogoBehaviorsTest.php
示例15: suite
public static function suite()
{
$path = APP . 'Plugin' . DS . 'Api' . DS . 'Test' . DS . 'Case' . DS;
$suite = new CakeTestSuite('All tests');
$suite->addTestDirectoryRecursive($path);
return $suite;
}
开发者ID:manzapanza,项目名称:cakephp-api-utils,代码行数:7,代码来源:AllApiTest.php
示例16: 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
示例17: suite
/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Lib tests');
$path = dirname(__FILE__);
$suite->addTestDirectory($path . DS . 'Lib');
return $suite;
}
开发者ID:dereuromark,项目名称:cakephp-math,代码行数:12,代码来源:AllLibTestsTest.php
示例18: suite
public static function suite()
{
$suite = new CakeTestSuite('OAuth Tests');
$path = CakePlugin::path('OAuth') . 'Test' . DS . 'Case' . DS;
$suite->addTestDirectory($path . 'Model' . DS . 'Behavior');
return $suite;
}
开发者ID:thomseddon,项目名称:cakephp-oauth-server,代码行数:7,代码来源:AllOAuthTestsTest.php
示例19: suite
/**
* Adds all test directories
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Tests');
$path = dirname(__FILE__);
$suite->addTestDirectoryRecursive($path . DS . 'Model');
return $suite;
}
开发者ID:stonelasley,项目名称:seo,代码行数:12,代码来源:AllModelTest.php
示例20: suite
/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite()
{
$suite = new CakeTestSuite('All Error handling tests');
$libs = CORE_TEST_CASES . DS;
$suite->addTestDirectory($libs . 'Error');
return $suite;
}
开发者ID:ophilli,项目名称:Inventory,代码行数:12,代码来源:AllErrorTest.php
注:本文中的CakeTestSuite类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论