From abfa0352940e12e9ddff0b1c06a101a8d509c41b Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 4 Jun 2025 17:06:22 +0800 Subject: [PATCH] + [unittest] add unit test result of customModel::getFormFields. --- module/custom/test/model/getformfields.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/module/custom/test/model/getformfields.php b/module/custom/test/model/getformfields.php index d3e0c81290..e4803286b1 100755 --- a/module/custom/test/model/getformfields.php +++ b/module/custom/test/model/getformfields.php @@ -13,6 +13,20 @@ title=测试 customModel->getFormFields(); timeout=1 cid=1 +- 测试moduleName值为product,method为空 @0 +- 测试moduleName值为product,method为create + - 属性PO @产品负责人 + - 属性QD @测试负责人 + - 属性RD @发布负责人 + - 属性type @产品类型 +- 测试moduleName值为product,method为edit + - 属性PO @产品负责人 + - 属性QD @测试负责人 + - 属性RD @发布负责人 + - 属性type @产品类型 + - 属性status @状态 +- 测试moduleName值为story,method为空 @0 + */ $moduleName = array('product', 'story', 'productplan', 'release', 'execution', 'task', 'build', 'bug', 'testcase', 'testsuite', 'testreport', 'caselib', 'testtask', 'doc', 'user');