Browse Source

boost_auto_test_suite for jsonrpc && @brief description for WebThreeStubServer

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
8d1ad00648
  1. 5
      libweb3jsonrpc/WebThreeStubServer.h
  2. 6
      test/jsonrpc.cpp

5
libweb3jsonrpc/WebThreeStubServer.h

@ -52,6 +52,11 @@ class Interface;
}
}
/**
* @brief JSON-RPC api implementation
* @todo filters should work on unsigned instead of int
* unsigned are not supported in json-rpc-cpp and there are bugs with double in json-rpc-cpp version 0.2.1
*/
class WebThreeStubServer: public AbstractWebThreeStubServer
{
public:

6
test/jsonrpc.cpp

@ -19,7 +19,7 @@
* @date 2014
*/
#if ETH_JSONRPC && 1
#if ETH_JSONRPC
#include <boost/test/unit_test.hpp>
#include <boost/lexical_cast.hpp>
@ -36,6 +36,8 @@
#include "TestHelper.h"
#include "webthreestubclient.h"
BOOST_AUTO_TEST_SUITE(jsonrpc)
using namespace std;
using namespace dev;
using namespace dev::eth;
@ -243,4 +245,6 @@ BOOST_AUTO_TEST_CASE(jsonrpc_transact)
}
BOOST_AUTO_TEST_SUITE_END()
#endif

Loading…
Cancel
Save