diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-09-26 11:14:45 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-09-26 11:14:45 +0800 |
| commit | dfaff711cd1cc5d500599a3146891f72f6903c45 (patch) | |
| tree | cad050748b3bda970cfa760a35bde1b386829e76 /crates/vcs/src/data/sheet.rs | |
| parent | e366cade07b5408f95a0e6c268ee123e014e261c (diff) | |
test: add comprehensive sheet management test suite
- Add test_sheet_creation_management_and_persistence with 3 test functions:
- Main test covering sheet creation, input/mapping management, persistence, and deletion
- Error condition testing for invalid operations
- Serialization testing through vault operations
- Test coverage includes:
- Sheet creation with member validation
- Input package addition and removal
- Mapping entry management
- File persistence and reloading
- Safe deletion to trash and restoration
- Permanent deletion
- Error handling for invalid operations
- Follows existing test patterns and uses proper getter methods for private fields
Diffstat (limited to 'crates/vcs/src/data/sheet.rs')
0 files changed, 0 insertions, 0 deletions
