Browse Source

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

cl-refactor
subtly 10 years ago
parent
commit
a3ea170751
  1. 7
      test/jsonrpc.cpp

7
test/jsonrpc.cpp

@ -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

Loading…
Cancel
Save