Commit Graph
1027 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
sunguangming e0e06d9ca3 Merge branch 'release/21.7.8' into release/22.0.alpha1 2025-12-29 07:52:33 +00:00
wangyuting b5a2974e6b * Optimize search replacedynamic unit test script. 2025-12-26 15:19:47 +08:00
wangyidong 35d833e00b * [Refac feedback #10981] Adjust chart sql. 2025-12-24 10:41:27 +08:00
sunguangming d1856c8b7d * [unittest] modify unittest. 2025-12-22 05:26:04 +00:00
sunhao 9e5f266211 * [refac] refactor by sonar report https://sq.qc.oop.cc/project/issues\?branch\=release%2F21.7.8\&issues\=067e6373-772f-4908-8df7-8cf2c14e099e\&open\=067e6373-772f-4908-8df7-8cf2c14e099e\&id\=sunhao%3Azentaopms. 2025-12-09 15:24:48 +08:00
sunhao 96e29b2aae * [bug #67757] enhance search form handling by introducing condition for zero values. Update default data assignment to replace '0' with 'ZERO' for specific fields. 2025-12-09 14:30:05 +08:00
wangyidong 9dfb2fe0ba * [refac feedback #10849] set search params. 2025-12-08 11:33:00 +08:00
liugang 3451ebfed6 * [misc] Remove duplicate methods, useless methods and failed scripts generated by Claude Code. 2025-12-04 14:06:37 +08:00
liugang f7484b933b - [misc] Delete the failed unit test scripts generated by Claude Code.
^ Conflicts:
^	module/action/test/tao/processcreatechildrenactionextra.php
^	module/action/test/tao/processcreaterequirementsactionextra.php
^	module/action/test/tao/processlinkstoryandbugactionextra.php
^	module/action/test/tao/processtostoryactionextra.php
^	module/branch/test/model/manage.php
^	module/cne/test/model/apiget.php
^	module/cne/test/model/apipost.php
^	module/cne/test/model/backup.php
^	module/cne/test/model/cneservererror.php
^	module/cne/test/model/deletebackup.php
^	module/cne/test/model/getappvolumes.php
^	module/cne/test/model/getbackuplist.php
^	module/cne/test/model/getbackupstatus.php
^	module/cne/test/model/getdisksettings.php
^	module/cne/test/model/getvolumesmetrics.php
^	module/cne/test/model/installapp.php
^	module/cne/test/model/restore.php
^	module/cne/test/model/translateerror.php
^	module/cne/test/model/uploadcert.php
^	module/cne/test/model/validatecert.php
^	module/common/test/model/printduration.php
^	module/convert/test/model/getzentaofields.php
^	module/convert/test/model/getzentaoobjectlist.php
^	module/convert/test/model/savestate.php
^	module/convert/test/tao/createtask.php
^	module/convert/test/tao/processjiracontent.php
^	module/instance/test/model/installationsettingsmap.php
^	module/instance/test/model/stop.php
^	module/kanban/test/tao/refreshbugcards.php
^	module/kanban/test/tao/refresherurcards.php
^	module/kanban/test/tao/refreshstorycards.php
^	module/metric/test/model/getdatebydatetype.php
^	module/metric/test/model/getlatestresultbycode.php
^	module/metric/test/model/updatemetricfields.php
^	module/product/test/model/buildsearchconfig.php
^	module/screen/test/model/gennotfoundordraftcomponentoption.php
^	module/search/test/model/buildoldquery.php
^	module/search/test/model/getoldquery.php
^	module/task/test/model/updateparent.php
^	module/todo/test/model/daterange.php
^	module/transfer/test/model/format.php
2025-12-02 16:44:56 +08:00
liyang 2888ad6ee7 + [unittest] add cid. 2025-12-02 16:44:17 +08:00
liugangandClaude eeeb8e610b + [misc] Add unit tests for searchTao::processTaskRecord() method
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude 433aef0110 + [misc] Add unit tests for searchTao::processStoryRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude b7ff901ca1 + [misc] Add unit tests for searchTao::processRiskRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude 1ff6c8cc49 + [misc] Add unit tests for searchTao::processRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude 0a065c5f3b + [misc] Add unit tests for searchTao::processProjectRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude 53ee30206b + [misc] Add unit tests for searchTao::processExecutionRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude 60f3d12859 + [misc] Add unit tests for searchTao::checkFeedbackAndTicketPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:21 +08:00
liugangandClaude fbe035a84a + [misc] Add unit tests for searchTao::processDocRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:19 +08:00
liugang daab95bebd * [misc] Run unit test scrips by ztf. 2025-12-02 16:32:22 +08:00
liugangandClaude 7d37c52b05 * [misc] Fix unit tests for searchTao::processIssueRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:32:22 +08:00
liugang bc582c44ac * [misc] Run unit test scrips by ztf. 2025-12-02 16:30:51 +08:00
liugangandClaude 20fa1f52d8 * [misc] Fix unit tests for searchTao::replaceDynamic() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:44 +08:00
liugangandClaude 3dfc7a051c * [misc] Fix unit tests for searchTao::processIssueRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:24 +08:00
liugangandClaude 27fcebabf6 * [misc] Fix unit tests for searchTao::initSession() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:24 +08:00
liugangandClaude 337717d200 * [misc] Fix unit tests for searchTao::getSummary() method
- 修复了测试脚本中期望结果的格式问题
- 更新了测试预期值以匹配实际的markKeywords和getSummary方法输出
- 改进了单元测试类以绕过数据库依赖问题
- 确保了测试配置的正确初始化

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:24 +08:00
liugangandClaude 74fc447ac7 * [misc] Fix unit tests for searchTao::checkPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:23 +08:00
sunguangming 36cc5afa18 * [unittest] modify unittest. 2025-12-02 07:50:29 +00:00
liugangandClaude 7314c18583 + [misc] Add unit tests for searchModel::getOldQuery() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:57 +08:00
liugangandClaude 5ac80c592f + [misc] Add unit tests for searchModel::buildOldQuery() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 08:37:57 +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 f0cb3bbe12 + [misc] Add unit tests for searchZen::setSessionForIndex() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:29 +08:00
liugangandClaude bc2a75745d + [misc] Add unit tests for searchTao::processTaskRecord() method
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:29 +08:00
liugangandClaude afb27f60b4 + [misc] Add unit tests for searchTao::processStoryRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:29 +08:00
liugangandClaude 2959c577f3 + [misc] Add unit tests for searchTao::processRiskRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:28 +08:00
liugangandClaude ed29d02d80 + [misc] Add unit tests for searchTao::processRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:28 +08:00
liugangandClaude 30fdddfb1e + [misc] Add unit tests for searchTao::processProjectRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:28 +08:00
liugangandClaude 7faede96f1 + [misc] Add unit tests for searchTao::processExecutionRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:28 +08:00
liugangandClaude 1289a764dd + [misc] Add unit tests for searchTao::checkFeedbackAndTicketPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:28 +08:00
liugangandClaude 8c55de0328 + [misc] Add unit tests for searchTao::processDocRecord() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 10:30:58 +08:00
liugangandClaude ccbf7dd250 + [misc] Add unit tests for searchTao::checkTodoPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 10:30:58 +08:00
liugangandClaude c4f273437d + [misc] Add unit tests for searchTao::checkTestsuitePriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 10:30:58 +08:00
liugangandClaude de02f3d256 + [misc] Add unit tests for searchTao::checkRelatedObjectPriv() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 10:30:58 +08:00