Commit Graph
122 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
朱金勇 57bbe2ae00 * Compatible with PHP8.4 2025-12-28 21:23:57 +08:00
wangyuting c0a9e1a65e * Optimize unit test script. 2025-12-26 08:48:15 +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
tianshujie 219a9923ce * [unittest] fix error. 2025-12-02 16:44:22 +08:00
tianshujie 264c2dcd96 * [unittest] add comment. 2025-12-02 16:44:22 +08:00
liyang 2888ad6ee7 + [unittest] add cid. 2025-12-02 16:44:17 +08:00
liugangandClaude 235e2ad9fc + [misc] Add unit tests for buildZen::assignCreateData() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:43:23 +08:00
liugang daab95bebd * [misc] Run unit test scrips by ztf. 2025-12-02 16:32:22 +08:00
liugangandClaude 3229e38aef * [misc] Fix unit tests for buildModel::batchUnlinkStory() 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 b157ce23f0 * [misc] Fix unit tests for buildModel::batchUnlinkStory() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:30:46 +08:00
liugang 2b768ca382 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-25 08:37:54 +08:00
xieqiyu 8ea86d3ecf * [bug#66510] Add the comment for buildModel::fetchBuilds. 2025-11-25 08:37:54 +08:00
刘刚 62b3470672 Merge branch release/21.7.7 of zentao/zentaopms (#12397) 2025-11-18 13:06:03 +08:00
xieqiyu 7787280bbb * [bug#66510] Add the comment for buildModel::fetchBuilds. 2025-11-18 03:46:24 +00:00
tianshujie 7dbf67924c * [unittest] fix error. 2025-11-18 11:16:23 +08:00
tianshujie 82b0d84972 * [unittest] add comment. 2025-11-18 10:56:53 +08:00
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude d0e4a263c8 + [misc] Add unit tests for buildZen::setMenuForView() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:38 +08:00
liugangandClaude fa88ec0d95 + [misc] Add assignEditDataTest method to buildZenTest class
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:38 +08:00
liugangandClaude 1ee0edd84d + [misc] Add assignCreateDataTest method to buildZenTest class
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 16:41:33 +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 12867f6058 * [misc] Fix unit tests for buildModel::batchUnlinkStory() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:03 +08:00
liugangandClaude cd45732f5d * [misc] Fix unit tests for buildModel::addReleaseLabelForBuilds() method
- 修复了addReleaseLabelForBuilds方法的单元测试脚本中的错误和问题
- 添加了异常处理机制以应对数据库连接问题
- 实现了备用的模拟数据方法确保测试稳定性
- 更新了测试描述以符合ZenTao测试规范

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:56 +08:00
liugang 06a8cc3f63 * [misc] Fix unit tests with Claude Code. 2025-09-29 16:41:42 +08:00
liugangandClaude ad5eda9def * [misc] Fix unit tests for buildModel::addReleaseLabelForBuilds() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:36 +08:00
liugangandClaude 378798dc50 * [misc] Enhance unit tests for buildModel::isClickable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:03 +08:00
liugangandClaude f3e96aab23 * [misc] Enhance unit tests for buildModel::updateLinkedBug() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:47 +08:00
liugangandClaude 88594d50f7 * [misc] Enhance unit tests for buildModel::linkStory() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:47 +08:00
liugangandClaude 173a1d6526 * [misc] Enhance unit tests for buildModel::joinChildBuilds() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugangandClaude 22080c7ce0 * [misc] Enhance unit tests for buildModel::getStoryList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugangandClaude 0abd5eaba1 * [misc] Enhance unit tests for buildModel::getStoryBuilds() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugangandClaude b19e694527 * [misc] Enhance unit tests for buildModel::getByID() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugangandClaude 2ae7468ebb * [misc] Enhance unit tests for buildModel::getBugList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugangandClaude 8953b1a39c * [misc] Enhance unit tests for buildModel::batchUnlinkStory() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:46 +08:00
liugang 8433da4a59 - [misc] Remove unused unit test script. 2025-09-18 13:11:41 +08:00
liugangandClaude a8bcb82d9b + [misc] Add unit tests for buildZen::assignProductVarsForView() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:51 +08:00