aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.cpp
diff options
context:
space:
mode:
authorseusher <seusher@live.com>2017-05-18 03:57:55 +0800
committerseusher <seusher@live.com>2017-05-18 03:57:55 +0800
commitd546c2873ae336f2c03db0e6e8386504c6aebe0c (patch)
tree267a939c150276daccbbd7d4a0fedfe26fdcb195 /test/RPCSession.cpp
parentb923196a85dccbc1aed835f19b06d539c483beb1 (diff)
downloaddexon-solidity-d546c2873ae336f2c03db0e6e8386504c6aebe0c.tar.gz
dexon-solidity-d546c2873ae336f2c03db0e6e8386504c6aebe0c.tar.zst
dexon-solidity-d546c2873ae336f2c03db0e6e8386504c6aebe0c.zip
Issue 2279: Log JSON RPC requests and responses when --log_level=message is provided to soltest
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r--test/RPCSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 3ea3b1fe..c4fbfefb 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -316,9 +316,9 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
request += "],\"id\":" + to_string(m_rpcSequence) + "}";
++m_rpcSequence;
- // cout << "Request: " << request << endl;
+ BOOST_TEST_MESSAGE("Request: " + request);
string reply = m_ipcSocket.sendRequest(request);
- // cout << "Reply: " << reply << endl;
+ BOOST_TEST_MESSAGE("Reply: " + reply);
Json::Value result;
BOOST_REQUIRE(Json::Reader().parse(reply, result, false));