+ add the feature of create bug from test result.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user