aboutsummaryrefslogtreecommitdiffstats
path: root/jsonrpc.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-23 18:22:04 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-23 18:22:04 +0800
commit1e65540b0cf57de5dc501fc52cc303ffadc33d02 (patch)
tree0d4ad4b792c51d2ad0c52fad2de802f35d2685b2 /jsonrpc.cpp
parentea2c6a0ab42a52fef04a1e7c09a4d79ab8c7411a (diff)
downloaddexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar.gz
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar.bz2
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar.lz
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar.xz
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.tar.zst
dexon-solidity-1e65540b0cf57de5dc501fc52cc303ffadc33d02.zip
removed outdated tests
Diffstat (limited to 'jsonrpc.cpp')
-rw-r--r--jsonrpc.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/jsonrpc.cpp b/jsonrpc.cpp
index 9644c999..1320846d 100644
--- a/jsonrpc.cpp
+++ b/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()));
}
}