aboutsummaryrefslogtreecommitdiffstats
path: root/jsonrpc.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-11-04 17:56:22 +0800
committersubtly <subtly@users.noreply.github.com>2014-11-04 17:56:22 +0800
commit2d7176b79c42f9969fbab69e9d3af121af422a7f (patch)
tree9d4647c9864f8d2b56ad84310768fcbd209cf14c /jsonrpc.cpp
parent07d08e3af3afb99014cec91d39ce0ca36d710517 (diff)
downloaddexon-solidity-2d7176b79c42f9969fbab69e9d3af121af422a7f.tar.gz
dexon-solidity-2d7176b79c42f9969fbab69e9d3af121af422a7f.tar.zst
dexon-solidity-2d7176b79c42f9969fbab69e9d3af121af422a7f.zip
json rpc only runs once, and only when json rpc test suite is invoked
Diffstat (limited to 'jsonrpc.cpp')
-rw-r--r--jsonrpc.cpp7
1 files changed, 1 insertions, 6 deletions
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<string>{"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