summaryrefslogtreecommitdiffhomepage
path: root/talpid_ipc/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-07-10 09:52:08 +0200
committerLinus Färnstrand <linus@mullvad.net>2017-07-10 10:00:32 +0200
commitef588b3ef2c0966d4e521058e5b8fadf11bab9f4 (patch)
tree5287acf4329bfe21b3c037506bb85720f724325e /talpid_ipc/src
parentf841a3fd0c6fcf4d2db281ed6a40843d6921fc05 (diff)
downloadmullvadvpn-ef588b3ef2c0966d4e521058e5b8fadf11bab9f4.tar.xz
mullvadvpn-ef588b3ef2c0966d4e521058e5b8fadf11bab9f4.zip
Fix WsIpcClient tests
Diffstat (limited to 'talpid_ipc/src')
-rw-r--r--talpid_ipc/src/client.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/talpid_ipc/src/client.rs b/talpid_ipc/src/client.rs
index 56f4f5c121..5d63db24f9 100644
--- a/talpid_ipc/src/client.rs
+++ b/talpid_ipc/src/client.rs
@@ -121,23 +121,3 @@ impl WsIpcClient {
id
}
}
-
-
-#[cfg(test)]
-mod tests {
- extern crate env_logger;
- use super::*;
-
- // TODO(linus): This is not a test. Just an ugly way to quickly test the client implementation
- #[test]
- #[ignore]
- fn ws_ipc_client_tester() {
- env_logger::init().unwrap();
-
- let mut ws = WsIpcClient::new("ws://127.0.0.1:INSERT_PORT".to_owned()).unwrap();
- let event = serde_json::Value::String("Up".to_owned());
- let env = serde_json::Value::Object(serde_json::Map::new());
- let params = serde_json::Value::Array(vec![event, env]);
- println!("CALL RESULT: {:?}", ws.call("openvpn_event", &params));
- }
-}