本文整理汇总了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');
}
示例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';
}
示例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__) . "/../..");
}
示例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");
}
示例5: __construct
public function __construct($classname)
{
parent::__construct();
$this->classname = $classname;
}
示例6:
function __construct($name = 'AdminDelegation_UserService test')
{
parent::__construct($name);
}