aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs/vcs_test
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Update sheet input handling and fix tests魏曹先生2025-09-261-19/+34
| | | | | | | | - Modify Sheet::add_input to accept InputPackage instead of separate parameters - Use output_mappings method to generate InputPackage in tests - Update test assertions to match new path transformation logic - Fix mapping count assertions after adding multiple mappings - Clean up string_proc module structure
* feat: Automatically create host member and ref sheet during vault setup魏曹先生2025-09-261-7/+24
| | | | | | | - Add VAULT_HOST_NAME constant for 'host' member - Modify setup_vault to automatically register host member and create ref sheet - Update test assertions to account for the additional ref sheet - Fix code formatting in sheets.rs
* test: add comprehensive sheet management test suite魏曹先生2025-09-262-0/+263
| | | | | | | | | | | | | | | | - 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
* Update test_virtual_file_creation_and_update.rs魏曹先生2025-09-251-1/+1
|
* Update test_vault_setup_and_member_register.rs魏曹先生2025-09-251-1/+1
|
* Update lib.rs魏曹先生2025-09-251-0/+3
|
* Add tests魏曹先生2025-09-251-0/+248
|
* Fix clippy warnings in test files魏曹先生2025-09-252-88/+78
| | | | | | | - Convert manual async functions to async fn syntax - Replace assert_eq!(true/false, ...) with assert!(...) and assert!(!...) - Fix useless vec warning by using array directly - All tests continue to pass after optimizations
* Rename `env` to `vcs`魏曹先生2025-09-252-10/+10
|
* Rename `env` to `vcs`魏曹先生2025-09-254-0/+272