109 Commits
Author SHA1 Message Date
xieqiyu 606b49eba8 * [misc] Modify the unit test file of programModel::getByID. 2025-12-29 01:32:31 +00:00
wangyuting 6ff916722c * Optimize program program unit test script. 2025-12-26 14:56:39 +08:00
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude 1fa5f5594d + [misc] Add unit tests for programModel::checkPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 10:30:49 +08:00
liugang c8c0327b04 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-05 14:35:27 +08:00
liugang fd04f3f5f0 * [misc] Run unit test scrips by ztf. 2025-10-11 09:40:08 +08:00
liugangandClaude d8201d4591 * [misc] Fix unit tests for programModel::suspend() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:38:18 +08:00
liugangandClaude 7d92ddf8ec * [misc] Fix unit tests for programModel::setMenu() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:38:18 +08:00
liugangandClaude 9f6c3fd636 * [misc] Fix unit tests for programModel::getProductPairsByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:38:18 +08:00
liugangandClaude 2154368328 * [misc] Fix unit tests for programModel::getChildrenPairsByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:38:18 +08:00
liugangandClaude 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
liugangandClaude 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
liugangandClaude 6119407652 * [misc] Fix unit tests for programModel::getChildrenPairsByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:44 +08:00
liugangandClaude 76b7cf2622 + [misc] Add unit tests for programModel::getSwitcher() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
liugangandClaude f50c6c7c69 + [misc] Add unit tests for programModel::setMenu() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
liugangandClaude 8b62c145ec + [misc] Add unit tests for programModel::getProductPairsByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
liugangandClaude df162036b8 + [misc] Add unit tests for programModel::getChildrenPairsByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
liugangandClaude cdbc58f121 + [misc] Add unit tests for programModel::checkPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
liugangandClaude f126c9b422 + [misc] Add unit tests for programModel::suspend() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:20 +08:00
wangyuting 57808596df * Optimize updateorder unit test script. 2025-08-22 16:28:31 +08:00
wangyuting abe539946f * Optimize update unit test script. 2025-08-22 16:28:31 +08:00
wangyuting 1dcbb5f053 * Optimize hasunfinishedchildren unit test script. 2025-08-22 16:28:31 +08:00
wangyuting e3b0225463 * Optimize gettopbypath unit test script. 2025-08-22 16:28:31 +08:00
wangyuting cf5eb772d4 * Optimize getteammemberpairs unit test script. 2025-08-22 16:28:31 +08:00
wangyuting a88ddde4cf * Optimize getstakeholders unit test script. 2025-08-22 15:05:41 +08:00
wangyuting 756d67e1d4 * Optimize getparentpm unit test script. 2025-08-22 15:04:14 +08:00
wangyuting 7b96fd6a60 * Optimize getbyid unit test script. 2025-08-22 15:01:43 +08:00
wangyuting b8baa34a05 * Optimize getbudgetleft unit test script. 2025-08-22 14:58:32 +08:00
wangyuting d02f9f8496 * Optimize createdefaultprogram unit test script. 2025-08-22 14:33:26 +08:00
wangyuting 5641c9c6c9 * Optimize accessdenied unit test script. 2025-08-22 14:19:12 +08:00
wangyuting cd27a38ef4 * Optimize checkaccess unit test script. 2025-08-22 14:17:51 +08:00
wangyidong 37059ca976 * [unittest] Fix program getlistbysearch method. 2025-06-11 09:30:55 +08:00
tianshujie 8df1c1fea7 * [unittest] fix refreshstats error. 2025-06-06 09:28:31 +08:00
tianshujie 0b59c0a35a * [unittest] fix gettopbyid error. 2025-06-06 09:28:31 +08:00
tianshujie 3646c70e93 * [unittest] add comment for getprogramidbyobject. 2025-06-06 09:28:31 +08:00
tianshujie 9cf8887a37 * [unittest] add comment for getkanbanstatisticdata. 2025-06-06 09:28:31 +08:00
tianshujie 5e31a8986b * [unittest] fix getinvolvedprograms error. 2025-06-06 09:28:31 +08:00
tianshujie 9937cc9219 * [unittest] fix activate error. 2025-06-06 09:28:31 +08:00
xieqiyu d821c87482 * [unittest] Modify the unit test of programModel::getTopPairs. 2025-06-05 17:36:01 +08:00
xieqiyu 00a477126b * [unittest] Modify the unit test of programModel::getPairs. 2025-06-05 17:36:00 +08:00
wangyuting db43853887 Merge branch 'dev/task-144776' into release/21.7.2 2025-06-05 09:30:42 +00:00
刘刚 efc9b18858 Merge branch ztflow-sunguangming-release/21.7.2#sunguangming of zentao/zentaopms (#9155) 2025-06-05 17:22:10 +08:00
刘刚 b4df441f50 Merge branch ztflow-tianshujie-release/21.7.2#tianshujie of zentao/zentaopms (#9152) 2025-06-05 17:21:37 +08:00
sunguangming 3ecccaf248 * [unittest] modify unittest. 2025-06-05 08:00:58 +00:00
wangyuting 2ade6c01cc * [task#144776,doing,0.1h,4h] Optimize program updatechilduserview unit test script. 2025-06-05 07:04:41 +00:00
liumengyi 64f1af7795 * [unittest] modify unittest of programModel::refreshProjectStats. 2025-06-05 14:24:54 +08:00
tianshujie 793d787954 * [unittest] fix getbasedatalist error. 2025-06-05 14:24:01 +08:00
tianshujie 4e13646cbe * [unittest] fix close error. 2025-06-05 14:24:01 +08:00
tianshujie c3769895b6 * [unittest] fix batchunlinkstakeholders error. 2025-06-05 14:24:01 +08:00
tianshujie ae035b731d * [unittest] fix batchprocessprogramname error. 2025-06-05 14:24:01 +08:00