aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs/vcs_test/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove old vcs directory after migration to vcs_data魏曹先生2025-10-065-811/+0
| | | | | | - Delete entire crates/vcs directory and its contents - Remove test files and configuration from old structure - Complete transition to new vcs_data and vcs_actions architecture
* Fix test failures in sheet creation and management tests魏曹先生2025-09-291-11/+26
| | | | | | | - Add .await to all add_mapping async method calls - Adjust test logic to not check remove_mapping return value when virtual files don't exist - Clean up unused variable warnings - All 10 vcs_test integration tests now pass successfully
* Update test files: remove obsolete test_incremental_transfer.rs and modify ↵魏曹先生2025-09-291-2/+2
| | | | test suites
* refactor: downgrade tcp_connection functionality to test utilities魏曹先生2025-09-261-1/+1
| | | | | | | | - Remove handle, target, target_configure, target_connection modules from main library - Create test_utils module in test project to contain temporary connection functionality - Update import paths in test files - Keep instance and error modules as core functionality - Adjust vcs_test configurations to adapt to new test structure
* 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-253-0/+260