diff --git a/src/Makefile.test.include b/src/Makefile.test.include --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -8,14 +8,14 @@ TEST_BINARY=test/test_bitcoin$(EXEEXT) JSON_TEST_FILES = \ - test/data/script_tests.json \ - test/data/base58_keys_valid.json \ test/data/base58_encode_decode.json \ - test/data/base58_keys_invalid.json \ test/data/blockfilters.json \ + test/data/key_io_valid.json \ + test/data/key_io_invalid.json \ + test/data/script_tests.json \ + test/data/sighash.json \ test/data/tx_invalid.json \ - test/data/tx_valid.json \ - test/data/sighash.json + test/data/tx_valid.json RAW_TEST_FILES = @@ -71,6 +71,7 @@ test/hash_tests.cpp \ test/inv_tests.cpp \ test/jsonutil.h \ + test/key_io_tests.cpp \ test/key_tests.cpp \ test/lcg_tests.cpp \ test/lcg.h \ diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -30,14 +30,14 @@ endfunction() gen_json_header(JSON_HEADERS - data/script_tests.json - data/base58_keys_valid.json data/base58_encode_decode.json - data/base58_keys_invalid.json data/blockfilters.json + data/key_io_valid.json + data/key_io_invalid.json + data/script_tests.json + data/sighash.json data/tx_invalid.json data/tx_valid.json - data/sighash.json ) include(TestSuite) @@ -84,6 +84,7 @@ hash_tests.cpp inv_tests.cpp jsonutil.cpp + key_io_tests.cpp key_tests.cpp lcg_tests.cpp limitedmap_tests.cpp diff --git a/src/test/base58_tests.cpp b/src/test/base58_tests.cpp --- a/src/test/base58_tests.cpp +++ b/src/test/base58_tests.cpp @@ -2,21 +2,12 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include - -#include // For Params() -#include -#include -#include