two-way file system sync
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

123456789101112131415161718192021
  1. use std::net::SocketAddr;
  2. use async_tungstenite::accept_async;
  3. use async_tungstenite::tokio::TokioAdapter;
  4. use futures::SinkExt;
  5. use log::*;
  6. use tokio::net::{TcpListener, TcpStream};
  7. use tokio::stream::StreamExt;
  8. use twfss::network::integration_test::{rpc_integration_test_client, RpcIntegrationTestServer};
  9. #[tokio::test]
  10. async fn test_rpc() {
  11. /*const ADDRESS: &str = "localhost:12345";
  12. let server = RpcIntegrationTestServer::start(ADDRESS).await;
  13. // TODO: Error handling, usable asserts.
  14. rpc_integration_test_client(&ADDRESS).await;
  15. server.stop().await;*/
  16. }