* @package case
* @version $Id$
* @link http://www.zentao.net
*/
?>
deleted) echo "class='deleted'";?>>CASE #id . ' ' . $case->title;?>
session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID=$case->product");
$actionLinks = '';
if(!$case->deleted)
{
ob_start();
common::printIcon('testtask', 'runCase', "runID=0&caseID=$case->id&version=$case->currentVersion");
common::printIcon('testtask', 'results', "runID=0&caseID=$case->id&version=$case->version");
if($case->lastRunResult == 'fail') common::printIcon('testcase', 'createBug', "product=$case->product&extra=caseID=$case->id,version=$case->version,runID=", '', 'button', 'createBug');
common::printDivider();
common::printIcon('testcase', 'edit',"caseID=$case->id");
common::printCommentIcon('testcase');
common::printIcon('testcase', 'create', "productID=$case->product&moduleID=$case->module&from=testcase¶m=$case->id", '', 'button', 'copy');
common::printIcon('testcase', 'delete', "caseID=$case->id", '', 'button', '', 'hiddenwin');
common::printDivider();
common::printRPN($browseLink, $preAndNext);
$actionLinks = ob_get_contents();
ob_clean();
echo $actionLinks;
}
else
{
common::printRPN($browseLink);
}
?>
| testcase->stepID;?> |
testcase->stepDesc;?> |
testcase->stepExpect;?> |
steps as $stepID => $step)
{
$stepID += 1;
echo "| $stepID | ";
echo "" . nl2br($step->desc) . " | ";
echo "" . nl2br($step->expect) . " | ";
echo " ";
}
?>
fetch('file', 'printFiles', array('files' => $case->files, 'fieldset' => 'true'));?>
|
|
|