本文整理汇总了PHP中PHPUnit_Framework_TestSuite类的典型用法代码示例。如果您正苦于以下问题:PHP PHPUnit_Framework_TestSuite类的具体用法?PHP PHPUnit_Framework_TestSuite怎么用?PHP PHPUnit_Framework_TestSuite使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了PHPUnit_Framework_TestSuite类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('XML_XRD tests');
/** Add testsuites, if there is. */
$suite->addTestFiles(glob(__DIR__ . '/XML/XRD{,/*/}*Test.php', GLOB_BRACE));
return $suite;
}
示例2: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Child');
$suite->addTestSuite('OneTest');
$suite->addTestSuite('TwoTest');
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_Cloud');
$suite->addTestSuite('Zend_Cloud_DocumentService_Adapter_SimpleDbTest');
$suite->addTestSuite('Zend_Cloud_DocumentService_Adapter_WindowsAzureTest');
return $suite;
}
示例4: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite();
$suite->addTest(Blocks_AllTests::suite());
$suite->addTest(Helpers_AllTests::suite());
return $suite;
}
示例5: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite();
if (in_array("-db", $_SERVER["argv"], true)) {
$suite->addTest(Test_DB_Statement_Tests::suite());
$suite->addTest(Test_DB_Storage_Tests::suite());
$suite->addTest(Test_DB_Tests::suite());
return $suite;
}
$suite->addTest(Test_Object::suite());
$suite->addTest(Test_Console::suite());
$suite->addTest(Test_Bus_Tests::suite());
$suite->addTest(Test_Map_Tests::suite());
$suite->addTest(Test_Request_Tests::suite());
$suite->addTest(Test_Response_Tests::suite());
$suite->addTest(Test_Controller_Tests::suite());
$suite->addTest(Test_Util_Tests::suite());
$suite->addTest(Test_View_Tests::suite());
$suite->addTest(Test_Cache_Tests::suite());
$suite->addTest(Test_Session_Tests::suite());
$suite->addTest(Test_Processor_Tests::suite());
$suite->addTest(Test_Annotation::suite());
$suite->addTest(Test_Reflection::suite());
$suite->addTest(Test_Container::suite());
$suite->addTest(Test_Aspect_Tests::suite());
$suite->addTest(Test_Exception::suite());
$suite->addTest(Test_Storage_Memory::suite());
$suite->addTest(Test_I18n_Gettext::suite());
$suite->addTest(Test_Cookie_Tests::suite());
$suite->addTest(Test_Mail_Tests::suite());
$suite->addTest(Test_XML_Tests::suite());
$suite->addTest(Test_Application::suite());
return $suite;
}
示例6: 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('Gantt Controller');
$suite->addTestSuite('Gantt_IndexController_Test');
$suite->addTestSuite('Gantt_Models_Gantt_Test');
return $suite;
}
示例7: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('PHPUnit_Extensions_Database');
$suite->addTest(Extensions_Database_Operation_AllTests::suite());
$suite->addTest(Extensions_Database_DataSet_AllTests::suite());
return $suite;
}
示例8: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('ParserClass Unit Test Suites');
/* You must add each method-level test suite name here */
$suite->addTestSuite('Documentation_tests_ParserClassGetSourceLocationTests');
return $suite;
}
示例9: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Zend Mail');
$suite->addTestSuite('Zend_Mail_MailTest');
$suite->addTest(Zend_Mail_AllTests::suite());
return $suite;
}
示例10: suite
/**
* Runs the test suite
*
* @return object the PHPUnit_Framework_TestSuite object
* @static
* @since 1.7.0
*/
public static function suite()
{
$dir = dirname(__FILE__);
$suite = new PHPUnit_Framework_TestSuite('PEAR_Info Test Suite');
$suite->addTestSuite(new PEAR_Info_TestSuite_Standard($dir));
return $suite;
}
示例11: suite
public static function suite()
{
echo "\n\n ----------------------------------------\n Iniciando os testes CMS Blinkx Brasil ...\n \n ";
$suite = new PHPUnit_Framework_TestSuite('comportamento');
$suite->addTest(BehaviorTests::suite());
return $suite;
}
示例12: suite
/**
* Creates and returns this test suite
*
* @return PHPUnit_Framework_TestSuite
*/
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Session');
$suite->addTestSuite('Zend_SessionTest');
$suite->addTest(Zend_Session_SaveHandler_AllTests::suite());
return $suite;
}
示例13: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite();
$suite->addTestFile(dirname(__FILE__) . '/ProfilerTimer.NaturalTest.php');
$suite->addTestFile(dirname(__FILE__) . '/ProfilerTimer.FixedTest.php');
return $suite;
}
示例14: 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;
}
示例15: suite
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_File');
$suite->addTestSuite('Zend_File_ClassFileLocatorTest');
$suite->addTest(Zend_File_Transfer_AllTests::suite());
return $suite;
}