lokinet/test
Jason Rhinelander f9db657f64
Make Default&Required or Required&Hidden compilation failures
Default & Required makes no sense: if we have a default it makes no
sense to make it required.  The previous behaviour when this was
specified was to force an (uncommented) value in the config with the
value, but this was only used in the test suite.

Required & Hidden makes no sense either: if it's required to be
specified we definitely don't want to hide it from the generated config
file.

These are now compile-time failures.
2022-11-15 13:15:54 -04:00
..
Catch2@dba29b60d6 Update Catch2 to latest to fix build on impish 2021-10-17 16:30:43 -03:00
config Make Default&Required or Required&Hidden compilation failures 2022-11-15 13:15:54 -04:00
crypto Make test code work with new logging 2022-07-18 12:59:13 -03:00
dns DNS message parsing fixes and cleanup 2022-07-20 16:50:38 -03:00
hive fix up pyllarp parts 2021-03-02 07:20:29 -05:00
mocks unit tests 2022-09-08 14:25:01 -04:00
net Fix obsolete oxenmq/hex.h usage 2022-10-06 14:29:50 -03:00
nodedb nodedb refactor 2021-02-02 09:35:40 -05:00
path use weak_ptr on a path to reference its parent pathset instead of a bare pointer so crashes dont happen 2021-06-08 14:36:32 -04:00
peerstats Make test code work with new logging 2022-07-18 12:59:13 -03:00
router Make test code work with new logging 2022-07-18 12:59:13 -03:00
routing replace LLARP_PROTO_VERSION macro 2022-05-28 13:18:43 -04:00
service Fix obsolete oxenmq/hex.h usage 2022-10-06 14:29:50 -03:00
util oxen-logging update to handle level/type parsing exceptions 2022-07-19 13:39:00 -03:00
win32 happy new year 2020-01-05 20:40:34 -06:00
check_main.cpp system layer manager (llarp::sys::service_manager) 2022-11-01 11:04:58 -04:00
CMakeLists.txt changeset for windows port 2022-09-08 14:24:59 -04:00
llarp_test.hpp get rid of the rest of gtest/gmock 2021-03-04 15:41:53 -05:00
readme.md add directory specific readmes 2022-07-26 09:26:28 -04:00
test_llarp_encrypted_frame.cpp generate keys in unit test 2021-03-04 15:46:12 -05:00
test_llarp_router_contact.cpp Make test code work with new logging 2022-07-18 12:59:13 -03:00
test_util.cpp
test_util.hpp Implement KeyManager tests 2019-12-09 12:29:33 -07:00

unit tests and such

to enable unit tests, add cmake flag -DWITH_TESTS=ON

unit tests can be built and run with the check target.