You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
2 years ago
..
Catch2@dba29b60d6 Update Catch2 to latest to fix build on impish 3 years ago
config Make Default&Required or Required&Hidden compilation failures 2 years ago
crypto Make test code work with new logging 2 years ago
dns DNS message parsing fixes and cleanup 2 years ago
hive fix up pyllarp parts 3 years ago
mocks unit tests 2 years ago
net Fix obsolete oxenmq/hex.h usage 2 years ago
nodedb nodedb refactor 3 years ago
path use weak_ptr on a path to reference its parent pathset instead of a bare pointer so crashes dont happen 3 years ago
peerstats Make test code work with new logging 2 years ago
router Make test code work with new logging 2 years ago
routing replace LLARP_PROTO_VERSION macro 2 years ago
service Fix obsolete oxenmq/hex.h usage 2 years ago
util oxen-logging update to handle level/type parsing exceptions 2 years ago
win32 happy new year 4 years ago
CMakeLists.txt changeset for windows port 2 years ago
check_main.cpp system layer manager (llarp::sys::service_manager) 2 years ago
llarp_test.hpp get rid of the rest of gtest/gmock 3 years ago
readme.md add directory specific readmes 2 years ago
test_llarp_encrypted_frame.cpp generate keys in unit test 3 years ago
test_llarp_router_contact.cpp Make test code work with new logging 2 years ago
test_util.cpp Add tests for crypto/types 5 years ago
test_util.hpp Implement KeyManager tests 4 years ago

readme.md

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.