From c2ffb6c255bf0533f80a3b6cbad066977b812da7 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Sat, 26 Mar 2016 19:04:12 +0300 Subject: [PATCH] test socket to common test tools --- ipc/tests/socket.rs => devtools/src/test_socket.rs | 0 ipc/tests/Cargo.toml | 1 + ipc/tests/examples.rs | 2 +- ipc/tests/run.rs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename ipc/tests/socket.rs => devtools/src/test_socket.rs (100%) diff --git a/ipc/tests/socket.rs b/devtools/src/test_socket.rs similarity index 100% rename from ipc/tests/socket.rs rename to devtools/src/test_socket.rs diff --git a/ipc/tests/Cargo.toml b/ipc/tests/Cargo.toml index a4d07ae57..1d2bc35b4 100644 --- a/ipc/tests/Cargo.toml +++ b/ipc/tests/Cargo.toml @@ -11,6 +11,7 @@ path = "run.rs" "ethcore-ipc" = { path = "../rpc" } bincode = "*" serde = "0.7.0" +ethcore-devtools = { path = "../../devtools" } [build-dependencies] syntex = "0.30.0" diff --git a/ipc/tests/examples.rs b/ipc/tests/examples.rs index 5a6fc69bf..280e25d08 100644 --- a/ipc/tests/examples.rs +++ b/ipc/tests/examples.rs @@ -17,9 +17,9 @@ #[cfg(test)] mod tests { - use super::super::socket::*; use super::super::service::*; use ipc::*; + use devtools::*; #[test] fn call_service() { diff --git a/ipc/tests/run.rs b/ipc/tests/run.rs index 187b52d9d..7aac809ed 100644 --- a/ipc/tests/run.rs +++ b/ipc/tests/run.rs @@ -17,7 +17,7 @@ extern crate bincode; extern crate ethcore_ipc as ipc; extern crate serde; +extern crate ethcore_devtools as devtools; -pub mod socket; pub mod service; mod examples;