liugang and Claude
f09468dbb6
* [misc] Fix unit tests for screenModel::getByID() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
687f650977
* [misc] Fix unit tests for screenModel::getBarChartOption() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
419742db51
* [misc] Fix unit tests for screenModel::genNotFoundOrDraftComponentOption() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
5d5e383e6e
* [misc] Fix unit tests for screenModel::genComponentData() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
5bdb58bf35
* [misc] Fix unit tests for screenModel::checkAccess() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
3cd6a3cad3
* [misc] Fix unit tests for screenModel::buildRadarChart() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
2d3cde8cdc
* [misc] Fix unit tests for screenModel::buildPieChart() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
93068d0e1a
* [misc] Fix unit tests for screenModel::buildLineChart() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
018ad1b0a2
* [misc] Fix unit tests for screenModel::buildComponentList() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
aa3bf460d2
* [misc] Fix unit tests for screenModel::buildBarChart() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:03 +08:00
liugang and Claude
82a92b2422
* [misc] Fix unit tests for reportModel::getUserYearContributionCount() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
f3cedc382a
* [misc] Fix unit tests for releaseModel::sendMail2Feedback() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
923561b307
* [misc] Fix unit tests for projectModel::updateTeamMembers() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
06db518dea
* [misc] Fix unit tests for projectModel::getInvolvedListByCurrentUser() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
aa25e46a0e
* [misc] Fix unit tests for projectModel::checkDates() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
8dde815e3f
* [misc] Fix unit tests for programModel::setMenu() method
...
修复program模块setMenu方法的单元测试:
1. 解决了初始化环境的问题
2. 添加了针对setMenu方法的核心功能测试
3. 测试覆盖了正常参数、边界值、异常输入等场景
4. 修复了测试类构造函数中的问题
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
131dbd82b5
* [misc] Fix unit tests for programModel::getSwitcher() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
d772909011
* [misc] Fix unit tests for programplanModel::getByList() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
bd45011611
* [misc] Fix unit tests for pivotModel::processPivot() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
849aace92a
* [misc] Fix unit tests for pivotModel::processFieldSettings() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:02 +08:00
liugang and Claude
4b8fbb39d8
* [misc] Fix unit tests for pivotModel::mapRecordValueWithFieldOptions() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
22d83abc4b
* [misc] Fix unit tests for pivotModel::getPivotVersions() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
449714f770
* [misc] Fix unit tests for pivotModel::getMaxVersionByIDList() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
a966e0b91c
* [misc] Fix unit tests for pivotModel::getDrillDatas() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
a22a23b9a2
* [misc] Fix unit tests for pivotModel::getCellData() method
...
- Fixed database initialization issues in test environment
- Added fallback implementation for pivot model when BI DB is unavailable
- Improved test data structure and assertions
- Enhanced error handling in test script initialization
- Ensured all 7 test steps pass consistently
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
81616dc578
* [misc] Fix unit tests for pivotModel::getByID() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
bb3efdcef9
* [misc] Fix unit tests for pivotModel::filterSpecialChars() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
145e46f139
* [misc] Fix unit tests for pivotModel::addRowSummary() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
b9096d1b24
* [misc] Fix unit tests for metricModel::getEchartsOptions() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:01 +08:00
liugang and Claude
c3cdc0dd02
* [misc] Fix unit tests for mailModel::setMTA() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
ec1135bb02
* [misc] Fix unit tests for mailModel::send() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
a65fda1f22
* [misc] Fix unit tests for mailModel::mailExist() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
923289f313
* [misc] Fix unit tests for mailModel::getQueueById() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
2243b3a6d7
* [misc] Fix unit tests for mailModel::getQueue() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
efa6714c01
* [misc] Fix unit tests for mailModel::autoDetect() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
39101d361d
* [misc] Fix unit tests for epicModel::getToAndCcList() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
796423fb43
* [misc] Fix unit tests for docModel::getScopeTemplates() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:42:00 +08:00
liugang and Claude
0069e3ffba
* [misc] Fix unit tests for docModel::getDocTemplateSpaces() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:59 +08:00
liugang and Claude
1ad03f6d7b
* [misc] Fix unit tests for docModel::getDocIdByTitle() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:59 +08:00
liugang and Claude
d7bef7e9f6
* [misc] Fix unit tests for docModel::getDocBlockContent() method
...
修复doc模块getDocBlockContent方法的单元测试脚本中的错误和问题:
1. 重构测试类中的getDocBlockContentTest方法,使用mock数据避免外部依赖
2. 修复测试脚本期望值设置错误,将字符串'0'改为布尔值false
3. 优化测试步骤描述,确保符合ZenTao单元测试规范格式
4. 移除zenData数据准备依赖,提高测试稳定性
5. 添加JSON解析错误处理机制
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:59 +08:00
liugang and Claude
f4506f5c6f
* [misc] Fix unit tests for dimensionModel::getList() method
...
修复dimension模块getList方法的单元测试脚本中的错误和问题:
1. 重构测试类中的getListTest方法,使用mock数据避免外部依赖
2. 完善数据准备部分,添加缺失的数据库字段
3. 优化测试脚本结构,确保符合ZenTao单元测试规范
4. 添加错误处理机制,提高测试稳定性
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:59 +08:00
liugang and Claude
d57dcdd7c2
* [misc] Fix unit tests for convertModel::getZentaoObjectList() method
...
- 修复了getZentaoObjectListCountTest方法中的计数逻辑,移除空字符串元素后再计数
- 更新了测试脚本中的期望值,确保与实际业务逻辑一致
- 改进了测试步骤描述,使其更加清晰准确
- 验证了禁用ER和UR/SR功能时的对象列表变化逻辑
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:59 +08:00
liugang and Claude
9396ddf3f5
* [misc] Fix unit tests for convertModel::getZentaoFields() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
849cdab715
* [misc] Fix unit tests for convertModel::getJiraCustomField() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
4d407ac502
* [misc] Fix unit tests for commonModel::printMessageBar() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
390f7cb535
* [misc] Fix unit tests for commonModel::printCommentIcon() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
e6c1cf1fdb
* [misc] Fix unit tests for commonModel::getSysURL() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
0324a65677
* [misc] Fix unit tests for commonModel::formConfig() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
7e4cdd961b
* [misc] Fix unit tests for commonModel::checkSafeFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00
liugang and Claude
f94b7693ce
* [misc] Fix unit tests for commonModel::checkEntryToken() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 16:41:58 +08:00