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


PHP TuleapTestCase::__construct方法代码示例

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


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

示例1: mock

 function __construct($name = 'Chageset Value List Test')
 {
     parent::__construct($name);
     $this->field_class = 'MockTracker_FormElement_Field_List';
     $this->changesetvalue_class = 'Tracker_Artifact_ChangesetValue_List';
     $this->user = mock('PFUser');
 }
开发者ID:amanikamail,项目名称:tuleap,代码行数:7,代码来源:Tracker_Artifact_ChangesetValue_ListTest.php

示例2:

 function __construct($name = 'Open List test')
 {
     parent::__construct($name);
     $this->field_class = 'Tracker_FormElement_Field_OpenListTestVersion';
     $this->field_class_for_import = 'Tracker_FormElement_Field_OpenListTestVersion_ForImport';
     $this->dao_class = 'MockTracker_FormElement_Field_Value_OpenListDao';
     $this->cv_class = 'Tracker_Artifact_ChangesetValue_OpenList';
     $this->mockcv_class = 'MockTracker_Artifact_ChangesetValue_OpenList';
 }
开发者ID:rinodung,项目名称:tuleap,代码行数:9,代码来源:Tracker_FormElement_Field_OpenListTest.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $this->loadConfiguration();
     $this->mysqli = mysqli_init();
     if (!$this->mysqli->real_connect($GLOBALS['sys_dbhost'], $GLOBALS['sys_dbuser'], $GLOBALS['sys_dbpasswd'])) {
         $this->mysqli = false;
     }
     $this->src_dir = realpath(dirname(__FILE__) . "/../..");
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:10,代码来源:TuleapDbTestCase.class.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->svn_prefix = dirname(__FILE__) . '/_fixtures';
     $project_name = 'svnrepo';
     $this->project = stub('Project')->getSVNRootPath()->returns($this->svn_prefix . '/' . $project_name);
     $this->svnrepo = $this->svn_prefix . '/' . $project_name;
     exec("svnadmin create {$this->svnrepo}");
     exec("svn mkdir --username donald_duck --parents -m 'this is 1.0' file://{$this->svnrepo}/tags/1.0");
     exec("svn mkdir --parents -m 'that is 2.0' file://{$this->svnrepo}/tags/2.0");
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:11,代码来源:SVN_SvnlookTest.php

示例5: __construct

 public function __construct($classname)
 {
     parent::__construct();
     $this->classname = $classname;
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:5,代码来源:GitViewsRepositoriesTraversalStrategyTest.class.php

示例6:

 function __construct($name = 'AdminDelegation_UserService test')
 {
     parent::__construct($name);
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:4,代码来源:AdminDelegation_UserServiceTest.php


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