* Add case of execution modules.

This commit is contained in:
tianshujie
2022-08-29 10:39:27 +08:00
parent 72b130fb6c
commit 2e17f47723
3 changed files with 67 additions and 0 deletions
+25
View File
@@ -748,6 +748,18 @@ class executionTest
}
}
/**
* Check the privilege.
*
* @access public
* @return string|bool
*/
public function getLimitedExecutionTest()
{
$this->objectModel->getProductGroupList();
return isset($_SESSION['limitedExecutions']) ? $_SESSION['limitedExecutions'] : true;
}
/**
* function getProductGroupList test execution
*
@@ -812,6 +824,19 @@ class executionTest
}
}
/**
* Get the task data group by execution id list.
*
* @param array $executionIdList
* @access public
* @return int
*/
public function getTaskGroupByExecutionTest($executionIdList = array())
{
$objects = $this->objectModel->getTaskGroupByExecution($executionIdList);
return count($objects);
}
/**
* function getDefaultManagers test by execution
*