mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
removed outdated tests
This commit is contained in:
parent
ea2c6a0ab4
commit
1e65540b0c
11
jsonrpc.cpp
11
jsonrpc.cpp
@ -160,15 +160,6 @@ BOOST_AUTO_TEST_CASE(jsonrpc_accounts)
|
||||
}
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(jsonrpc_messages)
|
||||
{
|
||||
cnote << "Testing jsonrpc messages...";
|
||||
Json::Value msgs = jsonrpcClient->messages(Json::Value());
|
||||
auto messages = web3.ethereum()->messages(dev::eth::MessageFilter());
|
||||
BOOST_CHECK_EQUAL(msgs.isArray(), true);
|
||||
BOOST_CHECK_EQUAL(msgs.size(), messages.size());
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(jsonrpc_number)
|
||||
{
|
||||
cnote << "Testing jsonrpc number...";
|
||||
@ -253,11 +244,9 @@ BOOST_AUTO_TEST_CASE(jsonrpc_transact)
|
||||
jsonrpcServer->setAccounts({});
|
||||
dev::eth::mine(*(web3.ethereum()), 1);
|
||||
auto balance2 = web3.ethereum()->balanceAt(receiver.address());
|
||||
auto messages = jsonrpcClient->messages(Json::Value());
|
||||
|
||||
BOOST_REQUIRE(balance2 > 0);
|
||||
BOOST_CHECK_EQUAL(txAmount, balance2);
|
||||
BOOST_CHECK_EQUAL(txAmount, jsToU256(messages[0u]["value"].asString()));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user