Files
MuditaOS/module-db/tests/tests-main.cpp
Marcin Smoczyński a9cb37d7f4 tests: add proper catch2 handling
Add proper catch2 support:
 - add catch2 as a submodule
 - add cmake function to add test easily
 - discover each test in test binary
 - remove copies of catch.hpp
 - do not try to process tests for rt1051

Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-24 10:38:14 +02:00

12 lines
301 B
C++

/*
* @file tests-main.cpp
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
* @date 08.04.19
* @brief
* @copyright Copyright (C) 2019 mudita.com
* @details
*/
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <catch2/catch.hpp>