本文整理汇总了PHP中testplan::getStatusForReports方法的典型用法代码示例。如果您正苦于以下问题:PHP testplan::getStatusForReports方法的具体用法?PHP testplan::getStatusForReports怎么用?PHP testplan::getStatusForReports使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testplan
的用法示例。
在下文中一共展示了testplan::getStatusForReports方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
// }
//
// new dBug($buildResults);
//
// new dBug($options);
// new dBug($myRBB);
//
// $results = $re->getAggregateBuildResults();
// new dBug($results);
$colDefinition = null;
$results = null;
if ($gui->do_report['status_ok']) {
$results = $re->getAggregateBuildResults();
if ($results != null) {
// BUGID 0003123: General Test Plan Metrics - order of columns with test case exec results
$code_verbose = $tplan_mgr->getStatusForReports();
$resultsCfg = config_get('results');
$labels = $resultsCfg['status_label'];
foreach ($code_verbose as $status_verbose) {
$l18n_label = isset($labels[$status_verbose]) ? lang_get($labels[$status_verbose]) : lang_get($status_verbose);
$colDefinition[$status_verbose]['qty'] = $l18n_label;
$colDefinition[$status_verbose]['percentage'] = '[%]';
}
}
}
/* MILESTONE & PRIORITY REPORT */
$planMetrics = $tplan_mgr->getStatusTotals($args->tplan_id);
$filters = null;
$options = array('output' => 'map', 'only_executed' => true, 'execution_details' => 'add_build');
$execResults = $tplan_mgr->get_linked_tcversions($args->tplan_id, $filters, $options);
$options = array('output' => 'mapOfArray', 'only_executed' => true, 'execution_details' => 'add_build');