aboutsummaryrefslogtreecommitdiff
path: root/crates/utils/tcp_connection/tcp_connection_test
Commit message (Collapse)AuthorAgeFilesLines
* Return key ID along with challenge verification result魏曹先生2025-10-301-3/+6
| | | | | | | - Update challenge method to return (bool, String) tuple - Include key ID in both success and failure cases - Update tests to verify key ID matches expected value - Maintain same verification logic but provide additional context
* Update dependencies to latest versions魏曹先生2025-10-271-2/+2
|
* Fix Clippy warnings and optimize code魏曹先生2025-10-131-10/+1
| | | | | | | | | - Fix let_underscore_future warning by properly awaiting async functions - Make accept_import function async to match add_mapping usage - Propagate errors properly with ? operator instead of ignoring them - Replace manual Default implementation with derive attribute - Replace vec! with array literal to avoid useless_vec warning - All tests pass and code is now Clippy clean
* Update test files: remove obsolete test_incremental_transfer.rs and modify ↵魏曹先生2025-09-292-287/+0
| | | | test suites
* Add incremental transfer functionality and update TCP connection utilities魏曹先生2025-09-292-0/+287
| | | | | | | | - Add instance_incremental_transfer module for handling incremental data transfers - Add test_incremental_transfer module for testing incremental transfer functionality - Update TCP connection library to support new incremental transfer features - Update Cargo.toml dependencies for TCP connection utilities - Update main library to integrate new TCP connection functionality
* refactor: downgrade tcp_connection functionality to test utilities魏曹先生2025-09-2611-21/+387
| | | | | | | | - 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
* feat(tcp_connection): add MessagePack serialization support魏曹先生2025-09-263-0/+115
| | | | | | | | | | | | - Add rmp-serde dependency for MessagePack serialization - Implement write_msgpack and read_msgpack methods for basic MessagePack support - Add write_large_msgpack and read_large_msgpack methods for chunked transmission - Add error conversions for rmp-serde errors - Add comprehensive tests for MessagePack functionality - Fix code formatting and improve readability - Make stream field pub(crate) for better access control All tests pass successfully, ensuring backward compatibility.
* Fix clippy warnings in test files魏曹先生2025-09-253-124/+112
| | | | | | | - 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
* Fix clippy warnings and optimize code魏曹先生2025-09-251-1/+2
| | | | | | | - Rename from_str to from_address_str in tcp_connection to avoid trait conflict - Use ? operator instead of let...else patterns in local and vault initialization - Replace manual string slicing with strip_prefix in virtual_file.rs - All tests continue to pass after optimizations
* Remove redundant Sync bound from process future魏曹先生2025-09-223-18/+6
|
* Fixed some tests魏曹先生2025-09-223-4/+77
|
* Add test `test_file_transfer`魏曹先生2025-09-221-0/+101
|
* Add new resources for test魏曹先生2025-09-224-0/+116
|
* Remove `test_key`魏曹先生2025-09-222-64/+0
|
* Fixed Challenge魏曹先生2025-09-212-4/+16
|
* Fixed test_key魏曹先生2025-09-212-1/+13
|
* Add test pem key魏曹先生2025-09-212-0/+52
|
* Complete Challenge魏曹先生2025-09-211-9/+7
|
* Add challenge test for `tcp_connection`魏曹先生2025-09-212-0/+87
|
* Finished test of `tcp_connection` 1. Merge example_handle.rs into魏曹先生2025-09-174-39/+91
| | | | test_connection.rs
* Update examples魏曹先生2025-09-172-8/+17
|
* Fixed codes by Zed魏曹先生2025-09-142-5/+17
|
* Fixed codes by Zed魏曹先生2025-09-143-16/+11
|
* Update `tcp_connection_test` Cargo.toml魏曹先生2025-09-141-0/+8
|
* Update module `tcp_connection_test`魏曹先生2025-09-143-0/+52