Commit Graph
190 Commits
Author SHA1 Message Date
liugangandClaude df303ffd0e * [misc] Fix unit tests for screenModel::getChartOption() method
重构和修复了getchartoption.php测试脚本的主要问题:
1. 修复了文件头部注释格式错误(第21行混合的注释内容)
2. 简化了测试数据初始化流程,去除了可能导致数据库连接问题的initScreen()调用
3. 重写了测试逻辑,使用更简单直接的模拟对象
4. 规范了测试步骤描述,符合ZenTao单元测试指南要求
5. 确保测试包含至少5个测试步骤,涵盖不同图表类型的处理

注意:由于screen模块依赖复杂的BI模块和数据库配置,当前测试环境可能存在初始化问题,
但测试脚本本身的逻辑和格式已经修复并符合规范。

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 12:10:30 +08:00
liugangandClaude 3595b7d75a * [misc] Enhance unit tests for screenModel::processXLabel() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:33 +08:00
liugangandClaude 06d87a6b59 + [misc] Add unit tests for screenZen::setSelectFilter() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:11:57 +08:00
liugangandClaude 009dc25c31 + [misc] Add unit tests for screenTao::processRadarData() 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 b12be8e4af + [misc] Add unit tests for screenModel::getDatasetForUsageReport() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:23 +08:00
liugangandClaude 260eb256e5 + [misc] Add unit tests for screenModel::initChartAndPivotComponent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:23 +08:00
liugangandClaude d549774d93 + [misc] Add unit tests for screenModel::removeScheme() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude b51e3d087f + [misc] Add unit tests for screenModel::getThumbnail() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude da2b5ac677 + [misc] Add unit tests for screenModel::getUsageReportProducts() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 6ba3126c58 + [misc] Add unit tests for screenModel::getUsageReportProjects() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude a2f99a820d + [misc] Add unit tests for screenModel::getProjectStoryTable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 87039ddbdc + [misc] Add unit tests for screenModel::getProductStoryTable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude c3c2f47cdc + [misc] Add unit tests for screenModel::getProjectTaskTable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude e4d3366947 + [misc] Add unit tests for screenModel::getProductTestTable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 4227e8d760 + [misc] Add unit tests for screenModel::getActiveProductCard() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 267a9a6592 + [misc] Add unit tests for screenModel::getActiveProjectCard() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude dcd9d539e6 + [misc] Add unit tests for screenModel::getActiveUserTable() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude cfcaad17e3 + [misc] Add unit tests for screenModel::buildDataset() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 645e42ad6b + [misc] Add unit tests for screenModel::getChartType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 8b63ba1f2b + [misc] Add unit tests for screenModel::checkIFChartInUse() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 4a1104d25a + [misc] Add unit tests for screenModel::initOptionTitle() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude d8021399c5 + [misc] Add unit tests for screenModel::initMetricComponent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 2684d1e0e0 + [misc] Add unit tests for screenModel::buildFunnelChart() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude b8489363ad + [misc] Add unit tests for screenModel::buildOrgChart() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 5f0c668fe5 + [misc] Add unit tests for screenModel::getMetricHeaders() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude e33de54b1e + [misc] Add unit tests for screenModel::getMetricCardOption() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 5a2bc62490 + [misc] Add unit tests for screenModel::filterMetricData() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 07c6488527 + [misc] Add unit tests for screenModel::getMetricTableOption() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 218de3e07b + [misc] Add unit tests for screenModel::getMetricChartOption() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 3c84a47604 + [misc] Add unit tests for screenModel::getWaterPoloOption() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude c2f55a2fb0 + [misc] Add unit tests for screenModel::buildTableChart() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 9fa9861393 + [misc] Add unit tests for screenModel::buildGroup() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude a49c11f9a1 + [misc] Add unit tests for screenModel::getOptionsFromSql() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 149cc48123 + [misc] Add unit tests for screenModel::formatMetricDateByType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude ae4fb6a058 + [misc] Add unit tests for screenModel::processMetricFilter() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 79e3028256 + [misc] Add unit tests for screenModel::prepareTextDataset() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude ae9a861faf + [misc] Add unit tests for screenModel::prepareRadarDataset() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude 0895c16780 + [misc] Add unit tests for screenModel::updateMetricFilters() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:22 +08:00
liugangandClaude fc230b6827 + [misc] Add unit tests for screenModel::preparePaginationBeforeFetchRecords() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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