Commit Graph
108884 Commits
Author SHA1 Message Date
liugangandClaude 5103bbf4fc * [misc] Enhance unit tests for devModel::getMenuObject() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:05 +08:00
liugangandClaude 7f123e9728 * [misc] Enhance unit tests for devModel::getFields() method
- Increased test coverage from 3 to 7 test steps
- Added comprehensive testing for different field types (varchar, int, char)
- Improved testing for field name internationalization
- Enhanced validation for field null attributes and type parsing
- Better coverage of field structure and properties

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:04 +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 dfbb7f367c * [misc] Enhance unit tests for blockModel::getBlockInitStatus() 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 813986390a * [misc] Enhance unit tests for biModel::buildQueryResultTableColumns() 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 d19b83f147 * [misc] Enhance unit tests for apiModel::updateStruct() 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 c835164d4b * [misc] Enhance unit tests for apiModel::createStruct() 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 29966494b0 * [misc] Enhance unit tests for extensionModel::updateExtension() method
Expanded test coverage for extension update functionality:
- Added test for empty data array handling
- Added test for empty extension code validation
- Added test for updating existing extension status
- Added test for JSON encoding of dirs and files fields
- Added test for non-existent extension code handling
- Added test for multi-field combination updates
- Added test for directory path processing functionality
- Improved test data setup with comprehensive extension scenarios
- Enhanced test structure with clear step documentation
- Better variable naming and assertion validation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:03 +08:00
liugangandClaude 938ac9358c * [misc] Enhance unit tests for extensionModel::checkVersion() method
Improved test coverage for extension version checking functionality:
- Added test for 'all' version string validation
- Added test for version string not containing current version
- Added test for version string matching current version
- Added test for empty version string handling
- Added test for multi-version list containing current version
- Improved test structure with clear step documentation
- Enhanced code readability with variable assignments
- Better test case descriptions for maintenance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:03 +08:00
liugangandClaude fb3383ec09 * [misc] Enhance unit tests for fileModel::setPathName() method
Expanded test coverage for file path name generation functionality:
- Added test for normal file ID and extension
- Added test for boundary values (ID=0, empty extension)
- Added test for large file ID values with common extensions
- Added test for special character handling in extensions
- Added test for string type file ID conversion
- Added test for timestamp format verification in generated path
- Added test for path name uniqueness validation
- Improved test case documentation and structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:02 +08:00
liugangandClaude 970c36aa7e * [misc] Enhance unit tests for fileModel::sendDownHeader() method
Improved test coverage for file download header functionality:
- Added test for content-type download with valid filename
- Added test for file-type download with valid file path
- Added security test for invalid file path protection
- Added test for automatic file extension handling
- Added test for Safari browser filename encoding
- Added test for different MIME type content headers
- Added test for empty filename boundary handling
- Integrated with fileTest helper class for better test structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:02 +08:00
liugangandClaude a4fad06de2 * [misc] Enhance unit tests for gitModel::convertLog() method
Expanded test coverage for git log conversion functionality:
- Added test cases for multi-line commit messages
- Added test cases for file change information parsing
- Added test cases for complex author information
- Added test case for empty log array handling
- Improved test documentation and structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:02 +08:00
liugangandClaude ce359446e2 [misc] Optimize unit test generator script to skip files with sufficient test coverage
Add step counting logic in enhance mode to prevent unnecessary enhancement of test files
that already contain 5 or more test steps. This improves efficiency and reduces
redundant processing while maintaining test quality standards.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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