blob: 189ef35768e93fd8a3e118fa1ea1a5bc293d18d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "turns-init.h"
#include <catch2/reporters/catch_reporter_event_listener.hpp>
#include <catch2/reporters/catch_reporter_registrars.hpp>
namespace turns::core::tests
{
struct glib_test_init : Catch::EventListenerBase
{
using Catch::EventListenerBase::EventListenerBase;
auto testRunStarting(Catch::TestRunInfo const &) -> void override
{
turns_init();
}
};
CATCH_REGISTER_LISTENER(glib_test_init);
} // namespace turns::core::tests
|