本文整理汇总了PHP中testcase::getExecutedPlatforms方法的典型用法代码示例。如果您正苦于以下问题:PHP testcase::getExecutedPlatforms方法的具体用法?PHP testcase::getExecutedPlatforms怎么用?PHP testcase::getExecutedPlatforms使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testcase
的用法示例。
在下文中一共展示了testcase::getExecutedPlatforms方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: templateConfiguration
$templateCfg = templateConfiguration();
$smarty = new TLSmarty();
$tcase_mgr = new testcase($db);
$args = init_args();
$gui = initializeGui($args);
$gui->execSet = $tcase_mgr->getExecutionSet($args->tcase_id);
if (!is_null($gui->execSet)) {
$gui->execSet = testcase::addExecIcons($gui->execSet, $smarty->tlImages);
}
$node['basic'] = $tcase_mgr->tree_manager->get_node_hierarchy_info($args->tcase_id);
$node['specific'] = $tcase_mgr->getExternalID($args->tcase_id);
$idCard = $node['specific'][0] . ' : ' . $node['basic']['name'];
$gui->warning_msg = !is_null($gui->execSet) ? '' : lang_get('tcase_never_executed');
$gui->user_is_admin = $_SESSION['currentUser']->globalRole->name == 'admin' ? true : false;
if (!is_null($gui->execSet)) {
$gui->execPlatformSet = $tcase_mgr->getExecutedPlatforms($args->tcase_id);
// get issue tracker config and object to manage TestLink - BTS integration
$its = null;
$tproject_mgr = new testproject($db);
$info = $tproject_mgr->get_by_id($gui->tproject_id);
if ($info['issue_tracker_enabled']) {
$gui->bugs = getIssues($db, $gui->execSet, $gui->tproject_id);
}
// get custom fields brute force => do not check if this call is needed
$gui->cfexec = getCustomFields($tcase_mgr, $gui->execSet);
$gui->attachments = null;
//getAttachments($db,$gui->execSet);
}
$gui->displayPlatformCol = !is_null($gui->execPlatformSet) ? 1 : 0;
$gui->detailed_descr = lang_get('test_case') . ' ' . $idCard;
$smarty->assign('gui', $gui);