+ add the feature of create bug from test result.

This commit is contained in:
wangchunsheng
2010-02-02 07:17:26 +00:00
parent f22666d9c1
commit daa67dda26
7 changed files with 75 additions and 19 deletions
+4 -3
View File
@@ -102,9 +102,10 @@ class testtask extends control
$this->view->position[] = $this->lang->testtask->view;
/* 赋值。*/
$this->view->task = $task;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->runs = $this->testtask->getRuns($taskID);
$this->view->productID = $productID;
$this->view->task = $task;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->runs = $this->testtask->getRuns($taskID);
$this->display();
}
+1 -1
View File
@@ -110,7 +110,7 @@ function checkall(checker)
<?php
common::printLink('testtask', 'runcase', "id=$run->id", $lang->testtask->runCase, '', 'class="iframe"');
common::printLink('testtask', 'results', "id=$run->id", $lang->testtask->results, '', 'class="iframe"');
//common::printLink('bug', 'create', "id=$run->id", $lang->testtask->createBug);
common::printLink('bug', 'create', "product=$productID&extra=projectID=$task->project,buildID=$task->build,runID=$run->id", $lang->testtask->createBug);
common::printLink('testtask', 'unlinkcase', "id=$run->id", $lang->testtask->unlinkCase, 'hiddenwin');
?>
</td>