json rpc only runs once, and only when json rpc test suite is invoked

This commit is contained in:
subtly 2014-11-04 10:56:22 +01:00
parent 07d08e3af3
commit 2d7176b79c

View File

@ -43,9 +43,6 @@ using namespace dev;
using namespace dev::eth; using namespace dev::eth;
namespace js = json_spirit; namespace js = json_spirit;
namespace jsonrpc_tests
{
string name = "Ethereum(++) tests"; string name = "Ethereum(++) tests";
string dbPath; string dbPath;
auto s = set<string>{"eth", "shh"}; 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) BOOST_AUTO_TEST_CASE(jsonrpc_defaultBlock)
{ {
@ -243,8 +240,6 @@ BOOST_AUTO_TEST_CASE(jsonrpc_transact)
BOOST_CHECK_EQUAL(txAmount, balance2); BOOST_CHECK_EQUAL(txAmount, balance2);
} }
}
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()
#endif #endif