Commit Graph
156 Commits
Author SHA1 Message Date
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude 26121c270f + [misc] Add unit tests for cneModel::validateCert() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:22:54 +08:00
liugangandClaude 3d0794e846 + [misc] Add unit tests for cneModel::translateError() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:21:24 +08:00
liugangandClaude 944613858d + [misc] Add unit tests for cneModel::restore() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:17:00 +08:00
liugangandClaude 0ad0af3658 + [misc] Add unit tests for cneModel::getVolumesMetrics() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:14:08 +08:00
liugangandClaude f70402c2c9 + [misc] Add unit tests for cneModel::getDiskSettings() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:11:55 +08:00
liugangandClaude 0878fda74d + [misc] Add unit tests for cneModel::getBackupStatus() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:08:04 +08:00
liugangandClaude 911b7d9869 + [misc] Add unit tests for cneModel::getAppVolumes() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:05:16 +08:00
liugangandClaude 36e5c7ffed + [misc] Add unit tests for cneModel::deleteBackup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:03:03 +08:00
liugangandClaude bbf5f242f1 + [misc] Add unit tests for cneModel::cneServerError() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:01:08 +08:00
liugangandClaude 9816a273c4 + [misc] Add unit tests for cneModel::backup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 17:28:38 +08:00
liugangandClaude 4504837534 + [misc] Add unit tests for cneModel::apiPost() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 17:26:27 +08:00
liugangandClaude 5ef3fef63d + [misc] Add unit tests for cneModel::apiGet() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 17:23:55 +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 695fe03caa * [misc] Fix unit tests for cneModel::uploadCert() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:05 +08:00
liugangandClaude 19c465b419 * [misc] Fix unit tests for cneModel::tryAllocate() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:05 +08:00
liugangandClaude 82db46f7d4 * [misc] Fix unit tests for cneModel::getDiskSettings() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:04 +08:00
liugangandClaude 1b9dd59e27 * [misc] Fix unit tests for cneModel::deleteBackup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:04 +08:00
liugangandClaude 43e3a65196 * [misc] Fix unit tests for cneModel::backupDetail() method
根据zentao-unit-test-guide.md文档要求,修复了cne模块backupDetail方法的单元测试脚本:

1. 将测试步骤数量从4个增加到5个,符合指南要求
2. 标准化了测试步骤描述格式,包含期望结果说明
3. 优化了测试场景覆盖:
   - 空实例对象输入测试
   - 缺少k8name属性的实例测试
   - 无效备份计数输入测试
   - 正常实例获取备份数据库信息测试
   - 正常实例获取备份卷信息测试
4. 保持了现有测试逻辑的正确性,确保测试稳定通过

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:04 +08:00
liugangandClaude 438cd433d0 * [misc] Fix unit tests for cneModel::apiPost() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:40:04 +08:00
liugangandClaude 93ced7c6a8 * [misc] Fix unit tests for cneModel::apiGet() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:36:10 +08:00
liugang cd08aef0bc + [misc] Add yaml files with Claude Code. 2025-09-29 16:42:13 +08:00
liugangandClaude 847a395c53 * [misc] Fix unit tests for cneModel::validateCert() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude 659ca23dba * [misc] Fix unit tests for cneModel::updateConfig() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude 7cc1462497 * [misc] Fix unit tests for cneModel::startApp() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude 5e824c51cc * [misc] Fix unit tests for cneModel::instancesMetrics() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude bfe74f00de * [misc] Fix unit tests for cneModel::getVolumesMetrics() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude c725edbb82 * [misc] Fix unit tests for cneModel::getDomain() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude 4909c2e5fb * [misc] Fix unit tests for cneModel::getAppConfig() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:57 +08:00
liugangandClaude f923566ff3 * [misc] Fix unit tests for cneModel::deleteBackup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:56 +08:00