DataProtoTest class, used to test the file transfer functionality of DataProtocolizedController and FileSinker. More...
DataProtoTest class, used to test the file transfer functionality of DataProtocolizedController and FileSinker.
This test class aims to verify the reliability of file transfer, including the integrity of small and large files under sequential and random chunk transmission. Each test case will independently create sender and receiver controller and Sinker instances to ensure isolation between tests. Received files will be saved to the current working directory and cleaned up after the test.