Browse Source

Test stuff into cpp from header.

Additional debug stuff in cmake.
cl-refactor
Gav Wood 10 years ago
parent
commit
ea043668b4
  1. 1
      cmake/EthDependencies.cmake
  2. 3
      test/TestHelper.cpp
  3. 3
      test/TestHelper.h

1
cmake/EthDependencies.cmake

@ -123,6 +123,7 @@ if (NOT HEADLESS)
message(" - npm location : ${ETH_NPM}") message(" - npm location : ${ETH_NPM}")
find_program(ETH_JSON_RPC_STUB jsonrpcstub) find_program(ETH_JSON_RPC_STUB jsonrpcstub)
message(" - jsonrpcstub location : ${ETH_JSON_RPC_STUB}")
endif() #HEADLESS endif() #HEADLESS

3
test/TestHelper.cpp

@ -64,6 +64,9 @@ void connectClients(Client& c1, Client& c2)
namespace test namespace test
{ {
struct ValueTooLarge: virtual Exception {};
bigint const c_max256plus1 = bigint(1) << 256;
ImportTest::ImportTest(json_spirit::mObject& _o, bool isFiller): m_TestObject(_o) ImportTest::ImportTest(json_spirit::mObject& _o, bool isFiller): m_TestObject(_o)
{ {
importEnv(_o["env"].get_obj()); importEnv(_o["env"].get_obj());

3
test/TestHelper.h

@ -42,9 +42,6 @@ void connectClients(Client& c1, Client& c2);
namespace test namespace test
{ {
struct ValueTooLarge: virtual Exception {};
bigint const c_max256plus1 = bigint(1) << 256;
class ImportTest class ImportTest
{ {
public: public:

Loading…
Cancel
Save