mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
json rpc only runs once, and only when json rpc test suite is invoked
This commit is contained in:
parent
07d08e3af3
commit
2d7176b79c
@ -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…
Reference in New Issue
Block a user