本文整理汇总了PHP中testproject::copy_as方法的典型用法代码示例。如果您正苦于以下问题:PHP testproject::copy_as方法的具体用法?PHP testproject::copy_as怎么用?PHP testproject::copy_as使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testproject
的用法示例。
在下文中一共展示了testproject::copy_as方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dBug
$namePrefix = 'TPX :: ';
$name = uniqid($namePrefix, true);
$tcasePrefix = uniqid('', false);
//$new_id = $tproject_mgr->create($name,$color,$options,$notes,$active,$tcasePrefix,$is_public);
//
//$name = $namePrefix . $new_id;
//$tcasePrefix = $namePrefix . $new_id;
//
//$tproject_mgr->update($new_id, $name, $color, $options->requirement_mgmt,
// $options->priority_mgmt, $options->automated_execution,
// $notes,$active,$tcasePrefix,$is_public);
//
//new dBug($tproject_mgr->get_by_id($new_id));
//die();
$new_id = 1157;
$tproject_mgr->copy_as(9, $new_id, 1);
die;
// getKeywords($testproject_id,$keywordID = null)
$tproject_id = 1;
echo "<pre> testproject - getKeywords(\$testproject_id,\$keywordID = null)";
echo "</pre>";
echo "<pre> getKeywords({$tproject_id})";
echo "</pre>";
$keywords = $tproject_mgr->getKeywords($tproject_id);
new dBug($keywords);
$tproject_id = 1;
echo "<pre> testproject - get_first_level_test_suites({$tproject_id},{$mode}='simple')";
echo "</pre>";
echo "<pre> get_first_level_test_suites({$tproject_id},{$mode}='simple')";
echo "</pre>";
$info = $tproject_mgr->get_first_level_test_suites($tproject_id, $mode = 'simple');