Commit Graph
233 Commits
Author SHA1 Message Date
liugang 1503f91b2b * [refac] Split xxx.unittest.class.php into model.class.php, tao.class.php and zen.class.php. 2026-01-14 15:32:47 +08:00
wangyidong f55badffd8 * [refac bug #62582] Adjust for unit test. 2026-01-13 19:57:08 +08:00
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
liugang eff06602d6 * [misc] The value of the parent field in the zt_task table cannot be -1. 2025-12-15 14:58:11 +08:00
liugang 2b768ca382 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-25 08:37:54 +08:00
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude f1eba48997 + [misc] Add unit tests for programZen::removeSubjectToCurrent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude c88038ab83 + [misc] Add unit tests for programZen::prepareStartExtras() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude fbca34fc03 + [misc] Add unit tests for programZen::getProgramsByType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude 9fa25c6838 + [misc] Add unit tests for programZen::getProgramList4Kanban() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude 5607c67a94 + [misc] Add unit tests for programZen::getProductsByBrowseType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude dc27d87217 + [misc] Add unit tests for programZen::getLink() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude c848604b41 + [misc] Add unit tests for programZen::getKanbanList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude 249fc93670 + [misc] Add unit tests for programZen::buildTree() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude ec53b69ac4 + [misc] Add unit tests for programZen::buildProgramForEdit() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +08:00
liugangandClaude 4c8248d58b + [misc] Add unit tests for programZen::buildProgramForCreate() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:31:06 +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
liugang 34da0d0856 - [misc] Remove useless code and files of unit tests. 2025-09-29 16:41:29 +08:00
liugang ee69a18bcd * [misc] Abstract method parameters into variables. 2025-09-29 16:41:29 +08:00
liugangandClaude 0dd949b033 + [misc] Add unit tests for programZen::getPMListByPrograms() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:05:47 +08:00
liugangandClaude d25c176de4 + [misc] Add unit tests for programZen::getProductsByBrowseType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude 11773ada50 + [misc] Add unit tests for programZen::getLink() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude fee3f50c59 + [misc] Add unit tests for programZen::buildTree() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude 92392aff0d + [misc] Add unit tests for programZen::getProgramList4Kanban() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude 9c2698f636 + [misc] Add unit tests for programZen::getKanbanList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude 3929c34eba + [misc] Add unit tests for programZen::getProgramsByType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude 12d724b96b + [misc] Add unit tests for programZen::removeSubjectToCurrent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:43 +08:00
liugangandClaude ee3de4f778 + [misc] Add unit test script for programZen::buildProgramForEdit() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:42 +08:00
liugangandClaude a572cd0c25 * [misc] Update program unit test class for buildProgramForCreate method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:42 +08:00
liugangandClaude a3191e9f47 + [misc] Add unit tests for programZen::buildProgramForCreate() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:42 +08:00
liugangandClaude f82c99fbf0 + [misc] Add unit tests for programZen::prepareStartExtras() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:42 +08:00
liyang 2eefb65a16 * [uitest] remove ui lib to ui dir. 2025-09-17 09:06:48 +08:00
liugangandClaude 9e100ec99f + [misc] Add unit tests for programTao::setNoTaskExecution() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09: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 44a4efd4b9 * Optimize getrootprogramlist unit test script. 2025-08-22 16:48:00 +08:00