77 Commits
Author SHA1 Message Date
liuruogu 293522c47a * modify unit test. 2025-12-31 08:59:22 +00:00
liuruogu be330aa5e5 * modify unit test. 2025-12-31 08:59:22 +00:00
liuruogu acf48676c6 * add unit tests for getuploadbyuid. 2025-12-31 08:59:21 +00:00
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude cc40abb8b7 + [misc] Add unit tests for fileZen::updateFileName() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:25:47 +08:00
liugang c8c0327b04 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-05 14:35:27 +08:00
liugang 06a8cc3f63 * [misc] Fix unit tests with Claude Code. 2025-09-29 16:41:42 +08:00
liugangandClaude c8dc27e945 * [misc] Enhance unit tests for fileTao::saveFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:08 +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 09b2eb3a85 * [misc] Enhance unit tests for fileModel::unlinkFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:15:57 +08:00
liugangandClaude c8b202ec67 + [misc] Add unit tests for fileZen::updateFileName() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 752a2e15e9 + [misc] Add unit tests for fileZen::unlinkRealFile() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:55 +08:00
liugangandClaude 588849cda4 + [misc] Add unit tests for fileZen::getDownloadMode() method
🤖 Generated with [Claude Code](https://claude.ai/code)

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00
sunguangming 711405d304 * [misc] modify unittest. 2025-09-03 07:28:00 +00:00
wangyuting 4d2e317ffd * Add setimgsize unit test script. 2025-08-28 15:50:36 +08:00
wangyuting 8dd55a7b88 * Adjust unit test script file name. 2025-08-26 08:51:54 +08:00
wangyuting e08a90634b * [task#146178,done,3h,0h] Optimize history search method. 2025-08-26 08:51:54 +08:00
xieqiyu 55456ed8de * [bug#64850] Modify the unit test file of fileModel::sendDownHeader. 2025-08-19 08:29:30 +00:00
xieqiyu f0a649e037 * [bug#64713] Add the unit test file of fileModel::buildFileActions. 2025-08-13 05:12:59 +00:00
tianshujie 6aea9f7e40 * [unittest] add unit test for printfile. 2025-06-20 13:54:15 +08:00
tianshujie e49b66108e * [unittest] add printFileTest method. 2025-06-20 13:53:59 +08:00
tianshujie 68592ad019 * [unittest] add printfile. 2025-06-20 13:53:30 +08:00
sunguangming 80953b6c5f * [unittest] modify unittest. 2025-06-05 08:00:58 +00:00
liumengyi 1b1ce99744 * [unittest] modify unit test result for fileModel::saveDefaultFiles. 2025-06-05 09:54:48 +08:00
liumengyi aa71b291e4 * [unittest] modify unit test of fileModel::processFile4Object. 2025-06-05 09:52:56 +08:00
liumengyi 5cc146a33a + [task#134182,done,0.1h] add unit test of fileModel::processFileDiffsForObject. 2024-12-30 09:51:11 +08:00
liumengyi fbc8d80a60 + [task#134182,doing,0.1h] add unit test of fileModel::processFileDiffsForObject. 2024-12-30 09:51:11 +08:00
liumengyi e20893fbbf + [task#134182,doing,1h] add unit test of fileModel::processFileDiffsForObject. 2024-12-30 09:51:11 +08:00