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


PHP PHPUnit_Framework_TestSuite::addTestSuite方法代码示例

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


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

示例1: suite

 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHPUnit_Framework');
     $suite->addTestSuite('RightWayToUseObjectUtil');
     $suite->addTestSuite('WrongWayToUseObjectUtil');
     return $suite;
 }
开发者ID:jianghaiming0426,项目名称:lotusphp,代码行数:7,代码来源:AllTest.php

示例2: suite

 /**
  * Creates and returns this test suite
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Cloud');
     $suite->addTestSuite('Zend_Cloud_DocumentService_Adapter_SimpleDbTest');
     $suite->addTestSuite('Zend_Cloud_DocumentService_Adapter_WindowsAzureTest');
     return $suite;
 }
开发者ID:sasezaki,项目名称:mirror-zf1-tests,代码行数:12,代码来源:AllTests.php

示例3: suite

 /**
  * Creates and returns this test suite
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Validate');
     $suite->addTestSuite('Zend_Validate_AbstractTest');
     $suite->addTestSuite('Zend_Validate_AlnumTest');
     $suite->addTestSuite('Zend_Validate_AlphaTest');
     $suite->addTestSuite('Zend_Validate_BarcodeTest');
     $suite->addTestSuite('Zend_Validate_BetweenTest');
     $suite->addTestSuite('Zend_Validate_CallbackTest');
     $suite->addTestSuite('Zend_Validate_CcnumTest');
     $suite->addTestSuite('Zend_Validate_CreditCardTest');
     $suite->addTestSuite('Zend_Validate_DateTest');
     $suite->addTest(Zend_Validate_Db_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_DigitsTest');
     $suite->addTestSuite('Zend_Validate_EmailAddressTest');
     $suite->addTest(Zend_Validate_File_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_FloatTest');
     $suite->addTestSuite('Zend_Validate_GreaterThanTest');
     $suite->addTestSuite('Zend_Validate_HexTest');
     $suite->addTestSuite('Zend_Validate_HostnameTest');
     $suite->addTestSuite('Zend_Validate_IbanTest');
     $suite->addTestSuite('Zend_Validate_IdenticalTest');
     $suite->addTestSuite('Zend_Validate_InArrayTest');
     $suite->addTestSuite('Zend_Validate_IntTest');
     $suite->addTestSuite('Zend_Validate_IpTest');
     $suite->addTestSuite('Zend_Validate_IsbnTest');
     $suite->addTestSuite('Zend_Validate_LessThanTest');
     $suite->addTestSuite('Zend_Validate_MessageTest');
     $suite->addTestSuite('Zend_Validate_NotEmptyTest');
     $suite->addTestSuite('Zend_Validate_PostCodeTest');
     $suite->addTestSuite('Zend_Validate_RegexTest');
     $suite->addTest(Zend_Validate_Sitemap_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_StringLengthTest');
     return $suite;
 }
开发者ID:crodriguezn,项目名称:crossfit-milagro,代码行数:40,代码来源:AllTests.php

示例4: suite

 /**
  * Regular suite
  *
  * All tests except those that require output buffering.
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Donation Interface - Adapter Suite');
     $suite->addTestSuite('DonationInterface_Adapter_GatewayAdapterTestCase');
     $suite->addTestSuite('DonationInterface_Adapter_GlobalCollect_AllTests');
     return $suite;
 }
开发者ID:realsoc,项目名称:mediawiki-extensions,代码行数:14,代码来源:AllTests.php

示例5: suite

 /**
  * Builds the test suite containing all
  * tests of this module and returns the suite
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Filemanager Controller');
     $suite->addTestSuite('Filemanager_IndexController_Test');
     $suite->addTestSuite('Filemanager_Models_Filemanager_Test');
     return $suite;
 }
开发者ID:penSecIT,项目名称:PHProjekt,代码行数:13,代码来源:AllTests.php


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