testcase->fromCase;?> |
linkCaseTitles))
{
foreach($case->linkCaseTitles as $linkCaseID => $linkCaseTitle)
{
echo html::a($this->createLink('testcase', 'view', "caseID=$linkCaseID", '', true), "#$linkCaseID $linkCaseTitle", '', "class='iframe' data-width='80%'") . ' ';
}
}
?>
|
testcase->lib;?> |
createLink('caselib', 'browse', "libID=$case->lib"), $libName) : $libName;?> |
'>
testcase->product;?> |
createLink('product', 'browse', "productID=$case->product"), $productName) : $productName;?> |
type != 'normal'):?>
product->branch, $lang->product->branchName[$product->type]);?> |
createLink('testcase', 'browse', "productID=$case->product&branch=$case->branch"), $branchName) : $branchName;?> |
testcase->module;?> |
app->tab;
if(empty($modulePath))
{
echo "/";
}
else
{
if($caseModule->branch and isset($branches[$caseModule->branch]))
{
echo $branches[$caseModule->branch] . $lang->arrow;
}
foreach($modulePath as $key => $module)
{
if($tab == 'qa' || $tab == 'ops')
{
if($isLibCase)
{
if(!common::printLink('caselib', 'browse', "libID=$case->lib&browseType=byModule¶m=$module->id", $module->name)) echo $module->name;
}
else
{
if(!common::printLink('testcase', 'browse', "productID=$case->product&branch=$module->branch&browseType=byModule¶m=$module->id", $module->name)) echo $module->name;
}
}
if($tab == 'project' and !common::printLink('project', 'testcase', "projectID={$this->session->project}&productID=$case->product&branch=$module->branch&browseType=byModule¶m=$module->id", $module->name)) echo $module->name;
if($tab == 'execution' or $tab == 'product') echo $module->name;
if(isset($modulePath[$key + 1])) echo $lang->arrow;
}
}
?>
|
testcase->story;?> |
session->project}" : '';
if(isset($case->storyTitle))
{
if(common::hasPriv('story', 'view'))
{
echo html::a($this->createLink('story', 'view', "storyID=$case->story" . $param, '', true), "#$case->story:$case->storyTitle", '', "class=$class data-width='80%'");
}
else
{
echo "#$case->story:$case->storyTitle";
}
}
if($case->story and $case->storyStatus == 'active' and $case->latestStoryVersion > $case->storyVersion)
{
echo "({$lang->story->changed} ";
if(common::hasPriv('testcase', 'confirmStoryChange', $case)) echo html::a($this->createLink('testcase', 'confirmStoryChange', "caseID=$case->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
|
testcase->type;?> |
testcase->typeList[$case->type];?> |
testcase->stage;?> |
stage)
{
$stags = explode(',', $case->stage);
foreach($stags as $stage)
{
if(empty($stage)) continue;
isset($lang->testcase->stageList[$stage]) ? print($lang->testcase->stageList[$stage]) : print($stage);
echo " ";
}
}
?>
|
testcase->pri;?> |
testcase->priList, $case->pri)?> |
testcase->status;?> |
processStatus('testcase', $case);
if($case->version > $case->currentVersion and $from == 'testtask')
{
echo "(testcase->fromTesttask}>{$lang->testcase->changed} ";
if(common::hasPriv('testcase', 'confirmchange')) echo html::a($this->createLink('testcase', 'confirmchange', "caseID=$case->id&taskID=$taskID"), $lang->testcase->sync, 'hiddenwin', "class='btn btn-mini btn-info'");
echo ")";
}
if(isset($case->fromCaseVersion) and $case->fromCaseVersion > $case->version and $from != 'testtask' and !empty($case->product))
{
echo "(testcase->fromCaselib}>{$lang->testcase->changed} ";
if(common::hasPriv('testcase', 'confirmLibcaseChange')) echo html::a($this->createLink('testcase', 'confirmLibcaseChange', "caseID=$case->id&libcaseID=$case->fromCaseID"), $lang->testcase->sync, 'hiddenwin', "class='btn btn-mini btn-info'");
if(common::hasPriv('testcase', 'ignoreLibcaseChange')) echo html::a($this->createLink('testcase', 'ignoreLibcaseChange', "caseID=$case->id"), $lang->testcase->ignore, 'hiddenwin', "class='btn btn-mini btn-info'");
echo ")";
}
?>
|
app->loadLang('testtask')->testtask->lastRunTime;?> |
lastRunDate)) echo $case->lastRunDate;?> |
app->loadLang('testtask')->testtask->lastRunResult;?> |
lastRunResult ? $lang->testcase->resultList[$case->lastRunResult] : $lang->testcase->unexecuted;?> |
testcase->keywords;?> |
keywords;?> |
testcase->linkCase;?> |
linkCaseTitles))
{
foreach($case->linkCaseTitles as $linkCaseID => $linkCaseTitle)
{
echo html::a($this->createLink('testcase', 'view', "caseID=$linkCaseID", '', true), "#$linkCaseID $linkCaseTitle", '', "class='iframe' data-width='80%' title='$linkCaseTitle'") . ' ';
}
}
?>
|