本文整理汇总了PHP中testplan::get_build_resultsummary方法的典型用法代码示例。如果您正苦于以下问题:PHP testplan::get_build_resultsummary方法的具体用法?PHP testplan::get_build_resultsummary怎么用?PHP testplan::get_build_resultsummary使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testplan
的用法示例。
在下文中一共展示了testplan::get_build_resultsummary方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialchars
$doc_info->title = htmlspecialchars(isset($tInfo['name']) ? $args->tproject_name . $tlCfg->gui_title_separator_2 . $tInfo['name'] : $args->tproject_name);
break;
}
break;
case DOC_TEST_PLAN_DESIGN:
$printingOptions['metrics'] = true;
// FORCE
// FORCE
case DOC_TEST_PLAN_EXECUTION:
case DOC_TEST_PLAN_EXECUTION_ON_BUILD:
$tplan_mgr = new testplan($db);
$tplan_info = $tplan_mgr->get_by_id($args->tplan_id);
if ($args->build_id > 0) {
//add by guomf for report custome
$tempa = $tplan_mgr->get_build_testresult($args->build_id);
$tempb = $tplan_mgr->get_build_resultsummary($args->build_id);
$doc_info->testresult = htmlspecialchars($tempa['value']);
$doc_info->resultsummary = htmlspecialchars_decode($tempb['value']);
//htmlspecialchars($tempb['value']);
$xx = $tplan_mgr->get_builds($args->tplan_id, null, null, array('buildID' => $args->build_id));
$doc_info->build_name = htmlspecialchars($xx[$args->build_id]['name']);
}
$doc_info->testplan_name = htmlspecialchars($tplan_info['name']);
$doc_info->testplan_scope = $tplan_info['notes'];
$doc_info->title = $doc_info->testplan_name;
// Changed to get ALL platform attributes.
$getOpt = array('outputFormat' => 'mapAccessByID', 'addIfNull' => true);
//modify by guomf for print result on special build
$platforms = $tplan_mgr->getPlatforms($args->tplan_id, $getOpt);
//$platforms = $tplan_mgr->getPlatformsHasExecuted($args->tplan_id,$args->build_id,$getOpt);
$platformIDSet = array_keys($platforms);