本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}