+ Add unit test for screenModel::initComponent.

This commit is contained in:
wangxuepeng
2023-12-04 14:15:31 +08:00
parent bf7804206b
commit 22d7c4e452
4 changed files with 74 additions and 1 deletions
+15
View File
@@ -323,4 +323,19 @@ class screenTest
{
return $this->objectModel->getBurnData();
}
/**
* 测试initComponent。
* Test initComponent.
*
* @param object $chart
* @param string $type
* @param object $compoent
* @access public
* @return void
*/
public function initComponentTest(object $chart, string $type, object $compoent): void
{
$this->objectModel->initComponent($chart, $type, $compoent);
}
}