* [task#131845,doing,0.2h,3h] Add function.

This commit is contained in:
yulujie
2024-11-08 08:53:42 +08:00
committed by 李阳
parent 66260c3492
commit e970a80117
+14 -1
View File
@@ -2,4 +2,17 @@
include dirname(__FILE__, 5) . '/test/lib/ui.php';
class dynamicTester extends tester
{
}
/**
* 检查执行动态。
* Check the dynamic of execution.
*
* @param string $num
* @access public
* @return void
*/
public function checkTotalNum($num)
{
$form = $this->initForm('execution', 'dynamic', array('execution' => '3'), 'appIframe-execution');
if($form->dom->num->getText !== $num) return $this->failed('执行动态数量不正确');
return $this->success('执行动态数量正确');
}