oxen-mq/tests
Jason Rhinelander 68c1899cda C++17 changes; replace mapbox with std::variant
Various small C++17 code improvements.

Replace mapbox::variant with std::variant.

Remove the bt_u64 type wrapper; instead we know have `bt_value` which
wraps a variant holding both int64_t and uint64_t, and has contructors
to send signed/unsigned integer types into the appropriate one.
lokimq::get_int checks both as appropriate during extraction.

As a side effect this means we no longer do the uint64_t -> int64_t
conversion on the wire, ever, without needing the wrapper; although this
can break older versions sending large positive integers (i.e. larger
than int64_t max) those weren't actually working completely reliably
with mapbox variant anyway, and the one place using such a value in loki
core (in a checksum) is already fully upgraded across the network
(currently using bt_u64, but always sending a positive value on the
wire).
2020-05-14 20:19:43 -03:00
..
Catch2@b3b07215d1 Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
CMakeLists.txt C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00
common.h 1.1.0: invocation-time SN auth; failure responses 2020-04-12 19:57:19 -03:00
main.cpp Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
test_address.cpp Add address parsing/generating class 2020-05-08 21:42:16 -03:00
test_batch.cpp Add more locks around assertions 2020-03-21 12:56:13 -03:00
test_commands.cpp Silence c++17 warnings from cppzmq 2020-05-12 15:47:22 -03:00
test_connect.cpp Require C++17 2020-05-12 15:33:59 -03:00
test_encoding.cpp Add it pair versions of {to,from}_{hex,base32z,base64} 2020-05-13 14:47:01 -03:00
test_failures.cpp Silence c++17 warnings from cppzmq 2020-05-12 15:47:22 -03:00
test_requests.cpp Test suite timing tweaks 2020-04-14 17:40:41 -03:00