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
wangyuting
c8a32fdb95
* Optimize extension unit test script.
2025-12-26 14:14:13 +08:00
liugang
2b768ca382
- [misc] Delete the failed unit test scripts generated by Claude Code.
2025-11-25 08:37:54 +08:00
liyang
ae7b38c164
+ [unittest] add cid.
2025-11-14 13:05:25 +08:00
liugang and Claude
bdfe71646a
+ [misc] Add unit tests for extensionZen::togglePackageDisable() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
41077f867f
+ [misc] Add unit tests for extensionZen::installExtension() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
51be6dee9a
+ [misc] Add unit tests for extensionZen::getHookFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
41aef3c733
+ [misc] Add unit tests for extensionZen::extractPackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
110187171a
+ [misc] Add unit tests for extensionZen::copyPackageFiles() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
bdee58ac13
+ [misc] Add unit tests for extensionZen::compareForLimit() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
5f076e4073
+ [misc] Add unit tests for extensionZen::checkExtractPath() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
e8179cf275
+ [misc] Add unit tests for extensionZen::checkExtensionPaths() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
14cd8a87a6
+ [misc] Add unit tests for extensionZen::checkExtension() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
fb804dea1f
+ [misc] Add unit tests for extensionZen::checkDepends() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
9f0c3c25b1
+ [misc] Add unit tests for extensionZen::checkConflicts() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
686861f7a1
+ [misc] Add unit tests for extensionZen::checkCompatible() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang and Claude
a6267f7034
+ [misc] Add unit tests for extensionZen::backupDB() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 08:25:46 +08:00
liugang
c8c0327b04
- [misc] Delete the failed unit test scripts generated by Claude Code.
2025-11-05 14:35:27 +08:00
liugang and Claude
8db95e7318
* [misc] Fix unit tests for extensionModel::getPackageFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-11 09:36:12 +08:00
liugang
34da0d0856
- [misc] Remove useless code and files of unit tests.
2025-09-29 16:41:29 +08:00
liugang and Claude
d49f6f3db3
* [misc] Enhance unit tests for extensionModel::getExpiringPlugins() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:16:08 +08:00
liugang and Claude
bba2628548
* [misc] Enhance unit tests for extensionModel::getExpireDate() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:16:08 +08:00
liugang and Claude
09ae56a5f2
* [misc] Enhance unit tests for extensionModel::erasePackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:16:08 +08:00
liugang and Claude
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
liugang and Claude
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
liugang and Claude
556bd3c350
* [misc] Enhance unit tests for extensionModel::saveExtension() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
50faf889ff
* [misc] Enhance unit tests for extensionModel::removePackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
2cf093c1f1
* [misc] Enhance unit tests for extensionModel::getPathsFromPackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
cb1b6ca545
* [misc] Enhance unit tests for extensionModel::getPackageFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
b82e0aca03
* [misc] Enhance unit tests for extensionModel::getFilesFromPackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
ea769b1dde
* [misc] Enhance unit tests for extensionModel::executeDB() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
a2b7129f90
* [misc] Enhance unit tests for extensionModel::checkIncompatible() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-25 09:15:57 +08:00
liugang and Claude
10a478ee3d
+ [misc] Add unit tests for extensionZen::compareForLimit() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
f1886b8211
+ [misc] Add unit tests for extensionZen::checkFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
a8e7ced58a
+ [misc] Add unit tests for extensionZen::checkDepends() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
52651b986e
+ [misc] Add unit tests for extensionZen::checkConflicts() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
5e39417df7
+ [misc] Add unit tests for extensionZen::checkCompatible() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
168ae7a6c9
+ [misc] Add unit tests for extensionZen::checkExtractPath() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
8b674b1c81
+ [misc] Add unit tests for extensionZen::checkExtensionPaths() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
8889e7d6eb
+ [misc] Add unit tests for extensionZen::togglePackageDisable() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
12f04ac6f0
+ [misc] Add unit tests for extensionZen::backupDB() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
c51dc6f668
+ [misc] Add unit tests for extensionZen::copyPackageFiles() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
e22d02e59c
+ [misc] Add unit tests for extensionZen::extractPackage() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
58eba02c96
+ [misc] Add unit tests for extensionZen::installExtension() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
41e15220be
+ [misc] Add unit tests for extensionZen::copyHookFiles() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
c8b71e989f
+ [misc] Add unit tests for extensionZen::checkFileConflict() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
1036c78491
+ [misc] Add unit tests for extensionZen::checkExtension() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
692ea3210b
+ [misc] Add unit tests for extensionZen::getDependsByDB() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
243e0d2b4a
+ [misc] Add unit tests for extensionZen::getHookFile() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00
liugang and Claude
ca37dbbce9
+ [misc] Add unit tests for extensionZen::checkSafe() method
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-15 15:09:55 +08:00