forked from boostorg/mqtt5
Summary: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901257 Resolves T12899 Reviewers: ivica Reviewed By: ivica Subscribers: korina Maniphest Tasks: T12899 Differential Revision: https://repo.mireo.local/D26414
23 lines
584 B
C++
23 lines
584 B
C++
#include <boost/test/included/unit_test.hpp>
|
|
|
|
#include <test_common/protocol_logging.hpp>
|
|
|
|
boost::unit_test::test_suite* init_tests(
|
|
int /*argc*/, char* /*argv*/[]
|
|
) {
|
|
async_mqtt5::test::logging_enabled() = true;
|
|
return nullptr;
|
|
}
|
|
|
|
int main(int argc, char* argv[]) {
|
|
return boost::unit_test::unit_test_main(&init_tests, argc, argv);
|
|
}
|
|
|
|
/*
|
|
* usage: ./mqtt-test [boost test --arg=val]*
|
|
* example: ./mqtt-test --log_level=test_suite
|
|
*
|
|
* all boost test parameters can be found here:
|
|
* https://www.boost.org/doc/libs/1_82_0/libs/test/doc/html/boost_test/runtime_config/summary.html
|
|
*/
|