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


PHP PHPUnit_Framework_TestSuite类代码示例

本文整理汇总了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;
 }
开发者ID:pear,项目名称:xml_xrd,代码行数:7,代码来源:AllTests.php

示例2: suite

 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Child');
     $suite->addTestSuite('OneTest');
     $suite->addTestSuite('TwoTest');
     return $suite;
 }
开发者ID:Ceciceciceci,项目名称:MySJSU-Class-Registration,代码行数:7,代码来源:ChildSuite.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_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

示例4: suite

 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite();
     $suite->addTest(Blocks_AllTests::suite());
     $suite->addTest(Helpers_AllTests::suite());
     return $suite;
 }
开发者ID:JVS-IS,项目名称:ICONITO-EcoleNumerique,代码行数:7,代码来源:AllTests.php

示例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;
 }
开发者ID:hamaco,项目名称:phwittr-on-xoops,代码行数:34,代码来源:SabelAllTests.php

示例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;
 }
开发者ID:penSecIT,项目名称:PHProjekt,代码行数:13,代码来源:AllTests.php

示例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;
 }
开发者ID:maximseshuk,项目名称:lz77-kit,代码行数:7,代码来源:AllTests.php

示例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;
 }
开发者ID:laiello,项目名称:lion-framework,代码行数:7,代码来源:ParserClassTests.php

示例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;
 }
开发者ID:travisj,项目名称:zf,代码行数:7,代码来源:MailTest.php

示例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;
 }
开发者ID:TheSkyNet,项目名称:railoapacheportable,代码行数:14,代码来源:AllTests.php

示例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;
 }
开发者ID:rfilipo,项目名称:Ferro,代码行数:7,代码来源:AllTests.php

示例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;
 }
开发者ID:netvlies,项目名称:zf,代码行数:12,代码来源:AllTests.php

示例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;
 }
开发者ID:enyo,项目名称:rincewind,代码行数:7,代码来源:ProfilerTimerTest.php

示例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;
 }
开发者ID:realsoc,项目名称:mediawiki-extensions,代码行数:14,代码来源:AllTests.php

示例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;
 }
开发者ID:sasezaki,项目名称:mirror-zf1-tests,代码行数:7,代码来源:AllTests.php


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