From 2d7176b79c42f9969fbab69e9d3af121af422a7f Mon Sep 17 00:00:00 2001 From: subtly Date: Tue, 4 Nov 2014 10:56:22 +0100 Subject: json rpc only runs once, and only when json rpc test suite is invoked --- jsonrpc.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'jsonrpc.cpp') diff --git a/jsonrpc.cpp b/jsonrpc.cpp index 033339ec..53f51eca 100644 --- a/jsonrpc.cpp +++ b/jsonrpc.cpp @@ -43,9 +43,6 @@ using namespace dev; using namespace dev::eth; namespace js = json_spirit; -namespace jsonrpc_tests -{ - string name = "Ethereum(++) tests"; string dbPath; auto s = set{"eth", "shh"}; @@ -74,7 +71,7 @@ struct JsonrpcFixture { } }; -BOOST_GLOBAL_FIXTURE(JsonrpcFixture) +const JsonrpcFixture testJsonRpcServer; BOOST_AUTO_TEST_CASE(jsonrpc_defaultBlock) { @@ -243,8 +240,6 @@ BOOST_AUTO_TEST_CASE(jsonrpc_transact) BOOST_CHECK_EQUAL(txAmount, balance2); } -} - BOOST_AUTO_TEST_SUITE_END() #endif -- cgit