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


PHP TestSuite::__construct方法代码示例

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


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

示例1:

 function __construct()
 {
     parent::__construct();
     $this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-module.php');
     $this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-settings.php');
     $this->addFile(dirname(__FILE__) . '/unit/unit-test-wpps-instance-class.php');
 }
开发者ID:virendrasi,项目名称:WordPress-Plugin-Skeleton,代码行数:7,代码来源:wpps-test-suite.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     $this->addFile(TestPath . 'languageforge/semdomtrans/commands/AllTests.php');
     $this->addFile(TestPath . 'languageforge/semdomtrans/dto/AllTests.php');
     $this->addFile(TestPath . 'languageforge/semdomtrans/models/AllTests.php');
 }
开发者ID:bbriggs,项目名称:web-languageforge,代码行数:7,代码来源:AllTests.php

示例3: __construct

 public function __construct()
 {
     parent::__construct('RemoteCP Versioning System Tests');
     $this->addFile(__DIR__ . '/base_test.php');
     $this->addFile(__DIR__ . '/semver_test.php');
     $this->addFile(__DIR__ . '/regression_test.php');
 }
开发者ID:alambike,项目名称:phpback,代码行数:7,代码来源:all_tests.php

示例4: dirname

 function __construct()
 {
     parent::__construct('All tests');
     $p = dirname(__FILE__);
     ini_set('include_path', dirname($p) . PATH_SEPARATOR . ini_get('include_path'));
     $this->addFile($p . '/ForgeUpgrade_BucketFilterTest.php');
 }
开发者ID:pombredanne,项目名称:ForgeUpgrade,代码行数:7,代码来源:run.php

示例5:

 function __construct()
 {
     parent::__construct();
     $dr = $_SERVER['DOCUMENT_ROOT'] . "/dtest/utests/";
     $this->addFile($dr . 'ControllerTests.php');
     $this->addFile($dr . 'ViewTests.php');
 }
开发者ID:rumblesan,项目名称:Minimal-VC,代码行数:7,代码来源:index.php

示例6: __construct

 public function __construct()
 {
     parent::__construct('Gihp porcelain tests');
     $this->add(new porcelain\tree());
     $this->add(new porcelain\tag());
     $this->add(new porcelain\branch());
 }
开发者ID:vierbergenlars,项目名称:gihp,代码行数:7,代码来源:all.php

示例7:

 function __construct()
 {
     parent::__construct('All tests for SimpleTest ' . SimpleTest::getVersion());
     $this->addFile(dirname(__FILE__) . '/unit_tests.php');
     $this->addFile(dirname(__FILE__) . '/shell_test.php');
     $this->addFile(dirname(__FILE__) . '/live_test.php');
     $this->addFile(dirname(__FILE__) . '/acceptance_test.php');
 }
开发者ID:triasfahrudin,项目名称:siska21,代码行数:8,代码来源:all_tests.php

示例8: __construct

 public function __construct($label = false)
 {
     if (!$label) {
         $this->_init();
     } else {
         parent::__construct($label);
     }
 }
开发者ID:bermi,项目名称:akelos,代码行数:8,代码来源:suite.php

示例9:

 function __construct()
 {
     parent::__construct();
     $this->addFile('UnitToppaAutoLoaderWp.php');
     $this->addFile('UnitToppaDatabaseFacadeWp.php');
     $this->addFile('UnitToppaFunctions.php');
     $this->addFile('UnitToppaHtmlFormField.php');
 }
开发者ID:vpatrinica,项目名称:jfdesign,代码行数:8,代码来源:ToppaLibsUnitTestsSuite.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->addFile(TestPath . 'libraries/scriptureforge/AllTests.php');
     $this->addFile(TestPath . 'libraries/LanguageData_Test.php');
     $this->addFile(TestPath . 'libraries/ParatextExport_Test.php');
     $this->addFile(TestPath . 'libraries/Website_Test.php');
 }
开发者ID:bbriggs,项目名称:web-languageforge,代码行数:8,代码来源:AllTests.php

示例11: dirname

 function __construct()
 {
     parent::__construct('Coverage Unit tests');
     $path = dirname(__FILE__) . '/*_test.php';
     foreach (glob($path) as $test) {
         $this->addFile($test);
     }
 }
开发者ID:GerHobbelt,项目名称:simpletest,代码行数:8,代码来源:test.php

示例12:

 function __construct($label = FALSE)
 {
     parent::__construct($label);
     $this->addTestFile('uplTestData.php');
     $this->addTestFile('uploadCopyrightData.php');
     // agent add data is not ready yet....due to javascript.
     //$this->addTestFile('AgentAddData.php');
     // do the uploads and output in text...
 }
开发者ID:DanielDobre,项目名称:fossology,代码行数:9,代码来源:runUploadsTest.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->addFile(TestPath . 'shared/dto/ManageUsersDto_Test.php');
     $this->addFile(TestPath . 'shared/dto/ProjectListDto_Test.php');
     $this->addFile(TestPath . 'shared/dto/RightsHelper_Test.php');
     $this->addFile(TestPath . 'shared/dto/UserProfileDto_Test.php');
     $this->addFile(TestPath . 'shared/dto/ProjectManagementDto_Test.php');
 }
开发者ID:bbriggs,项目名称:web-languageforge,代码行数:9,代码来源:AllTests.php

示例14: foreach

 function __construct()
 {
     parent::__construct();
     foreach (glob(__DIR__ . "/Test*.php") as $testFile) {
         if (strpos($testFile, "Data.php") === false) {
             $this->addFile($testFile);
         }
     }
 }
开发者ID:clagiordano,项目名称:weblibs,代码行数:9,代码来源:AllTests.php

示例15: __construct

 public function __construct()
 {
     parent::__construct('All tests for SimpleTest ' . SimpleTest::getVersion());
     $this->addFile(dirname(__FILE__) . '/unit_tests.php');
     $this->addFile(dirname(__FILE__) . '/shell_test.php');
     $this->addFile(dirname(__FILE__) . '/live_test.php');
     // jakoch: disabled acceptance tests.
     // because, we will not test against a live server over the network.
     //$this->addFile(dirname(__FILE__) . '/acceptance_test.php');
 }
开发者ID:VasuLief,项目名称:simpletest,代码行数:10,代码来源:all_tests.php


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