本文整理汇总了PHP中testcase::get_executions方法的典型用法代码示例。如果您正苦于以下问题:PHP testcase::get_executions方法的具体用法?PHP testcase::get_executions怎么用?PHP testcase::get_executions使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testcase
的用法示例。
在下文中一共展示了testcase::get_executions方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dBug
echo "<pre> testcase - get_keywords_map(\$id,\$order_by_clause='')";
echo "</pre>";
$tcase_id = 4;
echo "<pre> get_keywords_map({$tcase_id})";
echo "</pre>";
$keywords_map = $tcase_mgr->get_keywords_map($tcase_id);
new dBug($keywords_map);
$tcase_id = 4;
$version_id = 5;
$tplan_id = 8;
$build_id = 1;
echo "<pre> testcase - get_executions(\$id,\$version_id,\$tplan_id,\$build_id,<br>\n \$exec_id_order='DESC',\$exec_to_exclude=null)";
echo "</pre>";
echo "<pre> get_executions({$tcase_id},{$version_id},{$tplan_id},{$build_id})";
echo "</pre>";
$executions = $tcase_mgr->get_executions($tcase_id, $version_id, $tplan_id, $build_id);
new dBug($executions);
echo "<pre> testcase - get_last_execution(\$id,\$version_id,\$tplan_id,\$build_id,\$get_no_executions=0)";
echo "</pre>";
echo "<pre> get_last_execution({$tcase_id},{$version_id},{$tplan_id},{$build_id})";
echo "</pre>";
$last_execution = $tcase_mgr->get_last_execution($tcase_id, $version_id, $tplan_id, $build_id);
new dBug($last_execution);
$tcversion_id = 5;
$tplan_id = 8;
echo "<pre> testcase - get_version_exec_assignment(\$tcversion_id,\$tplan_id)";
echo "</pre>";
echo "<pre> get_version_exec_assignment({$tcversion_id},{$tplan_id})";
echo "</pre>";
$version_exec_assignment = $tcase_mgr->get_version_exec_assignment($tcversion_id, $tplan_id);
new dBug($version_exec_assignment);