Commit Graph
109209 Commits
Author SHA1 Message Date
liugangandClaude a44aae1a71 * [misc] Enhance unit tests for webhookModel::saveLog() method
- Improved test coverage from 4 to 7 test steps
- Added comprehensive validation for all fields (objectType, objectID, action, url, contentType, data, result)
- Added edge case testing (empty data/result, special characters)
- Added return value validation
- Improved test assertions for better accuracy

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:40 +08:00
liugangandClaude 29b7fd3f52 * [misc] Enhance unit tests for svnModel::run() method
增强了svnModel的run方法单元测试,包含5个测试步骤:
1. 正常流程有SVN仓库时执行同步测试
2. 边界情况无SVN仓库时返回false测试
3. 验证setRepos方法能正确识别SVN仓库
4. 验证无仓库时repos为空
5. 验证有SVN仓库配置时能设置repos

改进内容:
- 扩展runTest方法支持多种测试场景
- 新增3个YAML测试数据文件
- 优化测试覆盖率和代码质量
- 确保测试步骤不少于5个

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:37 +08:00