2016-10-24 21:44:53 +00:00
|
|
|
if( ECC_IMPL STREQUAL secp256k1 )
|
|
|
|
|
add_executable( blind all_tests.cpp crypto/blind.cpp )
|
|
|
|
|
target_link_libraries( blind fc )
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_executable( task_cancel_test all_tests.cpp thread/task_cancel.cpp )
|
|
|
|
|
target_link_libraries( task_cancel_test fc )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_executable( bloom_test all_tests.cpp bloom_test.cpp )
|
|
|
|
|
target_link_libraries( bloom_test fc )
|
|
|
|
|
|
|
|
|
|
add_executable( hmac_test hmac_test.cpp )
|
|
|
|
|
target_link_libraries( hmac_test fc )
|
|
|
|
|
|
|
|
|
|
add_executable( ecc_test crypto/ecc_test.cpp )
|
|
|
|
|
target_link_libraries( ecc_test fc )
|
|
|
|
|
|
2019-05-23 21:05:05 +00:00
|
|
|
add_executable( ws_test_server ws_test_server.cpp )
|
|
|
|
|
target_link_libraries( ws_test_server fc )
|
|
|
|
|
|
|
|
|
|
add_executable( ws_test_client ws_test_client.cpp )
|
|
|
|
|
target_link_libraries( ws_test_client fc )
|
|
|
|
|
|
2016-10-24 21:44:53 +00:00
|
|
|
#add_executable( test_aes aes_test.cpp )
|
|
|
|
|
#target_link_libraries( test_aes fc ${rt_library} ${pthread_library} )
|
|
|
|
|
#add_executable( test_sleep sleep.cpp )
|
|
|
|
|
#target_link_libraries( test_sleep fc )
|
|
|
|
|
#add_executable( test_rate_limiting rate_limiting.cpp )
|
|
|
|
|
#target_link_libraries( test_rate_limiting fc )
|
|
|
|
|
|
|
|
|
|
add_executable( all_tests all_tests.cpp
|
|
|
|
|
compress/compress.cpp
|
|
|
|
|
crypto/aes_test.cpp
|
2019-09-20 07:27:44 +00:00
|
|
|
crypto/array_initialization_test.cpp
|
2016-10-24 21:44:53 +00:00
|
|
|
crypto/base_n_tests.cpp
|
|
|
|
|
crypto/bigint_test.cpp
|
|
|
|
|
crypto/blind.cpp
|
|
|
|
|
crypto/dh_test.cpp
|
|
|
|
|
crypto/rand_test.cpp
|
|
|
|
|
crypto/sha_tests.cpp
|
2018-03-03 17:40:02 +00:00
|
|
|
io/json_tests.cpp
|
2018-03-03 10:00:21 +00:00
|
|
|
io/stream_tests.cpp
|
2018-03-23 22:34:07 +00:00
|
|
|
io/tcp_test.cpp
|
2018-07-18 15:55:46 +00:00
|
|
|
io/varint_tests.cpp
|
2016-10-24 21:44:53 +00:00
|
|
|
network/http/websocket_test.cpp
|
|
|
|
|
thread/task_cancel.cpp
|
2017-11-09 12:18:58 +00:00
|
|
|
thread/thread_tests.cpp
|
2018-09-27 13:57:46 +00:00
|
|
|
thread/parallel_tests.cpp
|
2016-10-24 21:44:53 +00:00
|
|
|
bloom_test.cpp
|
Improve reflection system and static_variant
Previously, fc reflection generated visitor infrastructure capable of
visiting each field of a struct; however, this is only useful for run-
time operations on structures. No compile-time information was preserved
about the fields of a struct, making compile-time introspection of types
impossible.
Now FC reflection generates rich compile-time information about the
members of structs, including types, names, and structure, allowing
code to be written to explore types in detail at compile-time and fetch
arbitrary fields at runtime without needing to iterate over the unwanted
fields.
To make this a reality, a new `typelist` type was added to store this
compile-time information. This type is also useful within the context of
`static_variant`, as SV previously used implementation detail types in a
private namespace to provide this functionality. Now `static_variant`
uses the reusable functionality of `typelist` to operate, dramatically
reducing the amount of code dedicated to `static_variant` and also
making `static_variant` types more flexible to work with since their
infrastructure is now based on the `typelist` public interface.
2019-07-09 22:00:03 +00:00
|
|
|
reflection_tests.cpp
|
2018-03-11 19:56:45 +00:00
|
|
|
serialization_test.cpp
|
2018-04-09 13:06:02 +00:00
|
|
|
stacktrace_test.cpp
|
2018-01-23 16:58:37 +00:00
|
|
|
time_test.cpp
|
2016-10-24 21:44:53 +00:00
|
|
|
utf8_test.cpp
|
2018-03-22 15:44:11 +00:00
|
|
|
variant_test.cpp
|
2018-07-09 14:17:32 +00:00
|
|
|
logging_tests.cpp
|
2019-05-04 21:57:55 +00:00
|
|
|
api_tests.cpp
|
2016-10-24 21:44:53 +00:00
|
|
|
)
|
|
|
|
|
target_link_libraries( all_tests fc )
|