*Finish task #7738.
This commit is contained in:
@@ -448,7 +448,7 @@ class testreport extends control
|
||||
$tasks = $report->tasks ? $this->testtask->getByList($report->tasks) : array();;
|
||||
$builds = $report->builds ? $this->build->getByList($report->builds) : array();
|
||||
$cases = $this->testreport->getTaskCases($tasks, $report->begin, $report->end, $report->cases, $pager);
|
||||
$totalCases = $this->testreport->getTaskCases($tasks, $report->begin, $report->end, $report->cases);
|
||||
$caseIDList = $this->testreport->getCaseIDList($reportID);
|
||||
$bugInfo = $this->testreport->getBugInfo($tasks, $report->product, $report->begin, $report->end, $builds);
|
||||
|
||||
if($report->objectType == 'testtask')
|
||||
@@ -476,10 +476,10 @@ class testreport extends control
|
||||
$this->view->actions = $this->loadModel('action')->getList('testreport', $reportID);
|
||||
|
||||
$this->view->storySummary = $this->product->summary($stories);
|
||||
$this->view->caseSummary = $this->testreport->getResultSummary($tasks, $totalCases, $report->begin, $report->end);
|
||||
$this->view->caseSummary = $this->testreport->getResultSummary($tasks, $caseIDList, $report->begin, $report->end);
|
||||
|
||||
$perCaseResult = $this->testreport->getPerCaseResult4Report($tasks, $totalCases, $report->begin, $report->end);
|
||||
$perCaseRunner = $this->testreport->getPerCaseRunner4Report($tasks, $totalCases, $report->begin, $report->end);
|
||||
$perCaseResult = $this->testreport->getPerCaseResult4Report($tasks, $caseIDList, $report->begin, $report->end);
|
||||
$perCaseRunner = $this->testreport->getPerCaseRunner4Report($tasks, $caseIDList, $report->begin, $report->end);
|
||||
$this->view->datas['testTaskPerRunResult'] = $this->loadModel('report')->computePercent($perCaseResult);
|
||||
$this->view->datas['testTaskPerRunner'] = $this->report->computePercent($perCaseRunner);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user