Ejemplo n.º 1
0
 // }
 //
 // 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');