+ [unittest] add the unittest for addComponentList.

This commit is contained in:
wangzemei
2025-06-25 17:18:30 +08:00
parent d9e500b6d7
commit 8f469c8186
@@ -0,0 +1,17 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/screen.unittest.class.php';
/**
title=测试 screenModel->addComponentList();
timeout=0
cid=1
*/
global $app;
$screen = new screenTest();
$scheme = file_get_contents($app->moduleRoot . 'screen/json/screen.json');
$scheme = json_decode($scheme);