diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-18 18:46:38 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-18 18:46:38 +0800 |
commit | 1d278d28575866f9d001fea75776fbd61cb2e3ce (patch) | |
tree | dac09adb7015173583560f1957df5d5457d008a1 /rlp.cpp | |
parent | 51a0ca457fa5495d9e4fda387c9f5d3f776a56c4 (diff) | |
parent | 09be38b0c1a7283bae8e84fe41aba8a2b916a608 (diff) | |
download | dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar.gz dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar.bz2 dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar.lz dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar.xz dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.tar.zst dexon-solidity-1d278d28575866f9d001fea75776fbd61cb2e3ce.zip |
Merge branch 'develop' into mk_jsonrpc_upgrade
Conflicts:
alethzero/MainWin.cpp
libweb3jsonrpc/WebThreeStubServer.cpp
libweb3jsonrpc/abstractwebthreestubserver.h
libweb3jsonrpc/spec.json
test/jsonrpc.cpp
test/webthreestubclient.h
Diffstat (limited to 'rlp.cpp')
-rw-r--r-- | rlp.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -29,6 +29,7 @@ #include <boost/test/unit_test.hpp> #include <algorithm> #include "JsonSpiritHeaders.h" +#include "TestHelper.h" using namespace std; using namespace dev; @@ -61,16 +62,8 @@ namespace dev static void getRLPTestCases(js::mValue& v) { - const char* ptestPath = getenv("ETHEREUM_TEST_PATH"); - string testPath; - - if (ptestPath == NULL) - { - cnote << " could not find environment variable ETHEREUM_TEST_PATH \n"; - testPath = "../../../tests"; - } - else - testPath = ptestPath; + string testPath = getTestPath(); + testPath += "/BasicTests"; string s = asString(contents(testPath + "/rlptest.json")); BOOST_REQUIRE_MESSAGE( s.length() > 0, @@ -144,6 +137,7 @@ namespace dev } } +BOOST_AUTO_TEST_SUITE(BasicTests) BOOST_AUTO_TEST_CASE(rlp_encoding_test) { @@ -202,4 +196,5 @@ BOOST_AUTO_TEST_CASE(rlp_decoding_test) } } +BOOST_AUTO_TEST_SUITE_END() |